Removed lingering debug prints

git-svn-id: file:///svn-source/pmgr/branches/invoice_receipt_20090629@248 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
abijah
2009-07-07 08:08:36 +00:00
parent 06b8ff2ae9
commit b36d3117a3

View File

@@ -216,7 +216,6 @@ class Customer extends AppModel {
if (!$data['Customer']['name']) {
$this->Contact->recursive = -1;
$pcontact = $this->Contact->read(null, $data['Customer']['primary_contact_id']);
pr($pcontact);
$data['Customer']['name'] = $pcontact['Contact']['display_name'];
}
@@ -247,8 +246,6 @@ class Customer extends AppModel {
// Go through each entry of this customer method
foreach ($data['Contact'] AS &$contact) {
pr(compact('contact'));
// Update the ContactsCustomer to reflect the appropriate IDs
$contact['ContactsCustomer']['customer_id'] = $id;
$contact['ContactsCustomer']['contact_id'] = $contact['id'];