X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=7fc49f8601164636342d99f669c06f06d46eb211;hb=609e7cb967020e23f147f4e1b475fed97e37db30;hp=357a91db74bdfb852c1c1ea963edf91a6589b3fb;hpb=fa8a42b29c19f9cb692f409e6ac3d081010ec3f8;p=freeside.git
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html
index 357a91db7..7fc49f860 100644
--- a/httemplate/elements/location.html
+++ b/httemplate/elements/location.html
@@ -169,15 +169,14 @@ Example:
-% if ($conf->exists('city_not_required')) {
-
-%} else {
- <<%$th%> ALIGN="right"><%$r%><% mt('City') |h %><%$th%>>
+ <<%$th%> ALIGN="right">
+% unless ($conf->exists('cust_main-no_city_in_address')) {
+ <% $r %><% mt('City') |h %>
+% }
+ <%$th%>>
<% include('/elements/city.html', %select_hash, 'text_style' => \@style ) %> |
-
<<%$th%> ALIGN="right" WIDTH="1" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County<%$th%>>
<% include('/elements/select-county.html', %select_hash ) %> |
-% }
<<%$th%> ALIGN="right" WIDTH="1"><%$r%><% mt('State') |h %><%$th%>>
<% include('/elements/select-state.html', %select_hash ) %>
@@ -246,13 +245,13 @@ Example:
% }
% if ( $opt{enable_district} and $conf->config('tax_district_method') ) {
|
- Tax district |
+ Tax district |
- <% '(automatic)' %>
+ <% '(automatic)' %>
|
% } else {
@@ -290,7 +289,7 @@ Example:
var clear_coords_on_change = [
'<%$pre%>address1',
'<%$pre%>address2',
- '<%$pre%>city',
+ <% $conf->exists('cust_main-no_city_in_address') ? '' : qq('${pre}city',) %>
'<%$pre%>state',
'<%$pre%>zip',
'<%$pre%>country'