From b005945901f69ed299f94049d5f0fff7f3ad074e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 22 Jul 2009 17:27:24 +0200 Subject: [PATCH] =?utf8?q?Beim=20Ausdrucken=20von=20Angeboten/Auftr=C3=A4g?= =?utf8?q?en=20nicht=20die=20Lieferanteninformationen=20der=20Artikel=20gl?= =?utf8?q?eich=20nach=20dem=20Auslesen=20wieder=20=C3=BCberschreiben.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/OE.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.20.1