diff --git a/app/Providers/MyServiceProvider.php b/app/Providers/MyServiceProvider.php index b92cb10..8265cfa 100644 --- a/app/Providers/MyServiceProvider.php +++ b/app/Providers/MyServiceProvider.php @@ -112,7 +112,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]); } );