From: Joe Date: Sun, 13 Oct 2013 22:00:04 +0000 (+0200) Subject: Ehen automatic creating a branch the contact is also created on the customer. X-Git-Tag: 2.3-final~183 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f2e8e8b8c9baff6e469f35ae87b2efcefd259597;p=fa-stable.git Ehen automatic creating a branch the contact is also created on the customer. --- 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();