projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 83211 - Added service export error test report
[freeside.git]
/
httemplate
/
edit
/
cust_main
/
name.html
diff --git
a/httemplate/edit/cust_main/name.html
b/httemplate/edit/cust_main/name.html
index
c1078d4
..
0319cf0
100644
(file)
--- a/
httemplate/edit/cust_main/name.html
+++ b/
httemplate/edit/cust_main/name.html
@@
-3,8
+3,8
@@
<DIV STYLE="display: inline-block" ID="<% $field %>_input">
<INPUT TYPE="text" NAME="<% $field %>" VALUE="<% $value |h %>" <%$extra%>>
% if (
<DIV STYLE="display: inline-block" ID="<% $field %>_input">
<INPUT TYPE="text" NAME="<% $field %>" VALUE="<% $value |h %>" <%$extra%>>
% 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, {
% && $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',
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 %>">
} &>
% } else {
<INPUT TYPE="hidden" NAME="ss" VALUE="<% $ss %>">
@@
-62,7
+61,7
@@
my $agentnum = $cust_main->agentnum if $cust_main->custnum;
my $conf = FS::Conf->new;
my $ss;
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');
$ss = $cust_main->ss;
} else {
$ss = $cust_main->masked('ss');