Revision 27eb5ad2
Von Udo Spallek vor fast 19 Jahren hinzugefügt
SL/AP.pm | ||
---|---|---|
116 | 116 |
} else { |
117 | 117 |
if (!$form->{"korrektur_$i"}) { |
118 | 118 |
$form->{"tax_$i"} = $form->{"amount_$i"} * $form->{"taxrate_$i"}; |
119 |
} else { |
|
120 |
$tax = $form->{"tax_$i"}; |
|
119 | 121 |
} |
120 | 122 |
$form->{"tax_$i"} = |
121 | 123 |
$form->round_amount($form->{"tax_$i"} * $form->{exchangerate}, 2); |
122 | 124 |
$form->{netamount} += $form->{"amount_$i"}; |
123 | 125 |
} |
124 |
$form->{total_tax} += $form->{"tax_$i"}; |
|
126 |
$form->{total_tax} += $form->{"tax_$i"} * -1;
|
|
125 | 127 |
} |
126 | 128 |
|
127 | 129 |
# adjust paidaccounts if there is no date in the last row |
Auch abrufbar als: Unified diff
Fixed Bug 327.