projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5745609
)
Ehen automatic creating a branch the contact is also created on the customer.
author
Joe
<unknown>
Sun, 13 Oct 2013 22:00:04 +0000
(
00:00
+0200)
committer
Joe
<unknown>
Sun, 13 Oct 2013 22:00:04 +0000
(
00:00
+0200)
sales/manage/customers.php
patch
|
blob
|
history
diff --git
a/sales/manage/customers.php
b/sales/manage/customers.php
index d7422f22034f8cd4f3dd992a805352f191a4246c..c66649676dd75e9db09961be893e6857ec5c7989 100644
(file)
--- 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();