[freeside-commits] freeside/FS/FS access_user.pm,1.28,1.29
Ivan,,,
ivan at wavetail.420.am
Mon Aug 9 10:23:01 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv19366
Modified Files:
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.28
retrieving revision 1.29
diff -u -w -d -r1.28 -r1.29
--- access_user.pm 23 Jul 2010 00:11:51 -0000 1.28
+++ access_user.pm 9 Aug 2010 17:22:59 -0000 1.29
@@ -270,7 +270,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