projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config to enable cust_pay report time selection, RT#22001
[freeside.git]
/
httemplate
/
search
/
elements
/
report_cust_pay_or_refund.html
diff --git
a/httemplate/search/elements/report_cust_pay_or_refund.html
b/httemplate/search/elements/report_cust_pay_or_refund.html
index
c79c3ab
..
0462f1c
100644
(file)
--- 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',
<TABLE>
<& /elements/tr-input-beginning_ending.html,
layout => 'horiz',
- input_time =>
1
,
+ input_time =>
$conf->exists('report-cust_pay-select_time')
,
&>
</TABLE>
</TD>
&>
</TABLE>
</TD>
@@
-124,6
+124,8
@@
my $name_singular = $opt{'name_singular'};
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Financial reports');
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;
my $void = $cgi->param('void') ? 1 : 0;
my $unapplied = $cgi->param('unapplied') ? 1 : 0;