From f36e2a63120b6906e39fd17ed8264387e338fc4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Sun, 31 Mar 2024 16:34:06 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BC=D0=B8=D1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Admin/JobTitlesController.php | 4 ++-- resources/views/companies.blade.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/Admin/JobTitlesController.php b/app/Http/Controllers/Admin/JobTitlesController.php index eb62bdb..501da9b 100644 --- a/app/Http/Controllers/Admin/JobTitlesController.php +++ b/app/Http/Controllers/Admin/JobTitlesController.php @@ -34,7 +34,7 @@ class JobTitlesController extends Controller orderBy('name')-> active()-> get();*/ - $category = Category::query()->get(); + $category = Category::query()->active()->get(); return view('admin.job_titles.add', compact('category')); } @@ -70,7 +70,7 @@ class JobTitlesController extends Controller */ public function edit(Job_title $job_title) { - $category = Category::query()->get(); + $category = Category::query()->active()->get(); return view('admin.job_titles.edit', compact('job_title', 'category')); } diff --git a/resources/views/companies.blade.php b/resources/views/companies.blade.php index be08680..d48038e 100644 --- a/resources/views/companies.blade.php +++ b/resources/views/companies.blade.php @@ -184,8 +184,8 @@ @endif @endforeach - - {{ $emps->appends($_GET)->links('paginate') }} + hgfhgfhgfghf + {{ $emps->appends($_GET)->onEachSide(0)->links('paginate') }} @else

Нет данных

@endif -- 1.7.10.4