diff --git a/app/Providers/MyServiceProvider.php b/app/Providers/MyServiceProvider.php index 99c4c1d..a90cd39 100644 --- a/app/Providers/MyServiceProvider.php +++ b/app/Providers/MyServiceProvider.php @@ -116,7 +116,8 @@ class MyServiceProvider extends ServiceProvider $view_job_title = ['modals.register']; View::composer($view_job_title, function($view_job_title) { - $Job_titles = Job_title::query()->where('is_remove', '=', '1')->where('is_bd', '=' , '0')->get(); + $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> + where('is_bd', '=' , '1')->get(); $view_job_title->with(['Job_titles' => $Job_titles]); } );