Revision c1f307ca
Von Jan Büren vor mehr als 12 Jahren hinzugefügt
SL/DATEV.pm | ||
---|---|---|
429 | 429 |
if ( !$ref->{invoice} # we have a non-invoice booking (=gl) |
430 | 430 |
&& $ref->{is_tax} # that has "is_tax" set |
431 | 431 |
&& !($prev_ref->{is_tax}) # previous line wasn't is_tax |
432 |
&& (_sign($ref->{amount}) == _sign($prev_ref->{amount}))) # and sign same as previous sign |
|
433 |
{ |
|
432 |
&& (_sign($ref->{amount}) == _sign($prev_ref->{amount}))) { # and sign same as previous sign |
|
434 | 433 |
$trans->[$i - 1]->{tax_amount} = $ref->{amount}; |
435 | 434 |
} |
436 | 435 |
} |
Auch abrufbar als: Unified diff
Kosmetik - Formatierung vereinheitlicht