config to show payment history report, RT7694
authorlevinse <levinse>
Wed, 4 May 2011 01:07:10 +0000 (01:07 +0000)
committerlevinse <levinse>
Wed, 4 May 2011 01:07:10 +0000 (01:07 +0000)
FS/FS/Conf.pm
httemplate/elements/menu.html

index 2862e18..92f2d9f 100644 (file)
@@ -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" },
index 2ca2dbd..6c704be 100644 (file)
@@ -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')) {