[freeside-commits] freeside/httemplate/view/cust_main contacts.html, 1.12, 1.13
Ivan,,,
ivan at wavetail.420.am
Sun Dec 16 17:17:07 PST 2007
Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail:/tmp/cvs-serv17079
Modified Files:
contacts.html
Log Message:
fix the case where the customer doesn't actually have a ship address
Index: contacts.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/contacts.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- contacts.html 17 Dec 2007 00:59:01 -0000 1.12
+++ contacts.html 17 Dec 2007 01:17:05 -0000 1.13
@@ -29,10 +29,7 @@
% if ( $cust_main->get("${pre}address2") ) {
% my $address2_label =
% ( $conf->exists('cust_main-require_address2')
-% # && ( ( !$which && !$cust_main->has_ship_address )
-% # || ( $which && $cust_main->has_ship_address )
-% # )
-% && ! ( $which xor $cust_main->has_ship_address )
+% && ! ( $pre xor $cust_main->has_ship_address )
% )
% ? 'Unit #'
% : ' ';
More information about the freeside-commits
mailing list