Revision 6cdf91d3
Von Bernd Bleßmann vor mehr als 11 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
31 | 31 |
|
32 | 32 |
my @vc_fields = (qw(account_number bank bank_code bic business city contact country creditlimit discount |
33 | 33 |
email fax homepage iban language name payment_terms phone street taxnumber zipcode), |
34 |
"${vc}number"); |
|
34 |
"${vc}number", |
|
35 |
($vc eq 'customer')? 'c_vendor_id': 'v_customer_id'); |
|
35 | 36 |
my @vc_prefixed_fields = qw(email fax notes number phone); |
36 | 37 |
|
37 | 38 |
_copy($self, $form, '', '', 1, qw(amount netamount marge_total marge_percent container_remaining_weight container_remaining_volume paid)); |
Auch abrufbar als: Unified diff
flatten_to_form: auch c_vendor_id bzw. v_customer_id berücksichtigen.