X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FOE.pm;h=6648e22428b36433bc7ff2b4989811a993f0ae00;hb=947583f50e01c950349274b6707702293f6c495a;hp=bdff8cb6bec5af5e44d5a8a19869c1b4c92b006b;hpb=0f790bed1d8bbb846c1a5d835abef897edb80d8d;p=kivitendo-erp.git diff --git a/SL/OE.pm b/SL/OE.pm index bdff8cb6b..6648e2242 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -1218,8 +1218,7 @@ sub order_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"}) {