X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIS.pm;h=266e05299d38ade7504d30c309fcd712fe7b88cc;hb=a8814e0ef7175fef00ba18195ba2d457095b96ad;hp=82226ee52bf1112dde317c7eee6d8030c3a747e7;hpb=3ff5da55d203a1ac5dbd269737577f0abeb424e0;p=kivitendo-erp.git diff --git a/SL/IS.pm b/SL/IS.pm index 82226ee52..266e05299 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -258,8 +258,7 @@ sub invoice_details { $subtotal_header = 0; } else { - push @{ $form->{TEMPLATE_ARRAYS}->{discount_sub} }, ""; - push @{ $form->{TEMPLATE_ARRAYS}->{nodiscount_sub} }, ""; + push @{ $form->{TEMPLATE_ARRAYS}->{$_} }, "" for qw(discount_sub nodiscount_sub discount_sub_nofmt nodiscount_sub_nofmt); } if (!$form->{"discount_$i"}) {