diff options
author | ivan <ivan> | 2002-02-10 02:28:28 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-02-10 02:28:28 +0000 |
commit | b4bce0bf487b4ee3620e13f1fdf56ecc1d001a42 (patch) | |
tree | ac31dd32bd6301bbfd830cf9c1de9da288032b54 /httemplate/edit/cust_main.cgi | |
parent | c828daa905491e65deb30a2ed34af609cdb96b99 (diff) |
hide SS# unless you turn it on via config file
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index fad4d9e6d..5be6a3579 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -1,4 +1,4 @@ -<!-- $Id: cust_main.cgi,v 1.19 2002-01-30 14:18:08 ivan Exp $ --> +<!-- $Id: cust_main.cgi,v 1.20 2002-02-10 02:28:27 ivan Exp $ --> <% #for misplaced logic below @@ -153,10 +153,17 @@ END print <<END; <INPUT TYPE="text" NAME="last" VALUE="$last"> , <INPUT TYPE="text" NAME="first" VALUE="$first"> +</TD> END +if ( $conf->exists('show_ss') ) { + print qq!<TD ALIGN="right">SS#</TD><TD><INPUT TYPE="text" NAME="ss" VALUE="$ss" SIZE=11></TD>!; +} else { + print qq!<TD><INPUT TYPE="hidden" NAME="ss" VALUE="$ss"></TD>!; +} + print <<END; -</TD><TD ALIGN="right">SS#</TD><TD><INPUT TYPE="text" NAME="ss" VALUE="$ss" SIZE=11></TD></TR> +</TR> <TR><TD ALIGN="right">Company</TD><TD COLSPAN=5><INPUT TYPE="text" NAME="company" VALUE="$company" SIZE=70></TD></TR> <TR><TH ALIGN="right">${r}Address</TH><TD COLSPAN=5><INPUT TYPE="text" NAME="address1" VALUE="$address1" SIZE=70></TD></TR> <TR><TD ALIGN="right"> </TD><TD COLSPAN=5><INPUT TYPE="text" NAME="address2" VALUE="$address2" SIZE=70></TD></TR> |