large commit

This commit is contained in:
Omair Saleh
2019-10-07 15:05:55 +08:00
parent 506d335add
commit 9e3fac0a7a
@@ -40,8 +40,9 @@ class ListsOrderHistory
switch ($step->reference_id){
case OrderSteps::ORDER_PROCESSING_STEP:
$warehous = OrderWarehouse::where('order_id', $orderId)->first();
dd($warehous);
if($warehous){
dd($warehous->id);
$this->history->push(['type' => 1, 'date' => $completeDate, 'description' => Warehouse::where('id', $warehous->id)->first()->name.' confirmed as your order\'s warehouse']);
}
break;