large commit

This commit is contained in:
Omair Saleh
2019-10-07 14:51:46 +08:00
parent e9e6c4abc0
commit 75b4104ef1
@@ -75,8 +75,8 @@ class OrderController extends Controller
public function download(String $orderId, String $type){
$order = order::findOrFail($orderId);
$warehouse = OrderWarehouse::where('order_id', $orderId)->firstOrFail();
dd($warehouse->id);
$warehouseAddress = AddressBook::where('type', 2)->where('reference_id', $warehouse->id)->firstOrFail();
dd($warehouse);
$warehouseContact = Contact::where('type', 2)->where('reference_id', $warehouse->id)->get();
$data = [