% }
% if ( $opt{enable_district} and $conf->config('tax_district_method') ) {
-
Tax district
+
Tax district
- <% '(automatic)' %>
+ <% '(automatic)' %>
% } else {
@@ -262,8 +261,9 @@ Example:
%# For address standardization:
%# keep a clean copy of the address so we know if we need
%# to re-standardize
-% foreach (qw(address1 city state country zip latitude
-% longitude censustract district addr_clean) ) {
+% foreach (qw(locationname address1 city state country zip latitude
+% longitude censustract district addr_clean
+% ) ) {
<& hidden.html, field => 'old_'.$pre.$_, value => $object->get($_) &>
% }
%# Placeholders
@@ -290,7 +290,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'