diff --git a/routes/web.php b/routes/web.php index 5554254e..c513cdef 100644 --- a/routes/web.php +++ b/routes/web.php @@ -202,7 +202,7 @@ Route::group(['prefix' => 'template', 'as' => 'template.'], function () { 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); + return $query->where('role_id', \App\Classes\ValueObjects\Constants\OrderRoleTypes::ORIGIN_WAREHOUSE)->where('company_module_id', 2358); })->whereHas('addresses', function($query){ return $query->where('status', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED)->whereIn('state_id', [5, 13, 14]); })->get(); @@ -418,3 +418,5 @@ Route::get('/payment-and-billing', function () { return view('pages.paymentAndBilling'); })->name('admin.payment-and-billing'); Route::get('/notifications/list', 'Notifications\ListNotificationsController@list')->name('notifications.list'); + +