Replaced the hardcoded 'level' checks, and incorporated (as a first pass) the new permission mechanism
git-svn-id: file:///svn-source/pmgr/branches/pre_0.1_work_20090819@802 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -15,8 +15,8 @@ $cols['Balance'] = array('index' => 'balance', 'formatter' => 'c
|
||||
// Render the grid
|
||||
$grid
|
||||
->columns($cols)
|
||||
->sortField('Account')
|
||||
->defaultFields(array('Account', 'Sequence'))
|
||||
->searchFields(array('Account', 'Comment'))
|
||||
->sortField('Sequence')
|
||||
->defaultFields(array('Sequence'))
|
||||
->searchFields(array('Comment'))
|
||||
->render($this, isset($config) ? $config : null,
|
||||
array_diff(array_keys($cols), array('Open Date', 'Comment')));
|
||||
array_diff(array_keys($cols), array('Account', 'Open Date', 'Comment')));
|
||||
|
||||
Reference in New Issue
Block a user