[freeside-commits] freeside/httemplate/edit cust_pay_pending.html, 1.1, 1.1.4.1
Ivan,,,
ivan at wavetail.420.am
Sun Oct 10 12:42:56 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv30851/edit
Modified Files:
Tag: FREESIDE_1_9_BRANCH
cust_pay_pending.html
Log Message:
add "capture" links to pending payments in captured state, RT#10152
Index: cust_pay_pending.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_pay_pending.html,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -u -w -d -r1.1 -r1.1.4.1
--- cust_pay_pending.html 16 Feb 2009 23:54:39 -0000 1.1
+++ cust_pay_pending.html 10 Oct 2010 19:42:54 -0000 1.1.4.1
@@ -8,6 +8,10 @@
<CENTER><FONT SIZE="+1"><B>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.</B></FONT></CENTER>
+% } elsif ( $action eq 'capture' ) {
+
+ <CENTER><FONT SIZE="+1"><B>Captured payment not recorded in database - check logs for errors.</B></FONT></CENTER>
+
% }
<BR>
@@ -91,7 +95,9 @@
</TD>
</TR>
-% } elsif ( $action eq 'complete' ) {
+% } else {
+
+%# if ( $action eq 'complete' ) {
<INPUT TYPE="hidden" NAME="action" VALUE="">
@@ -99,6 +105,8 @@
<TD ALIGN="center">
<BUTTON TYPE="button" onClick="document.pendingform.action.value = 'insert_cust_pay'; document.pendingform.submit();"><!--IMG SRC="<%$p%>images/tick.png" ALT=""-->Yes, transaction completed sucessfully.</BUTTON>
</TD>
+
+% if ( $action eq 'complete' ) {
<TD> </TD>
<TD ALIGN="center">
<BUTTON TYPE="button" onClick="document.pendingform.action.value = 'decline'; document.pendingform.submit();"><!--IMG SRC="<%$p%>images/cross.png" ALT=""-->No, transaction was declined</BUTTON>
@@ -108,6 +116,7 @@
<BUTTON TYPE="button" onClick="document.pendingform.action.value = 'delete'; document.pendingform.submit();"><!--IMG SRC="<%$p%>images/cross.png" ALT=""-->No, transaction was not received</BUTTON>
</TD>
</TR>
+% }
<TR><TD COLSPAN=5></TD></TR>
More information about the freeside-commits
mailing list