[freeside-commits] freeside/httemplate/misc download-batch.cgi, 1.21, 1.22 payment.cgi, 1.13, 1.14
Jeff Finucane,420,,
jeff at wavetail.420.am
Sun Apr 22 20:41:33 PDT 2007
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.192, 1.193 cust_main.pm, 1.282, 1.283 cust_bill.pm, 1.167, 1.168 pay_batch.pm, 1.9, 1.10
- Next message: [freeside-commits] freeside/httemplate/misc/process payment.cgi, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail:/tmp/cvs-serv15170/httemplate/misc
Modified Files:
download-batch.cgi payment.cgi
Log Message:
add to ACH batch feature from customer view page
Index: payment.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/payment.cgi,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- payment.cgi 6 Apr 2007 23:57:35 -0000 1.13
+++ payment.cgi 23 Apr 2007 03:41:30 -0000 1.14
@@ -225,6 +225,16 @@
Remember this information
</TD>
</TR><TR>
+% if ($conf->exists("batch-enable")) {
+ <TD COLSPAN=2>
+ <INPUT TYPE="checkbox" <% ( $conf->exists("paymentforcedtobatch") && $payby eq 'CHEK' ) ? 'CHECKED DISABLED' : '' %> NAME="batch" VALUE="1">
+ Add to current batch
+% if ($conf->exists("paymentforcedtobatch") && $payby eq 'CHEK' ) {
+ <INPUT TYPE="hidden" NAME="batch" VALUE="1">
+% }
+ </TD>
+</TR><TR>
+% }
<TD COLSPAN=2>
<INPUT TYPE="checkbox"<% ( ( $payby eq 'CARD' && $cust_main->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
Index: download-batch.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/misc/download-batch.cgi,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- download-batch.cgi 21 Mar 2007 04:01:52 -0000 1.21
+++ download-batch.cgi 23 Apr 2007 03:41:30 -0000 1.22
@@ -99,7 +99,7 @@
%
% my( $account, $aba ) = split( '@', $cust_pay_batch->payinfo );
% my $payname=$cust_pay_batch->payname; $payname =~ tr/",/ /; #payinfo too?
-% my $batchline = qq!"$payname","!.$cust_pay_batch->paybatchnum.
+% my $batchline = qq!"$payname","!.$cust_pay_batch->custnum. #dodgy, works for autoapply
% qq!","$aba","$account","27","!.$cust_pay_batch->amount.
% qq!","27","0.00"!;
% push @batchlines, $batchline;
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.192, 1.193 cust_main.pm, 1.282, 1.283 cust_bill.pm, 1.167, 1.168 pay_batch.pm, 1.9, 1.10
- Next message: [freeside-commits] freeside/httemplate/misc/process payment.cgi, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list