X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/8d8bcfb58757551f46a362230274a1248277af5f..eb8e38d2a0a461b1b954a49ba2aeac81e0e85ec1:/SL/IS.pm 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"}) {