freeside/FS/FS cust_main.pm,1.179,1.180

steve at pouncequick.420.am steve at pouncequick.420.am
Thu Mar 31 21:59:57 PST 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv28128

Modified Files:
	cust_main.pm 
Log Message:
fix paybatch parsing to support bop::jettis



Index: cust_main.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_main.pm,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- cust_main.pm	31 Mar 2005 11:41:13 -0000	1.179
+++ cust_main.pm	1 Apr 2005 05:59:54 -0000	1.180
@@ -2204,7 +2204,7 @@
     $cust_pay = qsearchs('cust_pay', { paynum=>$options{'paynum'} } )
       or return "Unknown paynum $options{'paynum'}";
     $amount ||= $cust_pay->paid;
-    $cust_pay->paybatch =~ /^(\w+):(\w*)(:(\w+))?$/
+    $cust_pay->paybatch =~ /^(\w+):([\w-]*)(:(\w+))?$/
       or return "Can't parse paybatch for paynum $options{'paynum'}: ".
                 $cust_pay->paybatch;
     ( $pay_processor, $auth, $order_number ) = ( $1, $2, $4 );




More information about the freeside-commits mailing list