Commit 73b12960f4266aff6e366cc88c1c9a4d79080c6e
1 parent
85dc0eb944
Exists in
master
and in
1 other branch
Коммит по обновлению должностей - 4 обновление
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
app/Providers/MyServiceProvider.php
... | ... | @@ -112,7 +112,8 @@ class MyServiceProvider extends ServiceProvider |
112 | 112 | $view_job_title = ['modals.register']; |
113 | 113 | View::composer($view_job_title, |
114 | 114 | function($view_job_title) { |
115 | - $Job_titles = Job_title::query()->where('is_remove', '=', '1')->where('is_bd', '=' , '0')->get(); | |
115 | + $Job_titles = Job_title::query()->where('is_remove', '=', '0')-> | |
116 | + where('is_bd', '=' , '1')->get(); | |
116 | 117 | $view_job_title->with(['Job_titles' => $Job_titles]); |
117 | 118 | } |
118 | 119 | ); |