From c74b01dd6d1e7236c034d907ff999b7121710bf9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 15 Jun 2016 16:31:41 +0200 Subject: [PATCH] =?utf8?q?FlattenToForm:=20Information,=20ob=20das=20item?= =?utf8?q?=20ein=20Erzeugnis=20ist,=20ber=C3=BCcksichtigen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Damit klappt das Drucken mit Stücklisten-Information im neuen Auftrags-Controller, beim Massenrechnungsdruck und beim autom. Drucken wiederkehrender Rechnungen. --- SL/DB/Helper/FlattenToForm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index 424840f79..a0daf4491 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -75,7 +75,7 @@ sub flatten_to_form { $form->{"partsgroup_${idx}"} = $item->part->partsgroup->partsgroup if _has($item->part, 'partsgroup_id'); _copy($item, $form, "${items_name}_", "_${idx}", 0, qw(id)) if $items_name; - _copy($item->part, $form, '', "_${idx}", 0, qw(id partnumber weight)); + _copy($item->part, $form, '', "_${idx}", 0, qw(id partnumber weight assembly)); _copy($item->part, $form, '', "_${idx}", 0, qw(listprice)); _copy($item, $form, '', "_${idx}", 0, qw(description project_id ship serialnumber pricegroup_id ordnumber donumber cusordnumber unit subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate -- 2.20.1