summaryrefslogtreecommitdiff
path: root/httemplate/search/report_customer_accounting_summary.html
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:24:48 -0500
commit86b44a7897af8265bcd87603fbf2632489ca10b8 (patch)
tree80a3e492a25b21bf3b094a14a0b863dea948b4d1 /httemplate/search/report_customer_accounting_summary.html
parentf97cd91298d3cbfd380741cf4a64d402d3628ecd (diff)
RT#37125: Include discounts in report: customer accounting summary [some fixes]
Diffstat (limited to 'httemplate/search/report_customer_accounting_summary.html')
-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>