[freeside-commits] freeside/httemplate/search cust_pay_batch.cgi, 1.14.4.1, 1.14.4.2

Mark Wells mark at wavetail.420.am
Thu Dec 23 16:41:28 PST 2010


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv4921/httemplate/search

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	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.14.4.1
retrieving revision 1.14.4.2
diff -u -w -d -r1.14.4.1 -r1.14.4.2
--- cust_pay_batch.cgi	12 Nov 2010 23:34:12 -0000	1.14.4.1
+++ cust_pay_batch.cgi	24 Dec 2010 00:41:25 -0000	1.14.4.2
@@ -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