Implemented ability to add a customer, and fixed the problem with flagging of the primary contact.

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629/site@220 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-06 03:01:28 +00:00
parent e150237fd8
commit eab49091ae
4 changed files with 49 additions and 11 deletions

View File

@@ -159,7 +159,8 @@ class Customer extends AppModel {
('contain' => array
(// Models
'Contact' =>
array(// Models
array('order' => array('Contact.display_name'),
// Models
'ContactPhone',
'ContactEmail',
'ContactAddress',