fix orderHistory init time;
This commit is contained in:
parent
08c5169417
commit
a8f746d1bd
@ -373,15 +373,10 @@ class ICrmOrderActions
|
|||||||
|
|
||||||
$orderHistory = $api->orderHistory($dateStart);
|
$orderHistory = $api->orderHistory($dateStart);
|
||||||
|
|
||||||
echo $dateStart;
|
|
||||||
echo '<br />';
|
|
||||||
|
|
||||||
$dateStart = new \DateTime($dateStart);
|
$dateStart = new \DateTime($dateStart);
|
||||||
|
|
||||||
echo json_encode($orderHistory);
|
echo json_encode($orderHistory);
|
||||||
|
|
||||||
self::eventLog('ICrmOrderActions::orderHistory', 'history_log', json_encode($orderHistory));
|
|
||||||
|
|
||||||
// pushing existing orders
|
// pushing existing orders
|
||||||
foreach ($orderHistory as $order) {
|
foreach ($orderHistory as $order) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user