From 5080562bde309a0501f003b1d6fa35d29f0885bd Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 23 Apr 2007 03:42:41 +0000 Subject: add to ACH batch feature from customer view page (backport) --- httemplate/misc/payment.cgi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'httemplate/misc/payment.cgi') diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 1008a216b..ac102826a 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -225,6 +225,16 @@ function OLiframeContent(src, width, height, name) { Remember this information +% if ($conf->exists("batch-enable")) { + + exists("paymentforcedtobatch") && $payby eq 'CHEK' ) ? 'CHECKED DISABLED' : '' %> NAME="batch" VALUE="1"> + Add to current batch +% if ($conf->exists("paymentforcedtobatch") && $payby eq 'CHEK' ) { + +% } + + +% } payby ne 'DCRD' ) || ( $payby eq 'CHEK' && $cust_main->payby eq 'CHEK' ) ) ? ' CHECKED' : '' %> NAME="auto" VALUE="1" onClick="if (this.checked) { document.OneTrueForm.save.checked=true; }"> Charge future payments to this <% $type{$payby} %> automatically -- cgit v1.2.1