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:28:41 -0500 |
commit | 0c6517d34fb0624079949223210ea298eab7e601 (patch) | |
tree | ef02d0d0c7fde3249668ee0d7eb17028198a8a35 /httemplate | |
parent | 078454a5494f6611eef48f8ad06c1a5a5c719e00 (diff) |
RT#37125: Include discounts in report: customer accounting summary [some fixes]
Diffstat (limited to 'httemplate')
-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> |