diff --git a/models/customer.php b/models/customer.php index 9ef4ea8..4da68dc 100644 --- a/models/customer.php +++ b/models/customer.php @@ -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'];