Enabled SSL active services, exclude external_billing in active services
This commit is contained in:
@@ -25,7 +25,7 @@ class Controller_Reseller_SSL extends Controller_SSL {
|
||||
->title_icon('icon-th-list')
|
||||
->body(Table::factory()
|
||||
->jssort('ca')
|
||||
->data(ORM::factory('SSL_CA')->where_authorised($this->ao)->find_all())
|
||||
->data(ORM::factory('SSL_CA')->where_authorised($this->ao)->where_active()->find_all())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'sign_cert'=>'Cert',
|
||||
@@ -53,7 +53,7 @@ class Controller_Reseller_SSL extends Controller_SSL {
|
||||
->title_icon('icon-th-list')
|
||||
->body(Table::factory()
|
||||
->jssort('ca')
|
||||
->data($sco->where_authorised($this->ao)->list_childca())
|
||||
->data($sco->where_authorised($this->ao)->where_active()->list_childca())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'sign_cert'=>'Cert',
|
||||
|
@@ -148,7 +148,7 @@ class Model_SSL_CA extends ORM_OSB {
|
||||
}
|
||||
|
||||
public function list_childca() {
|
||||
return $this->children->find_all();
|
||||
return $this->children->where_active()->find_all();
|
||||
}
|
||||
|
||||
public function list_childcrt() {
|
||||
|
Reference in New Issue
Block a user