Revision 3defabe6
Von Andreas Rudin vor mehr als 6 Jahren hinzugefügt
SL/DB/Helper/FlattenToForm.pm | ||
---|---|---|
36 | 36 |
$form->{vc} = $vc if ref($self) =~ m{^SL::DB::(?:.*Invoice|.*Order)}; |
37 | 37 |
|
38 | 38 |
my @vc_fields = (qw(account_number bank bank_code bic business city contact country creditlimit |
39 |
department_1 department_2 discount email fax gln homepage iban language name |
|
39 |
department_1 department_2 discount email fax gln greeting homepage iban language name
|
|
40 | 40 |
phone street taxnumber ustid zipcode), |
41 | 41 |
"${vc}number", |
42 | 42 |
($vc eq 'customer')? 'c_vendor_id': 'v_customer_id'); |
Auch abrufbar als: Unified diff
Added greeting to "my @vc_fields" in flatten_to_form to be able to use the greeting variable in periodic invoices_