Commit 60d8a1262e9b840aaba7c9446158f07ab03084cf

Authored by Андрей Ларионов
1 parent 9c1ddc75ac
Exists in master

Провайдер связи

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

app/Providers/MyServiceProvider.php
... ... @@ -116,7 +116,8 @@ class MyServiceProvider extends ServiceProvider
116 116 $view_job_title = ['modals.register'];
117 117 View::composer($view_job_title,
118 118 function($view_job_title) {
119   - $Job_titles = Job_title::query()->where('is_remove', '=', '1')->where('is_bd', '=' , '0')->get();
  119 + $Job_titles = Job_title::query()->where('is_remove', '=', '0')->
  120 + where('is_bd', '=' , '1')->get();
120 121 $view_job_title->with(['Job_titles' => $Job_titles]);
121 122 }
122 123 );