More use of list_active(), setup ajax actions that are check to be ajax
This commit is contained in:
@@ -54,7 +54,7 @@ class Controller_Affiliate_Service extends Controller_TemplateDefault_Affiliate
|
||||
// @todo This needs to be configurable
|
||||
$go = ORM::factory('group',array('name'=>'Personal'));
|
||||
|
||||
foreach (ORM::factory('account')->where('status','=',1)->find_all() as $ao)
|
||||
foreach (ORM::factory('account')->list_active() as $ao)
|
||||
if ($ao->has_any('group',array($go)))
|
||||
foreach ($this->filter($ao->service->list_active(),$this->ao->affiliate->id,'name()') as $so)
|
||||
if (! $so->service_billing->checkout_plugin_id)
|
||||
|
Reference in New Issue
Block a user