mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 04:24:00 +00:00
large commit
This commit is contained in:
@@ -39,8 +39,9 @@ class ListsOrderHistory
|
||||
$completeDate = Carbon::parse($step->complete_date)->format('d-m-Y');
|
||||
switch ($step->reference_id){
|
||||
case OrderSteps::ORDER_PROCESSING_STEP:
|
||||
if($order->warehouse_id){
|
||||
$this->history->push(['type' => 1, 'date' => $completeDate, 'description' => Warehouse::where('id', $order->warehouse_id)->first()->name.' confirmed as your order\'s warehouse']);
|
||||
$warehous = OrderWarehouse::where('order_id', $orderId)->first();
|
||||
if($warehous){
|
||||
$this->history->push(['type' => 1, 'date' => $completeDate, 'description' => Warehouse::where('id', $warehous->id)->first()->name.' confirmed as your order\'s warehouse']);
|
||||
}
|
||||
break;
|
||||
case OrderSteps::ORDER_NO_WAREHOUSE_PENDING_SUPPLIER:
|
||||
|
||||
Reference in New Issue
Block a user