RT#42393: Verification cust_pay_pending handling in history & report
[freeside.git] / httemplate / view / cust_main / payment_history / pending_payment.html
index 113022d..cf7ef7c 100644 (file)
@@ -3,10 +3,6 @@
 
 my( $cust_pay_pending, %opt ) = @_;
 
-my $conf = new FS::Conf;
-
-my $curuser = $FS::CurrentUser::CurrentUser;
-
 my ($payby, $payinfo) = translate_payinfo($cust_pay_pending);
 my $target = "$payby$payinfo";
 $payby = translate_payby($payby,$payinfo);
@@ -16,6 +12,7 @@ my %statusaction = (
   'new'        => 'delete',
   'thirdparty' => 'delete',
   'pending'    => 'complete',
+  'authorized' => 'complete',
   'captured'   => 'capture',
 );