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/view | |
parent | c828daa905491e65deb30a2ed34af609cdb96b99 (diff) |
hide SS# unless you turn it on via config file
Diffstat (limited to 'httemplate/view')
-rwxr-xr-x | httemplate/view/cust_main.cgi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index dc4760d73..946fc63e4 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -1,4 +1,4 @@ -<!-- $Id: cust_main.cgi,v 1.20 2002-02-07 22:29:35 ivan Exp $ --> +<!-- $Id: cust_main.cgi,v 1.21 2002-02-10 02:28:28 ivan Exp $ --> <% my $conf = new FS::Conf; @@ -49,8 +49,12 @@ print '<TD VALIGN="top">'; '<TR><TD ALIGN="right">Contact name</TD>', '<TD COLSPAN=3 BGCOLOR="#ffffff">', $cust_main->last, ', ', $cust_main->first, - '</TD><TD ALIGN="right">SS#</TD><TD BGCOLOR="#ffffff">', - $cust_main->ss || ' ', '</TD></TR>', + '</TD>'; +print '<TD ALIGN="right">SS#</TD><TD BGCOLOR="#ffffff">', + $cust_main->ss || ' ', '</TD>' + if $conf->exists('show_ss'); + +print '</TR>', '<TR><TD ALIGN="right">Company</TD><TD COLSPAN=5 BGCOLOR="#ffffff">', $cust_main->company, '</TD></TR>', |