Removed monetary_source_type. It was redundant, and it's entirely unclear what purpose it ultimately would or could serve. Our use of different accounts for Check, Cash, etc likely obsoleted any intention we might have had for monetary_source_type
git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@288 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -38,8 +38,7 @@ class MonetarySourcesController extends AppController {
|
||||
|
||||
function jqGridDataTables(&$params, &$model) {
|
||||
return array
|
||||
('link' => array('MonetaryType' => array('fields' => array('MonetaryType.id', 'MonetaryType.name')),
|
||||
),
|
||||
('contain' => false,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -65,9 +64,7 @@ class MonetarySourcesController extends AppController {
|
||||
// Get the MonetarySource and related fields
|
||||
$monetary_source = $this->MonetarySource->find
|
||||
('first', array
|
||||
('contain' => array
|
||||
('MonetaryType',
|
||||
),
|
||||
('contain' => false,
|
||||
));
|
||||
|
||||
// Prepare to render.
|
||||
|
||||
Reference in New Issue
Block a user