projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a69cdf
)
Added greeting to "my @vc_fields" in flatten_to_form to be able to use the greeting...
author
Andreas Rudin
<andreas.rudin@revamp-it.ch>
Sat, 21 Jul 2018 08:56:53 +0000
(10:56 +0200)
committer
Andreas Rudin
<andreas.rudin@revamp-it.ch>
Sat, 21 Jul 2018 08:56:53 +0000
(10:56 +0200)
SL/DB/Helper/FlattenToForm.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Helper/FlattenToForm.pm
b/SL/DB/Helper/FlattenToForm.pm
index
ddc5f06
..
920bdf2
100644
(file)
--- 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');