]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/OE.pm
Neue Variable p_discount = Rabattprozente pro Position fuer Rechnungen, Auftraege...
[kivitendo-erp.git] / SL / OE.pm
index 4e16ed5f18c11aa9dd8b99b9e2c469abad2a4c3b..04c7c499d31a2cb43e63dd68ab47b14b308549b3 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;