Revision de760941
Von Moritz Bunkus vor fast 10 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
70 | 70 |
_copy($item->project, $form, 'project', "_${idx}", 0, qw(number description)) if _has($item, 'project_id'); |
71 | 71 |
|
72 | 72 |
_copy_custom_variables($item, $form, 'ic_cvar_', "_${idx}"); |
73 |
|
|
74 |
if (ref($self) eq 'SL::DB::Invoice') { |
|
75 |
$form->{"deliverydate_oe_${idx}"} = $item->deliverydate->to_lxoffice; |
|
76 |
$form->{"reqdate_${idx}"} = $item->deliverydate->to_lxoffice; |
|
77 |
} |
|
73 | 78 |
} |
74 | 79 |
|
75 | 80 |
_copy_custom_variables($self, $form, 'vc_cvar_', ''); |
Auch abrufbar als: Unified diff
FlattenToForm: in Rechnungen Positions-reqdate als reqdate & deliverydate_oe bereitstellen
So macht es IS.pm nämlich auch.