summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevinse <levinse>2011-05-04 01:07:10 +0000
committerlevinse <levinse>2011-05-04 01:07:10 +0000
commitbb582ac8b4f2aee6dc4554a13acddcd8becfafe9 (patch)
treed71cb7687ca3ba6042cb0197ddc6a95e9cc003e8
parent3e4c6bf062b39d8030dc3afb45fec35da6593ac5 (diff)
config to show payment history report, RT7694
-rw-r--r--FS/FS/Conf.pm8
-rw-r--r--httemplate/elements/menu.html2
2 files changed, 9 insertions, 1 deletions
diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm
index 2862e1810..92f2d9f5a 100644
--- a/FS/FS/Conf.pm
+++ b/FS/FS/Conf.pm
@@ -4422,7 +4422,13 @@ and customer address. Include units.',
'description' => 'Disable the "Charge future payments to this (card|check) automatically" checkbox from defaulting to checked.',
'type' => 'checkbox',
},
-
+
+ {
+ 'key' => 'payment-history-report',
+ 'section' => 'UI',
+ 'description' => 'Show a link to the payment history report in the Reports menu. DO NOT ENABLE THIS.',
+ 'type' => 'checkbox',
+ },
{ key => "apacheroot", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
{ key => "apachemachine", section => "deprecated", description => "<b>DEPRECATED</b>", type => "text" },
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 2ca2dbdeb..6c704be42 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -297,6 +297,8 @@ $report_payments{'Unapplied Payments'} = [ $fsurl.'search/report_cust_pay.html?u
$report_payments{'Payment Batches'} = [ $fsurl.'search/pay_batch.html', 'Payment batches (by status and/or date range)' ]
if $conf->exists('batch-enable') || $conf->config('batch-enable_payby');
$report_payments{'Unapplied Payment Aging'} = [ $fsurl.'search/report_unapplied_cust_pay.html', 'Unapplied payment aging report' ];
+$report_payments{'Deleted Payments / Payment history table'} = [ $fsurl.'search/report_h_cust_pay.html', 'Deleted payments / payment history table' ]
+ if $conf->exists('payment-history-report');
tie my %report_financial, 'Tie::IxHash';
if($curuser->access_right('Financial reports')) {