X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_location.cgi;h=93311c5c3fec1b962f78c9b798b8c850e103a265;hb=07ed221540128b8c75f4cb5a2af1e01b25fa8e18;hp=a5e7d209eac0807ce8931b8cc67dedf4c79c9925;hpb=75ddd5240b233dd45f1d748f628e01238be0e751;p=freeside.git diff --git a/httemplate/edit/cust_location.cgi b/httemplate/edit/cust_location.cgi index a5e7d209e..93311c5c3 100755 --- a/httemplate/edit/cust_location.cgi +++ b/httemplate/edit/cust_location.cgi @@ -8,24 +8,41 @@ ACTION="<% $p %>edit/process/cust_location.cgi" METHOD=POST> <% ntable('#cccccc') %> <& /elements/location.html, - 'object' => $cust_location, - 'no_asterisks' => 1, + 'object' => $cust_location, + 'no_asterisks' => 1, + # these are service locations, so they need all this stuff + 'enable_coords' => 1, + 'enable_district' => 1, + 'enable_censustract' => 1, &> <& /elements/standardize_locations.html, 'form' => 'EditLocationForm', - 'callback' => 'document.EditLocationForm.submit();', + 'callback' => $conf->exists('tax_district_method') + ? 'wa_state_tax_district()' + : 'submit_continue()', + 'with_census' => 1, + 'with_census_functions' => 1, &> +