From e65e019e03382642271f98ab1b60423765a03a49 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 25 Jan 2011 11:48:07 +0100 Subject: [PATCH] Flatten to form: Artikelnummer in richtige Variable stecken --- SL/DB/Helper/FlattenToForm.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index 35480d4d9..5af4bc3b1 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -56,8 +56,8 @@ sub flatten_to_form { $idx++; - $form->{"id_${idx}"} = $item->parts_id; - $form->{"number_${idx}"} = $item->part->partnumber; + $form->{"id_${idx}"} = $item->parts_id; + $form->{"partnumber_${idx}"} = $item->part->partnumber; _copy($item, $form, '', "_${idx}", 0, qw(description project_id ship serialnumber pricegroup_id ordnumber cusordnumber unit subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate)); _copy($item, $form, '', "_${idx}", $format_amounts, qw(qty sellprice marge_total marge_percent lastcost)); -- 2.20.1