mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-26 16:04:23 +00:00
list yiwu to sabah or srawak orders
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ Route::get('/yiwu', function () {
|
||||
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);
|
||||
$query->where('company_module_id', 6)->orWhere('company_module_id', 7);
|
||||
});
|
||||
})->get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user