From 88c86b2900f92ebf3a95f8b2b01985ccee290673 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 18 Jun 2013 23:20:58 -0700 Subject: fix manual entry of census tract when editing location, #23643 --- httemplate/misc/order_pkg.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/order_pkg.html b/httemplate/misc/order_pkg.html index e09ba986d..39734427e 100644 --- a/httemplate/misc/order_pkg.html +++ b/httemplate/misc/order_pkg.html @@ -134,8 +134,9 @@ % unless ( $cgi->param('lock_locationnum') ) { <& /elements/standardize_locations.html, - 'form' => "OrderPkgForm", - 'callback' => 'document.OrderPkgForm.submit();', + 'form' => "OrderPkgForm", + 'callback' => 'document.OrderPkgForm.submit();', + 'with_census' => 1, &> % } -- cgit v1.2.1 From d4a8a4dde783d8b106e6ad423655bb5d48232960 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Wed, 19 Jun 2013 01:49:34 -0700 Subject: quick payment entry: correctly enable "Allocate" checkbox --- httemplate/misc/batch-cust_pay.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/misc') diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html index 0b2f1f18c..04a402bef 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -25,7 +25,7 @@ function custnum_update_callback(rownum, prefix) { var custnum = document.getElementById('custnum'+rownum).value; // if there is a custnum and more than one open invoice, enable // (and check) the box - var show_applications = (custnum > 0 && num_open_invoices[rownum] > 1); + var show_applications = !(custnum > 0 && num_open_invoices[rownum] > 1); var enable_app_checkbox = document.getElementById('enable_app'+rownum); enable_app_checkbox.disabled = show_applications; -- cgit v1.2.1