diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-06-23 15:48:19 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-06-23 15:48:19 -0700 |
commit | c321451f9b91cee741ceebb59f0c888cb59bc5aa (patch) | |
tree | 23f59c7824431d1c6a104ed91684b8f25bf7f6de | |
parent | 682b3ae3a8f6a3c500ebb770c797df19d62ea305 (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 4b2fbdfe4..a6beb22d5 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). ') ', } ); |