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:
abijah
2009-07-29 02:41:50 +00:00
parent e7b71e0abb
commit a4459ef0de
3 changed files with 47 additions and 19 deletions

View File

@@ -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);
}