X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sales%2Fmanage%2Fcustomers.php;fp=sales%2Fmanage%2Fcustomers.php;h=511e8feab60b595e64a7034717f28876620b0cd3;hb=87ac1ff401682a1ccbbbf01ece7afe8ff518d3fe;hp=f76e1cd9ccecc8e24a7056d5b6a6f9aa310c4151;hpb=718ed983de9e42792408e11aad5da10c05472148;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();