From 689548bec3e2c0b923d965a41c65259be7dd8d2b Mon Sep 17 00:00:00 2001 From: Sergey Panarin Date: Thu, 1 Aug 2024 15:35:01 +0200 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D1=87=D0=B8=2052,60=20+=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF=D0=BE=20=D0=B0=D0=B4?= =?UTF-8?q?=D0=BC=D0=B8=D0=BD=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/WorkerController.php | 2 +- .../views/admin/employer_main/index.blade.php | 4 +- resources/views/index.blade.php | 219 ++------------------ 3 files changed, 15 insertions(+), 210 deletions(-) diff --git a/app/Http/Controllers/WorkerController.php b/app/Http/Controllers/WorkerController.php index 34858de..0c5ec64 100644 --- a/app/Http/Controllers/WorkerController.php +++ b/app/Http/Controllers/WorkerController.php @@ -464,7 +464,7 @@ class WorkerController extends Controller $use->save(); $worker->job_titles()->sync($job_title_id); - return redirect()->route('worker.basic_information')->with('success', 'Данные были успешно сохранены'); + return redirect()->route('worker.cabinet')->with('success', 'Данные были успешно сохранены'); } } diff --git a/resources/views/admin/employer_main/index.blade.php b/resources/views/admin/employer_main/index.blade.php index bf60495..07dbe9b 100644 --- a/resources/views/admin/employer_main/index.blade.php +++ b/resources/views/admin/employer_main/index.blade.php @@ -85,7 +85,7 @@ - + @foreach($employers as $emp) {{$emp->id}} @@ -127,7 +127,7 @@ - + @endforeach diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index f234cc6..40b2aeb 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -79,29 +79,6 @@ @endif - -
@@ -123,201 +100,29 @@

Работодатели

- -
@if ($employers->count()) @foreach($employers as $emp) - @if (!empty($emp->employer->logo)) - - {{ $emp->employer->name_company }} - - @else - - {{ $emp->employer->name_company }} - - @endif + @if (!empty($emp->employer->logo)) + + {{ $emp->employer->name_company }} + + @else + + {{ $emp->employer->name_company }} + + @endif @endforeach @else
Тут нет никаких записей
@endif
- -
-
-
- Все работодатели +
+ Все работодатели +
-- 1.7.10.4