Some updates after changing to KH335 and updating submodules
This commit is contained in:
16
modules/service/views/service/user/list.php
Normal file
16
modules/service/views/service/user/list.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- o = Model_Account -->
|
||||
<?php echo Block::factory()
|
||||
->title(sprintf('Active Service for Account: %s',$o->accnum()))
|
||||
->title_icon('fa-server')
|
||||
->span(6)
|
||||
->body(Table::factory()
|
||||
->data($o->service->list_active())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'service_name()'=>'Service',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','service/view/')),
|
||||
))
|
||||
);
|
||||
?>
|
17
modules/service/views/service/user/list/expiring.php
Normal file
17
modules/service/views/service/user/list/expiring.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- o = Model Account -->
|
||||
<?php echo Block::factory()
|
||||
->title(sprintf('Services Expiring for Account: %s',$o->accnum()))
|
||||
->title_icon('fa fa-level-down')
|
||||
->span(6)
|
||||
->body(Table::factory()
|
||||
->data($o->service->list_expiring())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'service_name(60)'=>'Service',
|
||||
'expire(TRUE)'=>'Date',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','service/view/')),
|
||||
))
|
||||
);
|
||||
?>
|
Reference in New Issue
Block a user