large commit

This commit is contained in:
Omair Saleh
2019-10-07 15:06:43 +08:00
parent 9e3fac0a7a
commit db64a88f2c
@@ -41,9 +41,7 @@ class ListsOrderHistory
case OrderSteps::ORDER_PROCESSING_STEP:
$warehous = OrderWarehouse::where('order_id', $orderId)->first();
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']);
$this->history->push(['type' => 1, 'date' => $completeDate, 'description' => Warehouse::where('id', $warehous->warehouse_id)->first()->name.' confirmed as your order\'s warehouse']);
}
break;
case OrderSteps::ORDER_NO_WAREHOUSE_PENDING_SUPPLIER: