bug fix with not uploaded orders (bitrix -> crm).
This commit is contained in:
parent
b551f9e661
commit
fda1c857d2
@ -1,7 +1,7 @@
|
|||||||
Bitrix module
|
Bitrix module
|
||||||
=============
|
=============
|
||||||
|
|
||||||
Bitrix module for interaction with IntaroCRM throguh REST API.
|
Bitrix module for interaction with IntaroCRM through REST API.
|
||||||
|
|
||||||
Module allows:
|
Module allows:
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ class ICrmOrderActions
|
|||||||
|
|
||||||
while ($arOrder = $dbOrder->GetNext()) {
|
while ($arOrder = $dbOrder->GetNext()) {
|
||||||
if ($arOrder['ID'] <= $lastUpOrderId) //old orders not to upload
|
if ($arOrder['ID'] <= $lastUpOrderId) //old orders not to upload
|
||||||
return true;
|
break;
|
||||||
|
|
||||||
if(!$lastUpOrderIdNew)
|
if(!$lastUpOrderIdNew)
|
||||||
$lastUpOrderIdNew = $arOrder['ID'];
|
$lastUpOrderIdNew = $arOrder['ID'];
|
||||||
|
Loading…
Reference in New Issue
Block a user