summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/contacts.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-03-14 16:59:18 -0700
committerMark Wells <mark@freeside.biz>2014-03-14 16:59:18 -0700
commitcdc349ac42247cd97cd475918b75a8e8e71ec0c2 (patch)
treee8a3efeb88081c80661a6865f23ebd272fba5509 /httemplate/view/cust_main/contacts.html
parentb2f85194e8e090dd6fb05acbe4575dd9440be134 (diff)
add spouse name to customer records, #24919
Diffstat (limited to 'httemplate/view/cust_main/contacts.html')
-rw-r--r--httemplate/view/cust_main/contacts.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index 294b7babb..dbc491af0 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -27,6 +27,16 @@
: $cust_main->masked('ss') || '&nbsp;' %></TD>
% }
</TR>
+% if ( $conf->exists('cust_main-enable_spouse') and
+% ($cust_main->spouse_last or $cust_main->spouse_first) ) {
+ <TR>
+ <TD ALIGN="right"><% mt('Spouse') |h %></TD>
+ <TD COLSPAN=5 BGCOLOR="#ffffff">
+ <% join(', ', grep $_,
+ $cust_main->spouse_last, $cust_main->spouse_first) %>
+ </TD>
+ </TR>
+% }
% if ( $conf->exists('cust-email-high-visibility') ) {
<TR>
<TD ALIGN="right"><% mt('Email address(es)') |h %></TD>