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:
abijah
2009-05-28 11:26:09 +00:00
parent 54c7287ee4
commit 7805e4d229
7 changed files with 439 additions and 17 deletions

View File

@@ -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',

View File

@@ -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',