projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ca75ecc
)
Don't default 'payname' to first/last name if paying by check. (#15819)
author
Mike Robinson
<miker@freeside.biz>
Wed, 25 Apr 2012 21:59:55 +0000
(16:59 -0500)
committer
Mike Robinson
<miker@freeside.biz>
Wed, 25 Apr 2012 21:59:55 +0000
(16:59 -0500)
In this case, 'payname' is the name of the financial institution and
there is no default.
FS/FS/ClientAPI/MyAccount.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MyAccount.pm
b/FS/FS/ClientAPI/MyAccount.pm
index
7bc3011
..
e9394e4
100644
(file)
--- a/
FS/FS/ClientAPI/MyAccount.pm
+++ b/
FS/FS/ClientAPI/MyAccount.pm
@@
-729,7
+729,7
@@
sub payment_info {
$return{payinfo2} = $payinfo2;
$return{paytype} = $cust_main->paytype;
$return{paystate} = $cust_main->paystate;
-
+ $return{payname} = $cust_main->payname; # override 'first/last name' default from above, if any. Is instution-name here. (#15819)
}
if ( $conf->config('prepayment_discounts-credit_type') ) {