Added preliminary support for units. The queries are giving me a heck of a time, so I've cheated in some places. For the most part though, it's working. Also, something went wrong with svn, and view/contacts/view.ctp was not right (a checkin seems to have been omitted on it). This checking brings it up to date.
git-svn-id: file:///svn-source/pmgr/branches/initial_20090526/site@28 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -13,7 +13,6 @@ class UnitSize extends AppModel {
|
||||
'amount' => array('money')
|
||||
);
|
||||
|
||||
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
||||
var $belongsTo = array(
|
||||
'UnitType' => array(
|
||||
'className' => 'UnitType',
|
||||
|
||||
@@ -8,7 +8,6 @@ class UnitType extends AppModel {
|
||||
'name' => array('notempty')
|
||||
);
|
||||
|
||||
//The Associations below have been created with all possible keys, those that are not needed can be removed
|
||||
var $hasMany = array(
|
||||
'UnitSize' => array(
|
||||
'className' => 'UnitSize',
|
||||
|
||||
Reference in New Issue
Block a user