diff options
author | jeff <jeff> | 2007-04-24 22:36:24 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-04-24 22:36:24 +0000 |
commit | 73e3de28477eff6b4e2e4ce7f00af2268eb8b04c (patch) | |
tree | 3070b5ffcee07b1115c203103f71c6d4b21fc5c3 /httemplate/view | |
parent | 7fec96d70fd819fb8cd19cbd350a1b80719461b9 (diff) |
1528 add driver's license field, mask it and ssn (backport)
Diffstat (limited to 'httemplate/view')
-rw-r--r-- | httemplate/view/cust_main/contacts.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html index d5788c9a4..0a0ba24ff 100644 --- a/httemplate/view/cust_main/contacts.html +++ b/httemplate/view/cust_main/contacts.html @@ -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 $daytime_label = FS::Msgcat::_gettext('daytime') =~ /^(daytime)?$/ 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> |