[freeside-commits] freeside/FS/FS cust_bill.pm,1.154,1.155

Ivan,,, ivan at wavetail.420.am
Sat Oct 7 16:40:06 PDT 2006


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv16396

Modified Files:
	cust_bill.pm 
Log Message:
remove a spurious commit from batch_card and document realtime option

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- cust_bill.pm	28 Aug 2006 00:52:44 -0000	1.154
+++ cust_bill.pm	7 Oct 2006 23:40:04 -0000	1.155
@@ -1303,10 +1303,11 @@
 
 }
 
-=item batch_card
+=item batch_card OPTION => VALUE...
 
 Adds a payment for this invoice to the pending credit card batch (see
-L<FS::cust_pay_batch>).
+L<FS::cust_pay_batch>), or, if the B<realtime> option is set to a true value,
+runs the payment using a realtime gateway.
 
 =cut
 
@@ -1383,7 +1384,7 @@
 
   my $unapplied = $cust_main->total_credited + $cust_main->total_unapplied_payments + $cust_main->in_transit_payments;
   foreach my $cust_bill ($cust_main->open_cust_bill) {
-  $dbh->commit or die $dbh->errstr if $oldAutoCommit;
+    #$dbh->commit or die $dbh->errstr if $oldAutoCommit;
     my $cust_bill_pay_batch = new FS::cust_bill_pay_batch {
       'invnum' => $cust_bill->invnum,
       'paybatchnum' => $cust_pay_batch->paybatchnum,



More information about the freeside-commits mailing list