From f6a5acf0e925ad610d2987919557e828cbff090d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 3 Apr 2007 14:11:07 +0000 Subject: [PATCH] Doppelte Zeilen entfernt. --- SL/OE.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SL/OE.pm b/SL/OE.pm index 5f1c6ce45..0c14f177f 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -1141,12 +1141,6 @@ sub order_details { $form->format_amount($myconfig, $form->{"${item}_rate"} * 100)); push(@{ $form->{taxnumber} }, $form->{"${item}_taxnumber"}); } - if($form->{taxincluded}) { - $form->{subtotal} = $form->format_amount($myconfig, $form->{total} - $tax, 2); - } - else { - $form->{subtotal} = $form->format_amount($myconfig, $form->{total}, 2); - } $yesdiscount = $form->{nodiscount_total} - $nodiscount; $form->{nodiscount_subtotal} = $form->format_amount($myconfig, $form->{nodiscount_total}, 2); $form->{discount_total} = $form->format_amount($myconfig, $form->{discount_total}, 2); -- 2.39.5