[freeside-commits] freeside/FS/FS/ClientAPI MyAccount.pm, 1.133.2.12, 1.133.2.13
Ivan,,,
ivan at wavetail.420.am
Thu Sep 29 21:30:26 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv13476
Modified Files:
Tag: FREESIDE_2_3_BRANCH
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.133.2.12
retrieving revision 1.133.2.13
diff -u -w -d -r1.133.2.12 -r1.133.2.13
--- MyAccount.pm 30 Sep 2011 03:01:46 -0000 1.133.2.12
+++ MyAccount.pm 30 Sep 2011 04:30:24 -0000 1.133.2.13
@@ -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