From: Moritz Bunkus Date: Tue, 25 Jan 2011 10:48:07 +0000 (+0100) Subject: Flatten to form: Artikelnummer in richtige Variable stecken X-Git-Tag: release-2.6.3~61^2~7^2~1^2~2^2~3 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e65e019e03382642271f98ab1b60423765a03a49;p=kivitendo-erp.git Flatten to form: Artikelnummer in richtige Variable stecken --- 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));