Neue Variable p_discount = Rabattprozente pro Position fuer Rechnungen, Auftraege...
authorPhilip Reetz <p.reetz@linet-services.de>
Mon, 16 Jan 2006 14:57:19 +0000 (14:57 +0000)
committerPhilip Reetz <p.reetz@linet-services.de>
Mon, 16 Jan 2006 14:57:19 +0000 (14:57 +0000)
SL/IS.pm
SL/OE.pm

index 14f375a..484dcb9 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -167,6 +167,7 @@ sub invoice_details {
       $linetotal = ($linetotal != 0) ? $linetotal : " ";
 
       push(@{ $form->{discount} }, $discount);
+      push(@{ $form->{p_discount} }, $form->{"discount_$i"});
 
       $form->{total} += $linetotal;
 
index 4e16ed5..04c7c49 100644 (file)
--- a/SL/OE.pm
+++ b/SL/OE.pm
@@ -919,6 +919,7 @@ sub order_details {
       $linetotal = ($linetotal != 0) ? $linetotal : " ";
 
       push(@{ $form->{discount} }, $discount);
+      push(@{ $form->{p_discount} }, $form->{"discount_$i"});
 
       $form->{ordtotal} += $linetotal;