From 50aa60b60198862c3ce6c7c326505854a695f38c 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: Wed, 18 Oct 2023 20:33:02 +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=D0=B8=20=D0=BB=D0=BE=D0=B3=D0=BE,=20=D0=BA=D0=BE=D0?= =?UTF-8?q?=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Admin/EmployersController.php | 4 +++ resources/views/admin/employer/comment.blade.php | 29 ++++++++++++++++++++ resources/views/admin/employer/edit.blade.php | 6 ++-- resources/views/admin/employer/index.blade.php | 11 +++++++- routes/web.php | 2 ++ 5 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 resources/views/admin/employer/comment.blade.php diff --git a/app/Http/Controllers/Admin/EmployersController.php b/app/Http/Controllers/Admin/EmployersController.php index 50f00da..103414d 100644 --- a/app/Http/Controllers/Admin/EmployersController.php +++ b/app/Http/Controllers/Admin/EmployersController.php @@ -60,6 +60,10 @@ class EmployersController extends Controller } } + public function comment_read(Employer $employer) { + return view('admin.employer.comment', compact('employer')); + } + public function form_update_employer(Employer $employer) { $select_category = CategoryEmp::query()->active()->get(); return view('admin.employer.edit', compact('employer', 'select_category')); diff --git a/resources/views/admin/employer/comment.blade.php b/resources/views/admin/employer/comment.blade.php new file mode 100644 index 0000000..6b60d77 --- /dev/null +++ b/resources/views/admin/employer/comment.blade.php @@ -0,0 +1,29 @@ +@extends('layout.admin', ['title' => 'Админка - Редактирование работодателя']) + +@section('content') +

+ Работодатель-пользователь: "{{$employer->users->name_man}} ({{$employer->user_id}})" +

+
+ + +
+
+
+ + Назад + +
+
+
+@endsection diff --git a/resources/views/admin/employer/edit.blade.php b/resources/views/admin/employer/edit.blade.php index 79877d6..3bb743c 100644 --- a/resources/views/admin/employer/edit.blade.php +++ b/resources/views/admin/employer/edit.blade.php @@ -31,15 +31,15 @@