diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-20 19:24:48 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-20 19:24:48 -0500 |
commit | 86b44a7897af8265bcd87603fbf2632489ca10b8 (patch) | |
tree | 80a3e492a25b21bf3b094a14a0b863dea948b4d1 /httemplate/search/report_customer_accounting_summary.html | |
parent | f97cd91298d3cbfd380741cf4a64d402d3628ecd (diff) |
RT#37125: Include discounts in report: customer accounting summary [some fixes]
Diffstat (limited to 'httemplate/search/report_customer_accounting_summary.html')
-rwxr-xr-x | httemplate/search/report_customer_accounting_summary.html | 9 |
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 & 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 &> </TABLE> |