+
+
@if ($ad->jobs->count())
@@ -71,7 +71,7 @@
|
-
+ |
@if ($ad->favorite_vacancy==1)
Да
@@ -83,7 +83,7 @@
@endif
|
-
+ |
@if ($ad->sroch_vacancy==1)
Да
@@ -95,11 +95,11 @@
@endif
|
-
+ |
{{ $ad->status }}
|
-
+ |
{{ date('d.m.Y', strtotime($ad->created_at)) }}
@@ -111,7 +111,7 @@
|
-
+ |
Изменить
diff --git a/resources/views/admin/education/index.blade.php b/resources/views/admin/education/index.blade.php
index 7fa824f..c7935e9 100644
--- a/resources/views/admin/education/index.blade.php
+++ b/resources/views/admin/education/index.blade.php
@@ -1,7 +1,23 @@
@extends('layout.admin', ['title' => 'Админка - Справочник образование'])
@section('script')
+
+@endsection
+@section('modal')
+ @include('admin.education.modal')
@endsection
@section('search')
@@ -39,12 +55,10 @@
|
-
+ @if ($cat->id)
+ Изменить
+ | Удалить
+ @endif
|
diff --git a/resources/views/admin/education/modal.blade.php b/resources/views/admin/education/modal.blade.php
new file mode 100644
index 0000000..6d1d07c
--- /dev/null
+++ b/resources/views/admin/education/modal.blade.php
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+ Вы действительно хотите удалить это учебное заведение?
+
+
+
+ Это приведет к удалению всей информации об учебном учреждении
+
+
+
+
+
diff --git a/resources/views/admin/employer/index.blade.php b/resources/views/admin/employer/index.blade.php
index 4202ed8..6d64f2a 100644
--- a/resources/views/admin/employer/index.blade.php
+++ b/resources/views/admin/employer/index.blade.php
@@ -136,15 +136,15 @@
@foreach($users as $user)
-
+ |
{{$user->id}}
|
-
+ |
@if (isset($user->code_id))
{{$user->code_id}}
@endif
|
-
+ |
@if (isset($user->emp_logo) && ($user->emp_logo))
-
+ |
{{$user->name}}
@@ -184,10 +184,10 @@
|
-
+ |
{{ $user->category }}
|
-
+ |
@if (!empty($user->comment_admin))
Есть
@@ -195,10 +195,10 @@
Нет
@endif
|
-
+ |
{{ date('d.m.Y', strtotime($user->created_at)) }}
|
-
+ |
@if (!empty($user->emp_id))
Изменить
@if ($user->emp_id > 2) | Удалить
diff --git a/resources/views/admin/users/index_bd.blade.php b/resources/views/admin/users/index_bd.blade.php
index a902ad2..de3599c 100644
--- a/resources/views/admin/users/index_bd.blade.php
+++ b/resources/views/admin/users/index_bd.blade.php
@@ -40,6 +40,26 @@
});
});
+
+
+@endsection
+
+@section('modal')
+ @include('admin.users.modal')
@endsection
@section('search')
@@ -67,10 +87,10 @@
|
@foreach($users as $user)
-
+ |
{{$user->id}}
|
-
+ |
@@ -148,17 +168,15 @@
@endisset
|
-
+ |
{{ date('d.m.Y', strtotime($user->created_at)) }}
|
-
-
+ |
+ @if (!empty($user->id))
+ Изменить
+ | Удалить
+ @endif
|
@endforeach
diff --git a/resources/views/admin/users/modal.blade.php b/resources/views/admin/users/modal.blade.php
new file mode 100644
index 0000000..d75ffee
--- /dev/null
+++ b/resources/views/admin/users/modal.blade.php
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+ Вы действительно хотите удалить пользователя?
+
+
+
+ Это приведет к удалению всей информации о пользователе
+ на данном проекте.
+
+
+
+
+
diff --git a/resources/views/admin/worker/index.blade.php b/resources/views/admin/worker/index.blade.php
index 72a46fa..0c950dc 100644
--- a/resources/views/admin/worker/index.blade.php
+++ b/resources/views/admin/worker/index.blade.php
@@ -83,10 +83,10 @@
@foreach($users as $user)
-
+ |
{{$user->id}}
|
-
+ |
@if (isset($user->workers[0]->photo))
-
+ |
|
-
+ |
@if (isset($user->workers[0]->status_work))
{{ $status_wor[$user->workers[0]->status_work] }}
@else
@@ -152,17 +152,17 @@
@endif
|
-
+ |
@if (isset($user->jobtitles[0]->name))
{{ $user->jobtitles[0]->name }}
@else
Не задана
@endif
|
-
+ |
{{ date('d.m.Y h:i:s', strtotime($user->created_at)) }}
|
-
+ |
@if (isset($user->workers[0]->id))
Изменить | | | |