From: levinse Date: Wed, 4 May 2011 01:07:10 +0000 (+0000) Subject: config to show payment history report, RT7694 X-Git-Tag: freeside_2_3_0~298 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=bb582ac8b4f2aee6dc4554a13acddcd8becfafe9 config to show payment history report, RT7694 --- 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 => "DEPRECATED", type => "text" }, { key => "apachemachine", section => "deprecated", description => "DEPRECATED", 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')) {