From b8701187c1cd1e25e6025f705c06598792d4dac4 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: Thu, 25 Apr 2024 18:13:33 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D0=B1=D0=BE=D1=82=D0=BE=D0=B4=D0=B0=D1?= =?UTF-8?q?=82=D0=B5=D0=BB=D1=8C=20-=20=D0=BA=D0=B0=D0=B1=D0=B8=D0=BD=D0=B5=D1?= =?UTF-8?q?=82=20=D0=B4=D0=BE=D0=BB=D0=B6=D0=BD=D0=BE=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/EmployerController.php | 6 ------ resources/views/employers/add_vacancy.blade.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php index 05d89ff..022f9c8 100644 --- a/app/Http/Controllers/EmployerController.php +++ b/app/Http/Controllers/EmployerController.php @@ -230,13 +230,7 @@ class EmployerController extends Controller // Карточка вакансии public function vacancy_edit(Ad_employer $ad_employer) { $id = Auth()->user()->id; - $Positions = Category::query()->where('is_remove', '=', '0')->get(); - //if ($Positions->count()) { - // $jobs = Job_title::query()->OrderBy('name')->where('position_id', $Positions[0]->id)->get(); - //} else { - // $jobs = Job_title::query()->OrderBy('name')->where('position_id', 0)->get(); - //} $jobs = Job_title::query()->OrderBy('name')->where('is_remove', 0)->get(); $Employer = Employer::query()->with('users')->with('ads')->with('flots')-> diff --git a/resources/views/employers/add_vacancy.blade.php b/resources/views/employers/add_vacancy.blade.php index 988690e..8f88ab8 100644 --- a/resources/views/employers/add_vacancy.blade.php +++ b/resources/views/employers/add_vacancy.blade.php @@ -148,7 +148,7 @@
- + @error('text') {{ $message }} -- 1.7.10.4