projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f144c3a
)
fix the case where the customer doesn't actually have a ship address
author
ivan
<ivan>
Mon, 17 Dec 2007 01:17:05 +0000
(
01:17
+0000)
committer
ivan
<ivan>
Mon, 17 Dec 2007 01:17:05 +0000
(
01:17
+0000)
httemplate/view/cust_main/contacts.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/contacts.html
b/httemplate/view/cust_main/contacts.html
index
20770e4
..
e88c02e
100644
(file)
--- a/
httemplate/view/cust_main/contacts.html
+++ b/
httemplate/view/cust_main/contacts.html
@@
-29,10
+29,7
@@
% if ( $cust_main->get("${pre}address2") ) {
% my $address2_label =
% ( $conf->exists('cust_main-require_address2')
% 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 #'
% : ' ';
% )
% ? 'Unit #'
% : ' ';