Added a primary contact for each customer, as there must be someone (or some entity) to contact for every customer. This simply makes it explicit, and has the added benefit of being easier to work with when querying.

git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@104 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-06-13 04:19:19 +00:00
parent 3fb680e20f
commit 323c88a669

View File

@@ -9,6 +9,9 @@ class Customer extends AppModel {
var $belongsTo = array(
'Account',
'PrimaryContact' => array(
'className' => 'Contact',
),
);
var $hasMany = array(