From f2e8e8b8c9baff6e469f35ae87b2efcefd259597 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 14 Oct 2013 00:00:04 +0200 Subject: [PATCH] Ehen automatic creating a branch the contact is also created on the customer. --- sales/manage/customers.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sales/manage/customers.php b/sales/manage/customers.php index d7422f22..c6664967 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -121,6 +121,8 @@ function handle_submit(&$selected_id) $_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], '', ''); add_crm_contact('cust_branch', 'general', $selected_branch, db_insert_id()); + + add_crm_contact('customer', 'general', $selected_id, db_insert_id()); } commit_transaction(); -- 2.30.2