Major incomplete Change

This commit is contained in:
Omair Saleh
2019-03-05 18:45:59 +08:00
parent be1356c853
commit 959257c132
@@ -20,13 +20,13 @@ class ListsOrderHistory
$history = new Collection();
$history->push(['date' => $createdAt->format('d-m-Y H:i'), 'description' => 'Order created']);
$history->push(['date' => $createdAt->format('d-m-Y H:i'), 'description' => 'Order number has been created']);
foreach ($orderSteps as $step){
switch ($step->reference_id){
case Constants::ORDER_PROCESSING_STEP:
$history->push(['date' => $step->updated_at->format('d-m-Y H:i'), 'description' => 'Order number has been created']);
$history->push(['date' => $step->updated_at->format('d-m-Y H:i'), 'description' => 'Order warehouse confirmed']);
break;
case Constants::ORDER_NO_WAREHOUSE_PENDING_SUPPLIER:
$history->push(['date' => $step->updated_at->format('d-m-Y H:i'), 'description' => 'Your Order has been loaded into container']);