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 }}