diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-03-18 00:21:14 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-03-18 00:21:14 -0700 |
commit | c89f59f7093eb0a11d3a15854e35d5f78f4424be (patch) | |
tree | acd65c170be56dccb9b9c7bcbd2db76ed609751b /httemplate/search | |
parent | b386703c6dee3eafb59f683710aa1aab27bf180e (diff) |
config to enable cust_pay report time selection, RT#22001
Diffstat (limited to 'httemplate/search')
-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 c79c3ab0b..0462f1cd9 100644 --- a/httemplate/search/elements/report_cust_pay_or_refund.html +++ b/httemplate/search/elements/report_cust_pay_or_refund.html @@ -74,7 +74,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> @@ -124,6 +124,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; |