Changed checkout_plugin_id to checkout_id and ADSL speed to SUPPLIER speed
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user