18 lines
398 B
PHP
18 lines
398 B
PHP
<!-- o = Array of Account -->
|
|
<?php echo Table::factory()
|
|
->data($o)
|
|
->jssort('customer')
|
|
->columns(array(
|
|
'id'=>'ID',
|
|
'status'=>'Active',
|
|
'refnum()'=>'Num',
|
|
'name(TRUE)'=>'Account',
|
|
'email'=>'Email',
|
|
'invoices_due_total(NULL,TRUE)'=>'Invoices',
|
|
'service->find_all()->count()'=>'Services',
|
|
))
|
|
->prepend(array(
|
|
'id'=>array('url'=>URL::link('reseller','account/view/')),
|
|
));
|
|
?>
|