diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-03-18 00:21:18 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-03-18 00:21:18 -0700 |
| commit | c824028e0d2c74076f5b4b5e159b6dcc42d0e812 (patch) | |
| tree | 75aa9d6ab64ba6c987d1e2a145637a0b11542ca2 /httemplate | |
| parent | b00e2c60b1b22b99972be7183740c83a277025d9 (diff) | |
config to enable cust_pay report time selection, RT#22001
Diffstat (limited to 'httemplate')
| -rw-r--r-- | httemplate/search/elements/report_cust_pay_or_refund.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html index 0a118e9d2..026b83df1 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -84,7 +84,7 @@ Examples: <TABLE> <& /elements/tr-input-beginning_ending.html, layout => 'horiz', - input_time => 1, + input_time => $conf->exists('report-cust_pay-select_time'), &> </TABLE> </TD> @@ -134,6 +134,8 @@ my $name_singular = $opt{'name_singular'}; die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports'); +my $conf = new FS::Conf; + my $void = $cgi->param('void') ? 1 : 0; my $unapplied = $cgi->param('unapplied') ? 1 : 0; |
