[freeside-commits] branch master updated. 2b9200148823cc2badcbcd5793f1ff0c664d7482

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


The branch, master has been updated
       via  2b9200148823cc2badcbcd5793f1ff0c664d7482 (commit)
      from  7e2ab49f83c119aeeaf7142e369b93bef9fdafd0 (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 2b9200148823cc2badcbcd5793f1ff0c664d7482
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 23 15:48:18 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