diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-06-23 15:48:18 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-06-23 15:48:18 -0700 |
commit | 2b9200148823cc2badcbcd5793f1ff0c664d7482 (patch) | |
tree | 950e5cf0d93614091a3cac2086e5c0894cd5c11a | |
parent | 7e2ab49f83c119aeeaf7142e369b93bef9fdafd0 (diff) |
fix credit limits, RT#27267
-rw-r--r-- | FS/FS/cust_main/Credit_Limit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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(',',@svcnum). ') ', } ); |