Fixes from live
This commit is contained in:
@@ -81,10 +81,8 @@ class Controller_Reseller_Service extends Controller_Service {
|
||||
foreach (ORM::factory('Checkout')->find_all() as $co) {
|
||||
$svs = array();
|
||||
|
||||
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_id == $co->id)
|
||||
array_push($svs,$so);
|
||||
foreach ($co->service->where('service.account_id','IN',$this->ao->RTM->customers($this->ao->RTM))->find_all() as $so)
|
||||
array_push($svs,$so);
|
||||
|
||||
if ($svs)
|
||||
Block::factory()
|
||||
|
Reference in New Issue
Block a user