From: Andreas Rudin Date: Sat, 21 Jul 2018 08:56:53 +0000 (+0200) Subject: Added greeting to "my @vc_fields" in flatten_to_form to be able to use the greeting... X-Git-Tag: release-3.5.4~348 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3defabe6d3011c83298d4415672ed5d32ccab95c;p=kivitendo-erp.git Added greeting to "my @vc_fields" in flatten_to_form to be able to use the greeting variable in periodic invoices_ --- diff --git a/SL/DB/Helper/FlattenToForm.pm b/SL/DB/Helper/FlattenToForm.pm index ddc5f0696..920bdf2e8 100644 --- a/SL/DB/Helper/FlattenToForm.pm +++ b/SL/DB/Helper/FlattenToForm.pm @@ -36,7 +36,7 @@ sub flatten_to_form { $form->{vc} = $vc if ref($self) =~ m{^SL::DB::(?:.*Invoice|.*Order)}; my @vc_fields = (qw(account_number bank bank_code bic business city contact country creditlimit - department_1 department_2 discount email fax gln homepage iban language name + department_1 department_2 discount email fax gln greeting homepage iban language name phone street taxnumber ustid zipcode), "${vc}number", ($vc eq 'customer')? 'c_vendor_id': 'v_customer_id');