Show inactive services on account page
This commit is contained in:
@@ -125,6 +125,22 @@ class Controller_Reseller_Account extends Controller_Account {
|
||||
->title_icon('icon-info-sign')
|
||||
->span(6)
|
||||
->body($i->render('html','body',array('noid'=>TRUE)));
|
||||
|
||||
Block::factory()
|
||||
->title(sprintf('InActive Services for Account: %s',$ao->accnum()))
|
||||
->title_icon('icon-info-sign')
|
||||
->span(6)
|
||||
->body(Table::factory()
|
||||
->data($ao->service->where('status','!=',1)->or_where('status','IS',null)->find_all())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'service_name()'=>'Service',
|
||||
'date_end'=>'Date',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','service/view/')),
|
||||
))
|
||||
);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user