Enabled SSL active services, exclude external_billing in active services

This commit is contained in:
Deon George
2014-08-26 16:22:31 +10:00
parent 8ff4e65db6
commit 13e0782568
3 changed files with 4 additions and 4 deletions

View File

@@ -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',