Commit ca9962df authored by Kulya's avatar Kulya 😊

Upd alvbx add prods11

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