Revision bf5ce652
Von Bernd Bleßmann vor mehr als 11 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
62 | 62 |
$form->{"id_${idx}"} = $item->parts_id; |
63 | 63 |
$form->{"partnumber_${idx}"} = $item->part->partnumber; |
64 | 64 |
$form->{"weight_${idx}"} = $item->part->weight; |
65 |
$form->{"partsgroup_${idx}"} = $item->part->partsgroup->partsgroup if _has($item->part, 'partsgroup_id'); |
|
66 |
_copy($item->part, $form, '', "_${idx}", $format_amounts, qw(listprice)); |
|
65 | 67 |
_copy($item, $form, '', "_${idx}", 0, qw(description project_id ship serialnumber pricegroup_id ordnumber cusordnumber unit |
66 | 68 |
subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate)); |
67 | 69 |
_copy($item, $form, '', "_${idx}", $format_amounts, qw(qty sellprice marge_total marge_percent lastcost)); |
Auch abrufbar als: Unified diff
flatten_to_form: auch Listenpreis und Warengruppe berücksichtigen.