[freeside-commits] branch FREESIDE_3_BRANCH updated. c321451f9b91cee741ceebb59f0c888cb59bc5aa

Ivan ivan at 420.am
Mon Jun 23 15:48:20 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  c321451f9b91cee741ceebb59f0c888cb59bc5aa (commit)
      from  682b3ae3a8f6a3c500ebb770c797df19d62ea305 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c321451f9b91cee741ceebb59f0c888cb59bc5aa
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 23 15:48:19 2014 -0700

    fix credit limits, RT#27267

diff --git a/FS/FS/cust_main/Credit_Limit.pm b/FS/FS/cust_main/Credit_Limit.pm
index 4b2fbdf..a6beb22 100644
--- a/FS/FS/cust_main/Credit_Limit.pm
+++ b/FS/FS/cust_main/Credit_Limit.pm
@@ -44,7 +44,7 @@ sub check_credit_limit {
   my $sum = qsearchs( {
     'select'    => 'SUM(rated_price) AS rated_price',
     'table'     => 'cdr',
-    'hashref'   => { 'status' => 'rated', },
+    'hashref'   => { 'freesidestatus' => 'rated', },
     'extra_sql' => ' AND svcnum IN ('. join(',', at svcnum). ') ',
   } );
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_main/Credit_Limit.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list