From 0c6517d34fb0624079949223210ea298eab7e601 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Mon, 20 Jul 2015 19:24:48 -0500 Subject: RT#37125: Include discounts in report: customer accounting summary [some fixes] --- httemplate/search/report_customer_accounting_summary.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'httemplate') diff --git a/httemplate/search/report_customer_accounting_summary.html b/httemplate/search/report_customer_accounting_summary.html index bdcdbccd1..cd8622ee3 100755 --- a/httemplate/search/report_customer_accounting_summary.html +++ b/httemplate/search/report_customer_accounting_summary.html @@ -38,9 +38,12 @@ &> <& /elements/tr-checkbox.html, - 'label' => 'Show Gross & Discounted', - 'field' => 'grossdiscount', - 'value' => 1, + 'label' => 'Show Gross & Discounted', + 'field' => 'grossdiscount', + 'value' => 1, + 'curr_value' => defined($cgi->param('grossdiscount')) + ? scalar($cgi->param('grossdiscount')) + : 1, #default to on in v4 &> -- cgit v1.2.1