Revision 79cc78ca
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
16 | 16 |
|
17 | 17 |
_copy($self, $form, '', '', 0, qw(id type taxzone_id ordnumber quonumber invnumber donumber cusordnumber taxincluded shippingpoint shipvia notes intnotes curr cp_id |
18 | 18 |
employee_id salesman_id closed department_id language_id payment_id delivery_customer_id delivery_vendor_id shipto_id proforma |
19 |
globalproject_id delivered transaction_description container_type accepted_by_customer orddate quodate reqdate gldate duedate deliverydate
|
|
20 |
datepaid invoice terms storno storno_id dunning_config_id));
|
|
19 |
globalproject_id delivered transaction_description container_type accepted_by_customer invoice terms storno storno_id dunning_config_id
|
|
20 |
orddate quodate reqdate gldate duedate deliverydate datepaid transdate));
|
|
21 | 21 |
|
22 | 22 |
if (_has($self, 'transdate')) { |
23 | 23 |
my $transdate_idx = ref($self) eq 'SL::DB::Order' ? ($self->quotation ? 'quodate' : 'orddate') |
... | ... | |
26 | 26 |
$form->{$transdate_idx} = $self->transdate->to_lxoffice; |
27 | 27 |
} |
28 | 28 |
|
29 |
$self->{vc} = $vc if ref($self) =~ /^SL::DB::.*Invoice/; |
|
30 |
|
|
29 | 31 |
_copy($self, $form, '', '', 1, qw(amount netamount marge_total marge_percent container_remaining_weight container_remaining_volume |
30 | 32 |
paid)); |
31 | 33 |
_copy($self->$vc, $form, "${vc}_", '', 0, map { $_->name } ref($self->$vc)->meta->columns); |
Auch abrufbar als: Unified diff
Mehr Felder setzen (bessere Kompatibilität mit älterem Lx-Office-Code)