diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-20 19:24:48 -0500 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-20 21:32:25 -0500 |
| commit | 3459c033534c3ea4753fa4fa4fea7119bf8d3375 (patch) | |
| tree | 67fb52b8a88545095e30d51b4e18eaceea5d66fd /httemplate | |
| parent | adcf4e1d0e02f9e91513bdccd4a8d811f052a7f6 (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> |
