Standardisation work, changed accnum() to refnum()
This commit is contained in:
@@ -40,22 +40,9 @@ class Controller_User_Service extends Controller_Service {
|
||||
$this->meta->title = 'Service List';
|
||||
|
||||
Block::factory()
|
||||
->title(sprintf('Services for Account: %s',$this->ao->accnum()))
|
||||
->title_icon('icon-th-list')
|
||||
->body(Table::factory()
|
||||
->jssort('services')
|
||||
->data($this->ao->service->find_all())
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'service_name()'=>'Service',
|
||||
'recur_schedule'=>'Billing',
|
||||
'price(TRUE,TRUE)'=>'Price',
|
||||
'status'=>'Active',
|
||||
))
|
||||
->prepend(array(
|
||||
'id'=>array('url'=>URL::link('user','service/view/')),
|
||||
))
|
||||
);
|
||||
->title(sprintf('Services for Account: %s',$this->ao->refnum()))
|
||||
->title_icon($this->icon)
|
||||
->body(View::factory('service/user/list')->set('o',$this->ao->service->find_all()));
|
||||
}
|
||||
|
||||
public function action_view() {
|
||||
|
Reference in New Issue
Block a user