Revision fa5bb005
Von Bernd Bleßmann vor etwa 9 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
65 | 65 |
$idx++; |
66 | 66 |
|
67 | 67 |
$form->{"partsgroup_${idx}"} = $item->part->partsgroup->partsgroup if _has($item->part, 'partsgroup_id'); |
68 |
_copy($item, $form, "${items_name}_", "_${idx}", 0, qw(id)) if $items_name;
|
|
69 |
_copy($item->part, $form, '', "_${idx}", 0, qw(id partnumber weight)); |
|
70 |
_copy($item->part, $form, '', "_${idx}", 0, qw(listprice)); |
|
71 |
_copy($item, $form, '', "_${idx}", 0, qw(description project_id ship serialnumber pricegroup_id ordnumber donumber cusordnumber unit |
|
72 |
subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate |
|
73 |
active_price_source active_discount_source)); |
|
74 |
_copy($item, $form, '', "_${idx}", $format_noround, qw(qty sellprice)); |
|
75 |
_copy($item, $form, '', "_${idx}", $format_amounts, qw(marge_total marge_percent lastcost)); |
|
76 |
_copy($item, $form, '', "_${idx}", $format_percent, qw(discount)); |
|
77 |
_copy($item->project, $form, 'project', "_${idx}", 0, qw(number description)) if _has($item, 'project_id'); |
|
68 |
_copy($item, $form, "${items_name}_", "_${idx}", 0, qw(id)) if $items_name;
|
|
69 |
_copy($item->part, $form, '', "_${idx}", 0, qw(id partnumber weight));
|
|
70 |
_copy($item->part, $form, '', "_${idx}", 0, qw(listprice));
|
|
71 |
_copy($item, $form, '', "_${idx}", 0, qw(description project_id ship serialnumber pricegroup_id ordnumber donumber cusordnumber unit
|
|
72 |
subtotal longdescription price_factor_id marge_price_factor approved_sellprice reqdate transdate
|
|
73 |
active_price_source active_discount_source));
|
|
74 |
_copy($item, $form, '', "_${idx}", $format_noround, qw(qty sellprice));
|
|
75 |
_copy($item, $form, '', "_${idx}", $format_amounts, qw(marge_total marge_percent lastcost));
|
|
76 |
_copy($item, $form, '', "_${idx}", $format_percent, qw(discount));
|
|
77 |
_copy($item->project, $form, 'project', "_${idx}", 0, qw(number description)) if _has($item, 'project_id');
|
|
78 | 78 |
|
79 | 79 |
_copy_custom_variables($item, $form, 'ic_cvar_', "_${idx}"); |
80 | 80 |
|
Auch abrufbar als: Unified diff
Kosmetik