From: ivan Date: Sun, 10 Oct 2010 19:42:53 +0000 (+0000) Subject: add "capture" links to pending payments in captured state, RT#10152 X-Git-Tag: TORRUS_1_0_9~235 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=defa6c82c0fbc69b06c97d229caad39248a01c1c add "capture" links to pending payments in captured state, RT#10152 --- diff --git a/httemplate/edit/cust_pay_pending.html b/httemplate/edit/cust_pay_pending.html index 0916a1c0c..0056bb925 100644 --- a/httemplate/edit/cust_pay_pending.html +++ b/httemplate/edit/cust_pay_pending.html @@ -8,6 +8,10 @@
No response was received from <% $cust_pay_pending->processor || 'the payment gateway' %> for this transaction. Check <% $cust_pay_pending->processor || 'the payment gateway' %>'s reporting and determine if this transaction completed successfully.
+% } elsif ( $action eq 'capture' ) { + +
Captured payment not recorded in database - check logs for errors.
+ % }
@@ -91,7 +95,9 @@ -% } elsif ( $action eq 'complete' ) { +% } else { + +%# if ( $action eq 'complete' ) { @@ -99,15 +105,18 @@ -     - - - -     - - - - + +% if ( $action eq 'complete' ) { +     + + + +     + + + + +% } diff --git a/httemplate/search/cust_pay_pending.html b/httemplate/search/cust_pay_pending.html index f46e08ab1..8b7350853 100755 --- a/httemplate/search/cust_pay_pending.html +++ b/httemplate/search/cust_pay_pending.html @@ -19,7 +19,7 @@ my %statusaction = ( 'new' => 'delete', 'pending' => 'complete', #'authorized' => '', - #'captured' => '', + 'captured' => 'capture', #'declined' => '', #wouldn't need to take action on a done state#'done' );