diff --git a/application/IvtCustomer/IvtCustomerController.php b/application/IvtCustomer/IvtCustomerController.php index 7f260bd32..b2ec99c4d 100644 --- a/application/IvtCustomer/IvtCustomerController.php +++ b/application/IvtCustomer/IvtCustomerController.php @@ -50,7 +50,7 @@ class IvtCustomerController extends mfBaseController { $ivtc->firstname = ""; $ivtc->surname = str_replace("\r\n", " ", str_replace("\n", " ", $contact->company)); } - $ivtc->UID = ""; // XXX + $ivtc->UID = $ivtc->uid; // XXX $ivtc->zip = $contact->zip; $ivtc->location = $contact->city; @@ -108,6 +108,9 @@ class IvtCustomerController extends mfBaseController { } else { $return = ['status' => 'error', 'reason' => "save"]; } + + $this->log->debug("new IVT customer:\n".print_r($ivtc)); + $this->returnJson($return); } } \ No newline at end of file