mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-22 14:03:57 +00:00
Major incomplete Change
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user