fix orderHistory init time;
This commit is contained in:
parent
08c5169417
commit
a8f746d1bd
1 changed files with 0 additions and 5 deletions
|
@ -373,15 +373,10 @@ class ICrmOrderActions
|
|||
|
||||
$orderHistory = $api->orderHistory($dateStart);
|
||||
|
||||
echo $dateStart;
|
||||
echo '<br />';
|
||||
|
||||
$dateStart = new \DateTime($dateStart);
|
||||
|
||||
echo json_encode($orderHistory);
|
||||
|
||||
self::eventLog('ICrmOrderActions::orderHistory', 'history_log', json_encode($orderHistory));
|
||||
|
||||
// pushing existing orders
|
||||
foreach ($orderHistory as $order) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue