mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
remove list yiwu to sabah or srawak orders
This commit is contained in:
@@ -136,18 +136,6 @@ Route::group(['prefix' => 'template', 'as' => 'template.'], function () {
|
||||
})->name('shipping-queue');
|
||||
});
|
||||
|
||||
Route::get('/yiwu', function () {
|
||||
$orders = \App\Models\Order::whereHas('OrderRoles', function($query){
|
||||
return $query->where('role_id', \App\Classes\ValueObjects\Constants\OrderRoleTypes::ORIGIN_WAREHOUSE)->where('company_module_id', 4);
|
||||
})->whereHas('OrderRoles', function($query){
|
||||
return $query->where('role_id', \App\Classes\ValueObjects\Constants\OrderRoleTypes::DESTINATION_WAREHOUSE)->where(function ($query){
|
||||
$query->where('company_module_id', 6)->orWhere('company_module_id', 6);
|
||||
});
|
||||
})->get();
|
||||
|
||||
dd($orders);
|
||||
|
||||
});
|
||||
|
||||
Route::get('/debug', function (){
|
||||
$orders = \App\Models\Order::all();
|
||||
|
||||
Reference in New Issue
Block a user