summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-07-08 22:57:10 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-08 22:57:10 -0500
commita961013d0550e9e033b86e7bb677de05ddb9e7b7 (patch)
treef00e150662bfe692bef0213495dd187d6d10f612
parentf5cc5eb0b51cf3c5e91fda0a47965cbe6f40496e (diff)
RT#29285: State field not needed for New Zealand [interface, v3 only]
-rw-r--r--httemplate/view/cust_main/contacts.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index e810d6f5d..136f634a4 100644
--- a/httemplate/view/cust_main/contacts.html
+++ b/httemplate/view/cust_main/contacts.html
@@ -93,8 +93,12 @@
% }
<TR>
+% if ( $location->city ) {
<TD ALIGN="right"><% mt('City') |h %></TD>
<TD BGCOLOR="#ffffff"><% $location->city |h %></TD>
+% } else {
+ <TD COLSPAN="2"></TD>
+% }
% if ( $location->county ) {
<TD ALIGN="right"><% mt('County') |h %></TD>
<TD BGCOLOR="#ffffff"><% $location->county |h %></TD>