1
0
mirror of synced 2024-11-25 14:56:09 +03:00

fix orderHistory init time;

This commit is contained in:
Grisha Pomadchin 2014-01-28 17:46:27 +04:00
parent 08c5169417
commit a8f746d1bd

View File

@ -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) {