Standardisation work, changed accnum() to refnum()
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
<?php $o = Auth::instance()->get_user();
|
||||
echo Block::factory()
|
||||
->title(_('Customer Login Activity'))
|
||||
->title_icon('fa fa-eye')
|
||||
->body(Table::factory()
|
||||
->data(ORM::factory('Account_Log')->where_authorised($o)->find_all())
|
||||
->page_items(25)
|
||||
->columns(array(
|
||||
'id'=>'ID',
|
||||
'date_orig'=>'Date',
|
||||
'account->name()'=>'Account',
|
||||
'ip'=>'IP Address',
|
||||
'details'=>'Details',
|
||||
))
|
||||
);
|
@@ -1,6 +1,10 @@
|
||||
<!-- o = Model_Account -->
|
||||
<?php echo View::factory('service/user/list')->set('o',$o); ?>
|
||||
<?php echo View::factory('invoice/user/list/due')->set('o',$o); ?>
|
||||
<?php echo View::factory('service/user/list/expiring')->set('o',$o); ?>
|
||||
<?php echo View::factory('service/user/list/inactive')->set('o',$o); ?>
|
||||
<?php echo View::factory('welcome/user/view')->set('o',$o); ?>
|
||||
|
||||
<?php echo Block::factory()
|
||||
->title(sprintf('InActive Services for Account: %s',$o->refnum()))
|
||||
->title_icon('fa fa-barcode')
|
||||
->span(6)
|
||||
->body(View::factory('service/user/list/inactive')->set('o',$o->service->where('status','!=',1)->or_where('status','IS',null)->find_all())); ?>
|
||||
|
||||
<?php echo View::factory('invoice/user/next')->set('o',$o); ?>
|
||||
|
Reference in New Issue
Block a user