diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-07-18 19:03:57 +0000 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-07-18 14:12:31 -0500 |
commit | e8740b7c8f772508c0a393d3c0de2b3c8531280d (patch) | |
tree | 4f88e1692d98cbadb4f0fc0835edb130f08d6ee5 /httemplate/edit/cust_main | |
parent | 85aeb9ff889959bb3f6c91e318ef856833efd504 (diff) |
RT# 32234 unmask_ss deprecated - drop from templates
Diffstat (limited to 'httemplate/edit/cust_main')
-rw-r--r-- | httemplate/edit/cust_main/name.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/httemplate/edit/cust_main/name.html b/httemplate/edit/cust_main/name.html index 120475b92..0319cf027 100644 --- a/httemplate/edit/cust_main/name.html +++ b/httemplate/edit/cust_main/name.html @@ -5,7 +5,6 @@ % if ( % $value % && ref $unmask_field -% && !$unmask_field->{unmask_ss} % && $FS::CurrentUser::CurrentUser->access_right( $unmask_field->{access_right} ) % ) { <& /elements/link-replace_element_text.html, { @@ -28,7 +27,6 @@ target_id => 'ss', replace_text => $cust_main->ss, access_right => 'Unmask customer SSN', - unmask_ss => $conf->exists('unmask_ss'), } &> % } else { <INPUT TYPE="hidden" NAME="ss" VALUE="<% $ss %>"> @@ -63,7 +61,7 @@ my $agentnum = $cust_main->agentnum if $cust_main->custnum; my $conf = FS::Conf->new; my $ss; -if ( $cgi->param('error') or $conf->exists('unmask_ss') ) { +if ( $cgi->param('error') ) { $ss = $cust_main->ss; } else { $ss = $cust_main->masked('ss'); |