X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main%2Fname.html;h=0319cf0276002fc820ad964a172fe4d76c5c17db;hb=c49cfd25a8f92c7a2f44b51d72506a21f6b8d09f;hp=c1078d46a58a3a84a1f19c1a880707fd6063bea9;hpb=381992561d7b1a88e05d49d3e474a2fad25873c7;p=freeside.git diff --git a/httemplate/edit/cust_main/name.html b/httemplate/edit/cust_main/name.html index c1078d46a..0319cf027 100644 --- a/httemplate/edit/cust_main/name.html +++ b/httemplate/edit/cust_main/name.html @@ -3,8 +3,8 @@
> % if ( -% ref $unmask_field -% && !$unmask_field->{unmask_ss} +% $value +% && ref $unmask_field % && $FS::CurrentUser::CurrentUser->access_right( $unmask_field->{access_right} ) % ) { <& /elements/link-replace_element_text.html, { @@ -27,7 +27,6 @@ target_id => 'ss', replace_text => $cust_main->ss, access_right => 'Unmask customer SSN', - unmask_ss => $conf->exists('unmask_ss'), } &> % } else { @@ -62,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');