]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/IS.pm
Neue Variable p_discount = Rabattprozente pro Position fuer Rechnungen, Auftraege...
[kivitendo-erp.git] / SL / IS.pm
index 14f375a1f25c593aa42925ac1d68d8835a23bf63..484dcb9d086cf44664d2b75c27d92d026a589e8d 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;