Revision 1d5ae34b
Von Jan Büren vor fast 2 Jahren hinzugefügt
SL/DB/Helper/SalesPurchaseInvoice.pm | ||
---|---|---|
14 | 14 |
|
15 | 15 |
foreach my $transaction (@{ $self->transactions }) { |
16 | 16 |
next if $transaction->chart_link =~ m/(^${ARAP}$|paid)/; |
17 |
|
|
17 |
next unless $transaction->chart_link; |
|
18 | 18 |
my $tax_or_netamount = $transaction->chart_link =~ m/tax/ ? 'tax' |
19 | 19 |
: $transaction->chart_link =~ m/(${ARAP}_amount|IC_cogs)/ ? 'netamount' |
20 | 20 |
: undef; |
Auch abrufbar als: Unified diff
Nicht alle Charts müssen Links haben (bspw. gain_loss)