mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-25 15:33:58 +00:00
large commit
This commit is contained in:
@@ -75,8 +75,7 @@ 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();
|
||||
$warehouseAddress = AddressBook::where('type', 2)->where('reference_id', $warehouse->warehouse_id)->firstOrFail();
|
||||
$warehouseContact = Contact::where('type', 2)->where('reference_id', $warehouse->id)->get();
|
||||
|
||||
$data = [
|
||||
|
||||
Reference in New Issue
Block a user