diff options
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> |