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