Commit bbf89941 authored by Kulya's avatar Kulya 😊

Begin adding Client to Billz 17

parent 280d6122
......@@ -812,6 +812,9 @@ class AloVoiceRest
ALVC::eLog($clientAddRes,"------ Billz :: Client Add RES:");
if(!empty($clientAddRes["result"]["clientId"])){
$blzClientID = $clientAddRes["result"]["clientId"];
$resContUpd = BxRest::call("crm.contact.update",[ "id" => $clientId, "fields"=> ["UF_CRM_1644411792448"=>$blzClientID] ]);
ALVC::eLog($resContUpd,"------ Billz :: Client(contact) Update RES:");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment