[freeside-commits] freeside/httemplate/view/cust_main contacts.html, 1.10, 1.10.2.1
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Apr 24 15:36:26 PDT 2007
- Previous message: [freeside-commits] freeside/FS/FS svc_www.pm,1.14,1.14.2.1
- Next message: [freeside-commits] freeside/FS/FS Setup.pm, 1.8, 1.8.2.1 Schema.pm, 1.44.2.4, 1.44.2.5 cust_main.pm, 1.271.2.9, 1.271.2.10 Conf.pm, 1.180.2.6, 1.180.2.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv9590/httemplate/view/cust_main
Modified Files:
Tag: FREESIDE_1_7_BRANCH
contacts.html
Log Message:
1528 add driver's license field, mask it and ssn (backport)
Index: contacts.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/contacts.html,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- contacts.html 5 Feb 2007 12:51:05 -0000 1.10
+++ contacts.html 24 Apr 2007 22:36:24 -0000 1.10.2.1
@@ -14,7 +14,7 @@
</TD>
% if ( $which eq '' && $conf->exists('show_ss') ) {
<TD ALIGN="right">SS#</TD>
- <TD BGCOLOR="#ffffff"><% $cust_main->ss || ' ' %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->masked('ss') || ' ' %></TD>
% }
</TR>
<TR>
@@ -75,6 +75,14 @@
<% $cust_main->get("${pre}fax") || ' ' %>
</TD>
</TR>
+% if ( $which eq '' && $conf->exists('show_stateid') ) {
+<TR>
+ <TD ALIGN="right"><% $stateid_label %></TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->masked('stateid') || ' ' %></TD>
+ <TD ALIGN="right"><% $stateid_state_label %><\TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->stateid_state || ' ' %></TD>
+</TR>
+% }
</TABLE></TD></TR></TABLE>
% if ( $which ne 'ship_' ) {
<BR>
@@ -89,6 +97,12 @@
my $night_label = FS::Msgcat::_gettext('night') =~ /^(night)?$/
? 'Night Phone'
: FS::Msgcat::_gettext('night');
+my $stateid_label = FS::Msgcat::_gettext('stateid') =~ /^(stateid)?$/
+ ? 'Driver’s License'
+ : FS::Msgcat::_gettext('stateid');
+my $stateid_state_label = FS::Msgcat::_gettext('stateid_state') =~ /^(stateid_state)?$/
+ ? 'Driver’s License State'
+ : FS::Msgcat::_gettext('stateid_state');
</%once>
<%init>
- Previous message: [freeside-commits] freeside/FS/FS svc_www.pm,1.14,1.14.2.1
- Next message: [freeside-commits] freeside/FS/FS Setup.pm, 1.8, 1.8.2.1 Schema.pm, 1.44.2.4, 1.44.2.5 cust_main.pm, 1.271.2.9, 1.271.2.10 Conf.pm, 1.180.2.6, 1.180.2.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list