From 569f676f4a06512a46120e12edc6a6410e93ff93 Mon Sep 17 00:00:00 2001 From: Mitch Jackson Date: Sat, 19 Jan 2019 07:41:08 -0500 Subject: RT# 80488 Live look up of WA state tax district When conf flag 'tax_district_method' is set, tax district is queried for address before form is submitted Affected Pages: * New Customer * Edit Customer * Order Package * Change Package * Edit Package Location --- httemplate/elements/tr-select-cust_location.html | 1 + httemplate/elements/wa_state_tax_district.js | 159 +++++++++++++++++++++++ 2 files changed, 160 insertions(+) create mode 100644 httemplate/elements/wa_state_tax_district.js (limited to 'httemplate/elements') diff --git a/httemplate/elements/tr-select-cust_location.html b/httemplate/elements/tr-select-cust_location.html index 7a2d886d3..1e6cf5b7f 100644 --- a/httemplate/elements/tr-select-cust_location.html +++ b/httemplate/elements/tr-select-cust_location.html @@ -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, &>