From: levinse Date: Wed, 4 May 2011 01:07:13 +0000 (+0000) Subject: config to show payment history report, RT7694 X-Git-Tag: freeside_2_1_3~231 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=59cd694a36481cd7445d7ad43c05854ee98f9059;p=freeside.git config to show payment history report, RT7694 --- diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 575b1b823..e64f8282a 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -4371,7 +4371,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 => "DEPRECATED", type => "text" }, { key => "apachemachine", section => "deprecated", description => "DEPRECATED", type => "text" }, diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index ae58cdaaa..6e652672a 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -277,6 +277,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')) {