[freeside-commits] branch FREESIDE_3_BRANCH updated. a961013d0550e9e033b86e7bb677de05ddb9e7b7

Jonathan Prykop jonathan at 420.am
Wed Jul 8 20:57:33 PDT 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  a961013d0550e9e033b86e7bb677de05ddb9e7b7 (commit)
      from  f5cc5eb0b51cf3c5e91fda0a47965cbe6f40496e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a961013d0550e9e033b86e7bb677de05ddb9e7b7
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Wed Jul 8 22:57:10 2015 -0500

    RT#29285: State field not needed for New Zealand [interface, v3 only]

diff --git a/httemplate/view/cust_main/contacts.html b/httemplate/view/cust_main/contacts.html
index e810d6f..136f634 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>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/cust_main/contacts.html |    4 ++++
 1 file changed, 4 insertions(+)




More information about the freeside-commits mailing list