Commit ca9962df authored by Kulya's avatar Kulya 😊

Upd alvbx add prods11

parent 1e8f2ed7
......@@ -405,12 +405,15 @@ class AloVoiceRest
if(!empty($conf["bxbillzfields"])){
foreach($conf["bxbillzfields"] as $bxf=>$blzf){
$bxFld = substr($bxf,9);
var_dump($bxFld);
var_dump("-----------------------");
if(substr($bxFld,0,2)=="F_"){
if(substr($blzf,0,10)=="_imageUrls" && !empty($data["imageUrls"][0]["url"])){
$purl = str_replace("_square","",$data["imageUrls"][0]["url"]);
$arImage = $this->get_image_by_url($purl);
$bxFld = substr($bxFld,2);
$arPic = [ "value" => [ "fileData" => [
$blzVal = [ "value" => [ "fileData" => [
$arImage["name"],
$arImage["base64"]
]]];
......
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