[freeside-commits] branch master updated. 62939905ff73736ea366791726e3372f59f274a9

Mike Robinson miker at 420.am
Wed Apr 25 15:00:06 PDT 2012


The branch, master has been updated
       via  62939905ff73736ea366791726e3372f59f274a9 (commit)
      from  ca75ecc26c0e37dd951621de436bd74f581aa88f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 62939905ff73736ea366791726e3372f59f274a9
Author: Mike Robinson <miker at freeside.biz>
Date:   Wed Apr 25 16:59:55 2012 -0500

    Don't default 'payname' to first/last name if paying by check. (#15819)
    
    In this case, 'payname' is the name of the financial institution and
    there is no default.

diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 7bc3011..e9394e4 100644
--- 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') ) {

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/ClientAPI/MyAccount.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list