[freeside-commits] freeside/FS/FS access_user.pm, 1.25.2.1, 1.25.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Aug 9 10:23:05 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv19382
Modified Files:
Tag: FREESIDE_1_9_BRANCH
access_user.pm
Log Message:
return username as a name lable for "Lastname, Firstname" employees
Index: access_user.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/access_user.pm,v
retrieving revision 1.25.2.1
retrieving revision 1.25.2.2
diff -u -w -d -r1.25.2.1 -r1.25.2.2
--- access_user.pm 29 Mar 2010 00:50:28 -0000 1.25.2.1
+++ access_user.pm 9 Aug 2010 17:23:03 -0000 1.25.2.2
@@ -274,7 +274,9 @@
sub name {
my $self = shift;
- $self->get('last'). ', '. $self->first;
+ return $self->username
+ if $self->get('last') eq 'Lastname' && $self->first eq 'Firstname';
+ return $self->get('last'). ', '. $self->first;
}
=item user_cust_main
More information about the freeside-commits
mailing list