Added more information to the tender grid, and a new query to return depositable types
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716@409 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -38,12 +38,16 @@ class TendersController extends AppController {
|
||||
|
||||
function gridDataTables(&$params, &$model) {
|
||||
return array
|
||||
('contain' => false,
|
||||
('link' =>
|
||||
array('LedgerEntry' =>
|
||||
array('Transaction',
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
function gridDataPostProcessLinks(&$params, &$model, &$records, $links) {
|
||||
$links['Tender'] = array('id');
|
||||
$links['Tender'] = array('name', 'id');
|
||||
return parent::gridDataPostProcessLinks($params, $model, $records, $links);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user