X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sales%2Fmanage%2Fcustomers.php;h=511e8feab60b595e64a7034717f28876620b0cd3;hb=8f9265a8c89570c7815998dce800b5145dcf160e;hp=f76e1cd9ccecc8e24a7056d5b6a6f9aa310c4151;hpb=29a830f28694733a997b3095aecc8b192f7b7187;p=fa-stable.git diff --git a/sales/manage/customers.php b/sales/manage/customers.php index f76e1cd9..511e8fea 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -117,7 +117,7 @@ function handle_submit(&$selected_id) $selected_branch = db_insert_id(); - add_crm_person($_POST['CustName'], $_POST['cust_ref'], '', $_POST['address'], + add_crm_person($_POST['cust_ref'], $_POST['CustName'], '', $_POST['address'], $_POST['phone'], $_POST['phone2'], $_POST['fax'], $_POST['email'], '', ''); $pers_id = db_insert_id();