Revision f337e7b6
Von Jan Büren vor 11 Monaten hinzugefügt
SL/DB/Helper/SalesPurchaseInvoice.pm | ||
---|---|---|
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 |
: $transaction->chart_link =~ m/(${ARAP}_amount|IC_cogs)/ ? 'netamount' |
|
19 |
: $transaction->chart_link =~ m/(${ARAP}_amount|IC_cogs|IC)/ ? 'netamount'
|
|
20 | 20 |
: undef; |
21 | 21 |
if ($tax_or_netamount eq 'netamount') { |
22 | 22 |
$tax_and_amount_by_tax_id->{ $transaction->tax->chart_id }->{$tax_or_netamount} ||= 0; |
Auch abrufbar als: Unified diff
Skonto-Automatik bei Banktransaktionen: IC ist netto Konto | Fehler werfen