Revision 852b9cc9
Von Jan Büren vor 11 Monaten hinzugefügt
SL/DB/Helper/SalesPurchaseInvoice.pm | ||
---|---|---|
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'
|
||
: $transaction->chart_link =~ m/(${ARAP}_amount|IC_cogs|IC)/ ? 'netamount'
|
||
: undef;
|
||
if ($tax_or_netamount eq 'netamount') {
|
||
$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