RT# 80488 Live look up of WA state tax district
[freeside.git] / httemplate / elements / tr-select-cust_location.html
index 5ff320b..1e6cf5b 100644 (file)
@@ -202,6 +202,7 @@ Example:
      'alt_format'         => $opt{'alt_format'},
      'enable_coords'      => 1,
      'enable_censustract' => 1,
+     'enable_district'    => $conf->exists('tax_district_method') ? 1 : 0,
 &>
 
 <SCRIPT TYPE="text/javascript">
@@ -214,7 +215,7 @@ Example:
                                         ''
                                       )
                    );
-% } else {
+% } elsif ( $locationnum != -1 ) {
     locationnum_changed(document.getElementById('locationnum'));
 % }
 </SCRIPT>