Changed checkout_plugin_id to checkout_id and ADSL speed to SUPPLIER speed

This commit is contained in:
Deon George
2013-06-17 22:47:44 +10:00
parent 98a36554ae
commit 1caeed6606
11 changed files with 18 additions and 18 deletions

View File

@@ -52,7 +52,7 @@ class Controller_Reseller_Service extends Controller_Service {
foreach (ORM::factory('Account')->where_active()->where('id','IN',$this->ao->RTM->customers($this->ao->RTM))->find_all() as $ao)
if ($ao->has_any('group',array($go)))
foreach ($ao->service->list_active() as $so)
if (! $so->service_billing->checkout_plugin_id)
if (! $so->service_billing->checkout_id)
array_push($svs,$so);
if ($svs)
@@ -82,7 +82,7 @@ class Controller_Reseller_Service extends Controller_Service {
foreach ($co->account->where('account.id','IN',$this->ao->RTM->customers($this->ao->RTM))->find_all() as $ao)
foreach ($ao->service->list_active() as $so)
if ($so->service_billing->checkout_plugin_id == $co->id)
if ($so->service_billing->checkout_id == $co->id)
array_push($svs,$so);
if ($svs)