Commit 3216a662 authored by Kulya's avatar Kulya 😊

Begin adding Client to Billz2

parent 38062638
...@@ -710,7 +710,8 @@ class AloVoiceRest ...@@ -710,7 +710,8 @@ class AloVoiceRest
$sFilter["id"] = $p["order_id"]; $sFilter["id"] = $p["order_id"];
} }
else { else {
$sFilter[">dateUpdate"] = self::get_orders_last_update(); //"2021-12-10T18:46:50+05:00"; $orders_last_update = self::get_orders_last_update(); //"2021-12-10T18:46:50+05:00";
$sFilter[">dateUpdate"] = $orders_last_update; //"2021-12-10T18:46:50+05:00";
} }
$res = BxRest::call("sale.order.list",[ $res = BxRest::call("sale.order.list",[
...@@ -760,7 +761,7 @@ class AloVoiceRest ...@@ -760,7 +761,7 @@ class AloVoiceRest
$ordCount = count($arResOrders); $ordCount = count($arResOrders);
ALVC::eLog(["orders"=>$ordCount],"------ AloVoiceRest :: process_orders_synch CRON Done!"); ALVC::eLog(["orders"=>$ordCount],"------ AloVoiceRest :: process_orders_synch From:[".$orders_last_update."] CRON Done!");
return $arResOrders ; return $arResOrders ;
......
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