Revision 02aab73f
Von Thomas Kasulke vor fast 18 Jahren hinzugefügt
SL/IS.pm | ||
---|---|---|
382 | 382 |
$form->{paid} += $form->parse_amount($myconfig, $form->{"paid_$i"}); |
383 | 383 |
} |
384 | 384 |
} |
385 |
|
|
386 |
$form->{subtotal} = $form->format_amount($myconfig, $form->{total}, 2); |
|
385 |
if($form->{taxincluded}) { |
|
386 |
$form->{subtotal} = $form->format_amount($myconfig, $form->{total} - $tax, 2); |
|
387 |
} |
|
388 |
else { |
|
389 |
$form->{subtotal} = $form->format_amount($myconfig, $form->{total}, 2); |
|
390 |
} |
|
387 | 391 |
$yesdiscount = $form->{nodiscount_total} - $nodiscount; |
388 | 392 |
$form->{nodiscount_subtotal} = $form->format_amount($myconfig, $form->{nodiscount_total}, 2); |
389 | 393 |
$form->{discount_total} = $form->format_amount($myconfig, $form->{discount_total}, 2); |
Auch abrufbar als: Unified diff
Nettobeträge bei taxincluded auf Druckvorschau angepasst (Bug 576)