Revision f6a5acf0
Von Moritz Bunkus vor fast 18 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
1141 | 1141 |
$form->format_amount($myconfig, $form->{"${item}_rate"} * 100)); |
1142 | 1142 |
push(@{ $form->{taxnumber} }, $form->{"${item}_taxnumber"}); |
1143 | 1143 |
} |
1144 |
if($form->{taxincluded}) { |
|
1145 |
$form->{subtotal} = $form->format_amount($myconfig, $form->{total} - $tax, 2); |
|
1146 |
} |
|
1147 |
else { |
|
1148 |
$form->{subtotal} = $form->format_amount($myconfig, $form->{total}, 2); |
|
1149 |
} |
|
1150 | 1144 |
$yesdiscount = $form->{nodiscount_total} - $nodiscount; |
1151 | 1145 |
$form->{nodiscount_subtotal} = $form->format_amount($myconfig, $form->{nodiscount_total}, 2); |
1152 | 1146 |
$form->{discount_total} = $form->format_amount($myconfig, $form->{discount_total}, 2); |
Auch abrufbar als: Unified diff
Doppelte Zeilen entfernt.