[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.145, 1.146

Ivan,,, ivan at wavetail.420.am
Thu Sep 29 21:30:24 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv13471

Modified Files:
	MyAccount.pm 
Log Message:
fix customer_info name, RT#13656

Index: MyAccount.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MyAccount.pm,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -w -d -r1.145 -r1.146
--- MyAccount.pm	30 Sep 2011 03:01:42 -0000	1.145
+++ MyAccount.pm	30 Sep 2011 04:30:21 -0000	1.146
@@ -387,8 +387,8 @@
                       ( $session->{'pkgnum'} ? 1 : 0 ), #nobalance
                     );
 
-    $return{name} = $cust_main->name;
-    $return{ship_name} = $cust_main->ship_name;
+    $return{name} = $cust_main->first. ' '. $cust_main->get('last');
+    $return{ship_name} = $cust_main->ship_first. ' '. $cust_main->get('ship_last');
 
     for (@cust_main_editable_fields) {
       $return{$_} = $cust_main->get($_);
@@ -477,8 +477,8 @@
                       1, ##nobalance
                     );
 
-    $return{name} = $cust_main->name;
-    $return{ship_name} = $cust_main->ship_name;
+    $return{name} = $cust_main->first. ' '. $cust_main->get('last');
+    $return{ship_name} = $cust_main->ship_first. ' '. $cust_main->get('ship_last');
 
     $return{payby} = $cust_main->payby;
 



More information about the freeside-commits mailing list