X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FOE.pm;h=fe293612a0002e928b0390ff40f64bc710e0adbd;hb=9de83d1a34f29dbf2f0ea4f2b4230913461c05db;hp=a4d9a2905e1fee8bcb20d910487df987199d83fa;hpb=0af7a3a57559268dba5c22e1e6a64100622d9d1d;p=kivitendo-erp.git diff --git a/SL/OE.pm b/SL/OE.pm index a4d9a2905..fe293612a 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -995,6 +995,7 @@ sub order_details { $form->{discount} = []; + $form->{TEMPLATE_ARRAYS} = { }; IC->prepare_parts_for_printing(); my $ic_cvar_configs = CVar->get_configs(module => 'IC'); @@ -1010,7 +1011,7 @@ sub order_details { my @tax_arrays = qw(taxbase tax taxdescription taxrate taxnumber); - $form->{TEMPLATE_ARRAYS} = { map { $_ => [] } (@arrays, @tax_arrays) }; + map { $form->{TEMPLATE_ARRAYS}->{$_} = [] } (@arrays, @tax_arrays); my $sameitem = ""; foreach $item (sort { $a->[1] cmp $b->[1] } @partsgroup) {