summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-07-20 19:24:48 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-20 19:28:41 -0500
commit0c6517d34fb0624079949223210ea298eab7e601 (patch)
treeef02d0d0c7fde3249668ee0d7eb17028198a8a35 /httemplate
parent078454a5494f6611eef48f8ad06c1a5a5c719e00 (diff)
RT#37125: Include discounts in report: customer accounting summary [some fixes]
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/report_customer_accounting_summary.html9
1 files changed, 6 insertions, 3 deletions
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 &amp; Discounted',
- 'field' => 'grossdiscount',
- 'value' => 1,
+ 'label' => 'Show Gross &amp; Discounted',
+ 'field' => 'grossdiscount',
+ 'value' => 1,
+ 'curr_value' => defined($cgi->param('grossdiscount'))
+ ? scalar($cgi->param('grossdiscount'))
+ : 1, #default to on in v4
&>
</TABLE>