Commit a3f7f05ed32a971735dcba61c7aeee7c97ab3528

Authored by Андрей Ларионов
1 parent 7243b8e24f

Обновление в админке - удаленные должности

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

app/Http/Controllers/Admin/JobTitlesController.php
... ... @@ -18,7 +18,7 @@ class JobTitlesController extends Controller
18 18 */
19 19 public function index()
20 20 {
21   - $Jobs = Job_title::query()->orderBy('name')->paginate(15);
  21 + $Jobs = Job_title::query()->where('is_remove', '=', '0')->orderBy('name')->paginate(15);
22 22 return view('admin.job_titles.index', compact('Jobs'));
23 23 }
24 24