[freeside-commits] freeside/httemplate/search cust_pay_batch.cgi, 1.15, 1.16
Mark Wells
mark at wavetail.420.am
Thu Dec 23 16:40:04 PST 2010
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv4615/httemplate/search
Modified Files:
cust_pay_batch.cgi
Log Message:
manual batch approval and TD EFT fixes, RT#10545
Index: cust_pay_batch.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pay_batch.cgi,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- cust_pay_batch.cgi 12 Nov 2010 23:33:53 -0000 1.15
+++ cust_pay_batch.cgi 24 Dec 2010 00:40:02 -0000 1.16
@@ -193,13 +193,19 @@
qq!<OPTION VALUE="ach-spiritone">Spiritone ACH batch</OPTION>!.
qq!<OPTION VALUE="paymentech">Chase Paymentech XML</OPTION>!.
qq!<OPTION VALUE="RBC">Royal Bank of Canada PDS</OPTION>!.
- qq!<OPTION VALUE="td_eft1464">TD Commercial Banking EFT 1464 byte</OPTION>!.
+ qq!<OPTION VALUE="td_eftack264">TD EFT Acknowledgement</OPTION>!.
+ qq!<OPTION VALUE="td_eftret80">TD EFT Returned Items</OPTION>!.
qq!</SELECT><BR></TR>!;
}
$html_init .= qq!<INPUT TYPE="hidden" NAME="batchnum" VALUE="$batchnum">!;
$html_init .= '<TR> <INPUT TYPE="submit" VALUE="Upload"></FORM><BR> </TR>';
+ if ( $conf->exists('batch-manual_approval') and $pay_batch->status eq 'I') {
+ $html_init .= qq!<TR><INPUT TYPE="button" VALUE="Manually approve" onclick="
+if ( confirm('Approve all remaining payments in this batch?') )
+ window.location.href='${p}misc/process/pay_batch-approve.cgi?batchnum=$batchnum';"></TR>!
}
- $html_init .= '</TABLE>'
+ }
+ $html_init .= '</TABLE>';
}
if ($pay_batch) {
More information about the freeside-commits
mailing list