Commit 81a09c1311b02ca906a658263be540e1f7367bc7
Exists in
master
Merge branch 'task-132687' into 'master'
task-132687 minor changes
Showing 4 changed files Inline Diff
app/Classes/Tools.php
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | 3 | ||
4 | namespace App\Classes; | 4 | namespace App\Classes; |
5 | 5 | ||
6 | 6 | ||
7 | use App\Models\Worker; | 7 | use App\Models\Worker; |
8 | 8 | ||
9 | class Tools | 9 | class Tools |
10 | { | 10 | { |
11 | static function generator_id($length = 6) | 11 | static function generator_id($length = 6) |
12 | { | 12 | { |
13 | $word = ''; | 13 | $word = ''; |
14 | $arr = array( | 14 | $arr = array( |
15 | 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', | 15 | 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', |
16 | 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', | 16 | 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', |
17 | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', | 17 | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', |
18 | 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', | 18 | 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', |
19 | '1', '2', '3', '4', '5', '6', '7', '8', '9', '0' | 19 | '1', '2', '3', '4', '5', '6', '7', '8', '9', '0' |
20 | ); | 20 | ); |
21 | 21 | ||
22 | for ($i = 0; $i < $length; $i++) { | 22 | for ($i = 0; $i < $length; $i++) { |
23 | $word .= $arr[random_int(0, count($arr) - 1)]; | 23 | $word .= $arr[random_int(0, count($arr) - 1)]; |
24 | } | 24 | } |
25 | return $word; | 25 | return $word; |
26 | } | 26 | } |
27 | 27 | ||
28 | public static function getWorkerProfilePercent(Worker $Worker): int | 28 | public static function getWorkerProfilePercent(Worker $Worker): int |
29 | { | 29 | { |
30 | $persent = 0; | 30 | $persent = 0; |
31 | 31 | ||
32 | if ( | 32 | if((!empty($Worker->users->surname)) && |
33 | (!empty($Worker->users->surname)) && | ||
34 | (!empty($Worker->users->name_man)) && | 33 | (!empty($Worker->users->name_man)) && |
34 | (!empty($Worker->telephone)) && | ||
35 | (!empty($Worker->email)) | ||
36 | ) { | ||
37 | $persent += 10; | ||
38 | } | ||
39 | |||
40 | if ( | ||
35 | (!empty($Worker->users->surname2)) && | 41 | (!empty($Worker->users->surname2)) && |
36 | (!empty($Worker->old_year)) && | 42 | (!empty($Worker->old_year)) && |
37 | ($Worker->job_titles->count() > 0) && | 43 | ($Worker->job_titles->count() > 0) && |
38 | (!empty($Worker->salary_expectations)) && | 44 | (!empty($Worker->salary_expectations)) && |
39 | (!empty($Worker->experience)) && | 45 | (!empty($Worker->experience)) && |
40 | (!empty($Worker->english_level)) && | 46 | (!empty($Worker->english_level)) && |
41 | (!empty($Worker->ready_boart_date)) && | 47 | (!empty($Worker->ready_boart_date)) && |
42 | (!empty($Worker->boart_type_preference)) && | 48 | (!empty($Worker->boart_type_preference)) && |
43 | (!empty($Worker->visa_available)) && | 49 | (!empty($Worker->visa_available)) && |
44 | (!empty($Worker->confirmation_work_for_vvp)) && | 50 | (!empty($Worker->confirmation_work_for_vvp)) && |
45 | (!empty($Worker->military_id_available)) && | 51 | (!empty($Worker->military_id_available)) && |
46 | (!empty($Worker->city)) && | 52 | (!empty($Worker->city)) && |
47 | (!empty($Worker->telephone)) && | ||
48 | (!empty($Worker->email)) && | ||
49 | (!empty($Worker->telephone2)) | 53 | (!empty($Worker->telephone2)) |
50 | ) { | 54 | ) { |
51 | $persent += 50; | 55 | $persent += 40; |
52 | } | 56 | } |
53 | 57 | ||
54 | if ($Worker->sertificate->count() > 0) { | 58 | if ($Worker->sertificate->count() > 0) { |
55 | $persent += 10; | 59 | $persent += 10; |
56 | } | 60 | } |
57 | 61 | ||
58 | if ($Worker->infobloks->count() > 0) { | 62 | if ($Worker->infobloks->where(fn($ib) => $ib->pivot->status === 1)->count() > 0) { |
59 | $persent += 10; | 63 | $persent += 10; |
60 | } | 64 | } |
61 | 65 | ||
62 | if ($Worker->place_worker->count() > 0) { | 66 | if ($Worker->place_worker->count() > 0) { |
63 | $persent += 25; | 67 | $persent += 25; |
64 | } | 68 | } |
65 | 69 | ||
66 | if ($Worker->prev_company->count() > 0) { | 70 | if ($Worker->prev_company->count() > 0) { |
67 | $persent += 5; | 71 | $persent += 5; |
68 | } | 72 | } |
69 | 73 | ||
70 | return $persent; | 74 | return $persent; |
resources/views/education/index.blade.php
1 | @extends('layout.frontend', ['title' => 'Образование и образовательные программы - РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'Образование и образовательные программы - РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script> | 4 | <script> |
5 | $(document).on('change', '#sort_ajax', function() { | 5 | $(document).on('change', '#sort_ajax', function() { |
6 | var this_ = $(this); | 6 | var this_ = $(this); |
7 | var val_ = this_.val(); | 7 | var val_ = this_.val(); |
8 | console.log('sort items '+val_); | 8 | console.log('sort items '+val_); |
9 | 9 | ||
10 | $.ajax({ | 10 | $.ajax({ |
11 | type: "GET", | 11 | type: "GET", |
12 | url: "{{ route('education') }}", | 12 | url: "{{ route('education') }}", |
13 | data: "sort="+val_+"&block=1", | 13 | data: "sort="+val_+"&block=1", |
14 | success: function (data) { | 14 | success: function (data) { |
15 | console.log('Выбор сортировки'); | 15 | console.log('Выбор сортировки'); |
16 | console.log(data); | 16 | console.log(data); |
17 | $('#block').html(data); | 17 | $('#block').html(data); |
18 | history.pushState({}, '', "{{ route('education') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); | 18 | history.pushState({}, '', "{{ route('education') }}?sort="+val_+"@if (isset($_GET['page']))&page={{ $_GET['page'] }}@endif"); |
19 | }, | 19 | }, |
20 | headers: { | 20 | headers: { |
21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 21 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
22 | }, | 22 | }, |
23 | error: function (data) { | 23 | error: function (data) { |
24 | data = JSON.stringify(data); | 24 | data = JSON.stringify(data); |
25 | console.log('Error: ' + data); | 25 | console.log('Error: ' + data); |
26 | } | 26 | } |
27 | }); | 27 | }); |
28 | }); | 28 | }); |
29 | 29 | ||
30 | $(document).ready(function(){ | 30 | $(document).ready(function(){ |
31 | var sel = $('#select2-sort_ajax-container'); | 31 | var sel = $('#select2-sort_ajax-container'); |
32 | var key = getUrlParameter('sort'); | 32 | var key = getUrlParameter('sort'); |
33 | 33 | ||
34 | if (key !=='') { | 34 | if (key !=='') { |
35 | switch (key) { | 35 | switch (key) { |
36 | case "default": sel.html('Сортировка (по умолчанию)'); break; | 36 | case "default": sel.html('Сортировка (по умолчанию)'); break; |
37 | case "name_up": sel.html('По имени (возрастание)'); break; | 37 | case "name_up": sel.html('По имени (возрастание)'); break; |
38 | case "name_down": sel.html('По дате (убывание)'); break; | 38 | case "name_down": sel.html('По дате (убывание)'); break; |
39 | case "created_at_up": sel.html('По дате (возрастание)'); break; | 39 | case "created_at_up": sel.html('По дате (возрастание)'); break; |
40 | case "created_at_down": sel.html('По дате (убывание)'); break; | 40 | case "created_at_down": sel.html('По дате (убывание)'); break; |
41 | } | 41 | } |
42 | 42 | ||
43 | } | 43 | } |
44 | }); | 44 | }); |
45 | </script> | 45 | </script> |
46 | @endsection | 46 | @endsection |
47 | 47 | ||
48 | @section('content') | 48 | @section('content') |
49 | <section class="thing"> | 49 | <section class="thing"> |
50 | <div class="container"> | 50 | <div class="container"> |
51 | <form class="thing__body" active="{{ route('education') }}"> | 51 | <form class="thing__body" active="{{ route('education') }}"> |
52 | <ul class="breadcrumbs thing__breadcrumbs"> | 52 | <ul class="breadcrumbs thing__breadcrumbs"> |
53 | <li><a href="{{ route('index') }}">Главная</a></li> | 53 | <li><a href="{{ route('index') }}">Главная</a></li> |
54 | <li><b>Образование</b></li> | 54 | <li><b>Образование</b></li> |
55 | </ul> | 55 | </ul> |
56 | <h1 class="thing__title">Образование</h1> | 56 | <h1 class="thing__title">Образование</h1> |
57 | <p class="thing__text"> | 57 | <p class="thing__text"> |
58 | В данном разделе представлены образовательные учреждения (ОУ) и учебно-тренажерные центры (УТЦ) | 58 | В данном разделе представлены образовательные учреждения (ОУ) и учебно-тренажерные центры (УТЦ) |
59 | 59 | ||
60 | С услугами и ценами Вы можете ознакомиться перейдя в профиль ОУ или УТЦ | 60 | С услугами и ценами Вы можете ознакомиться перейдя в профиль ОУ или УТЦ |
61 | </p> | 61 | </p> |
62 | <div class="search thing__search"> | 62 | <div class="search thing__search"> |
63 | <input type="search" class="input" id="search" name="search" placeholder="Введите наименование работодателя" value="@if (!empty($_GET['search'])) {{ $_GET['search'] }} @endif"> | 63 | <input type="search" class="input" id="search" name="search" placeholder="Введите наименование работодателя" value="@if (!empty($_GET['search'])) {{ $_GET['search'] }} @endif"> |
64 | <button type="submit" class="button">Найти</button> | 64 | <button type="submit" class="button">Найти</button> |
65 | <span> | 65 | <span> |
66 | <svg> | 66 | <svg> |
67 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 67 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
68 | </svg> | 68 | </svg> |
69 | </span> | 69 | </span> |
70 | </div> | 70 | </div> |
71 | </form> | 71 | </form> |
72 | </div> | 72 | </div> |
73 | </section> | 73 | </section> |
74 | <main class="main"> | 74 | <main class="main"> |
75 | <div class="container"> | 75 | <div class="container"> |
76 | <div class="filters"> | 76 | <div class="filters"> |
77 | <div class="filters__label">Показано {{ $educations->firstItem() }} – {{ $educations->lastItem() }} из {{ $count_edu }} результатов поиска</div> | 77 | <div class="filters__label">Показано {{ $educations->firstItem() }} – {{ $educations->lastItem() }} из {{ $count_edu }} результатов поиска</div> |
78 | <div class="filters__body"> | 78 | <div class="filters__body"> |
79 | <div class="select filters__select"> | 79 | {{--<div class="select filters__select"> |
80 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> | 80 | <select class="js-select2" id="sort_ajax" name="sort_ajax"> |
81 | <option value="default">Сортировка (по умолчанию)</option> | 81 | <option value="default">Сортировка (по умолчанию)</option> |
82 | <option value="name_up">По имени (возрастание)</option> | 82 | <option value="name_up">По имени (возрастание)</option> |
83 | <option value="name_down">По имени (убывание)</option> | 83 | <option value="name_down">По имени (убывание)</option> |
84 | <option value="created_at_up">По дате (возрастание)</option> | 84 | <option value="created_at_up">По дате (возрастание)</option> |
85 | <option value="created_at_down">По дате (убывание)</option> | 85 | <option value="created_at_down">По дате (убывание)</option> |
86 | </select> | 86 | </select> |
87 | </div> | 87 | </div>--}} |
88 | </div> | 88 | </div> |
89 | </div> | 89 | </div> |
90 | 90 | ||
91 | <div class="main__ads" id="block" name="block"> | 91 | <div class="main__ads" id="block" name="block"> |
92 | @if ($educations->count()) | 92 | @if ($educations->count()) |
93 | @foreach($educations as $edu) | 93 | @foreach($educations as $edu) |
94 | <div class="main__ads-item"> | 94 | <div class="main__ads-item"> |
95 | <div class="main__ads-item-pic"> | 95 | <div class="main__ads-item-pic"> |
96 | <img src="@if (!empty($edu->image)) {{ asset(Storage::url($edu->image)) }} @else {{ asset('images/education.jpg') }} @endif" alt="{{ $edu->name }}"> | 96 | <img src="@if (!empty($edu->image)) {{ asset(Storage::url($edu->image)) }} @else {{ asset('images/education.jpg') }} @endif" alt="{{ $edu->name }}"> |
97 | </div> | 97 | </div> |
98 | <div class="main__ads-item-body"> | 98 | <div class="main__ads-item-body"> |
99 | <b>{{ $edu->name }}</b> | 99 | <b>{{ $edu->name }}</b> |
100 | <span>{{ $edu->program_education->count() }} учебных направлений</span> | 100 | <span>{{ $edu->program_education->count() }} учебных направлений</span> |
101 | <a href="{{ route('show_education', ['education' => $edu->id]) }}" class="button button_light">Читать далее</a> | 101 | <a href="{{ route('show_education', ['education' => $edu->id]) }}" class="button button_light">Читать далее</a> |
102 | </div> | 102 | </div> |
103 | </div> | 103 | </div> |
104 | @endforeach | 104 | @endforeach |
105 | 105 | ||
106 | {{ $educations->appends($_GET)->links('paginate') }} | 106 | {{ $educations->appends($_GET)->links('paginate') }} |
107 | @else | 107 | @else |
108 | <H2>Нет данных</H2> | 108 | <H2>Нет данных</H2> |
109 | @endif | 109 | @endif |
110 | </div> | 110 | </div> |
111 | 111 | ||
112 | <!--<div class="pagination"> | 112 | <!--<div class="pagination"> |
113 | <a href="#" class="pagination__nav pagination__nav_prev"> | 113 | <a href="#" class="pagination__nav pagination__nav_prev"> |
114 | <svg> | 114 | <svg> |
115 | <use xlink:href="images/sprite.svg#arrow-bold"></use> | 115 | <use xlink:href="images/sprite.svg#arrow-bold"></use> |
116 | </svg> | 116 | </svg> |
117 | </a> | 117 | </a> |
118 | <span class="pagination__item active">1</span> | 118 | <span class="pagination__item active">1</span> |
119 | <a href="#" class="pagination__item">2</a> | 119 | <a href="#" class="pagination__item">2</a> |
120 | <a href="#" class="pagination__item">3</a> | 120 | <a href="#" class="pagination__item">3</a> |
121 | <a href="#" class="pagination__item">4</a> | 121 | <a href="#" class="pagination__item">4</a> |
122 | <a href="#" class="pagination__item">5</a> | 122 | <a href="#" class="pagination__item">5</a> |
123 | <span class="pagination__dots"> | 123 | <span class="pagination__dots"> |
124 | <svg> | 124 | <svg> |
125 | <use xlink:href="images/sprite.svg#dots"></use> | 125 | <use xlink:href="images/sprite.svg#dots"></use> |
126 | </svg> | 126 | </svg> |
127 | </span> | 127 | </span> |
128 | <a href="#" class="pagination__item">25</a> | 128 | <a href="#" class="pagination__item">25</a> |
129 | <a href="#" class="pagination__nav pagination__nav_next"> | 129 | <a href="#" class="pagination__nav pagination__nav_next"> |
130 | <svg> | 130 | <svg> |
131 | <use xlink:href="images/sprite.svg#arrow-bold"></use> | 131 | <use xlink:href="images/sprite.svg#arrow-bold"></use> |
132 | </svg> | 132 | </svg> |
133 | </a> | 133 | </a> |
134 | </div>--> | 134 | </div>--> |
135 | </div> | 135 | </div> |
136 | </main> | 136 | </main> |
137 | </div> | 137 | </div> |
138 | @endsection | 138 | @endsection |
139 | 139 |
resources/views/employers/bd.blade.php
1 | @extends('layout.frontend', ['title' => 'База данных - РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'База данных - РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script> | 4 | <script> |
5 | $(document).ready(function(){ | 5 | $(document).ready(function(){ |
6 | $('[name="job_title_list[]"]').chosen({ | 6 | $('[name="job_title_list[]"]').chosen({ |
7 | width: '100%' | 7 | width: '100%' |
8 | }) | 8 | }) |
9 | $('[name="job_titles__name"]').change(function(){ | 9 | $('[name="job_titles__name"]').change(function(){ |
10 | if ($(this).is(':checked')){ | 10 | if ($(this).is(':checked')){ |
11 | $(".job-title-list-wrap").css("display", "block"); | 11 | $(".job-title-list-wrap").css("display", "block"); |
12 | } else { | 12 | } else { |
13 | $(".job-title-list-wrap").css("display", "none"); | 13 | $(".job-title-list-wrap").css("display", "none"); |
14 | } | 14 | } |
15 | }); | 15 | }); |
16 | $('.cabinet__export-button-wrap button').click(function(){ | 16 | $('.cabinet__export-button-wrap button').click(function(){ |
17 | $('.cabinet__export-error').parent().remove(); | 17 | $('.cabinet__export-error').parent().remove(); |
18 | }); | 18 | }); |
19 | 19 | ||
20 | $('.search-reset-button').click(function(){ | 20 | $('.search-reset-button').click(function(){ |
21 | var wrap = $(this).closest('.cabinet__filters'); | 21 | var wrap = $(this).closest('.cabinet__filters'); |
22 | wrap.find('[name="search"]').val(''); | 22 | wrap.find('[name="search"]').val(''); |
23 | wrap.find('button').click(); | 23 | wrap.find('button').click(); |
24 | }); | 24 | }); |
25 | }); | 25 | }); |
26 | 26 | ||
27 | 27 | ||
28 | $(document).on('click', '.die_black', function() { | 28 | $(document).on('click', '.die_black', function() { |
29 | var this_ = $(this); | 29 | var this_ = $(this); |
30 | var ajax_ = $('#ajax_flot_div'); | 30 | var ajax_ = $('#ajax_flot_div'); |
31 | var id_ = this_.attr('data-test'); | 31 | var id_ = this_.attr('data-test'); |
32 | var url_ = this_.attr('data-link'); | 32 | var url_ = this_.attr('data-link'); |
33 | 33 | ||
34 | console.log(url_); | 34 | console.log(url_); |
35 | $.ajax({ | 35 | $.ajax({ |
36 | type: "GET", | 36 | type: "GET", |
37 | url: url_, | 37 | url: url_, |
38 | success: function (data) { | 38 | success: function (data) { |
39 | console.log('Ответка'); | 39 | console.log('Ответка'); |
40 | ajax_.html(data); | 40 | ajax_.html(data); |
41 | }, | 41 | }, |
42 | headers: { | 42 | headers: { |
43 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') | 43 | 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') |
44 | }, | 44 | }, |
45 | error: function (data) { | 45 | error: function (data) { |
46 | console.log('Error: ' + data); | 46 | console.log('Error: ' + data); |
47 | } | 47 | } |
48 | }); | 48 | }); |
49 | 49 | ||
50 | }); | 50 | }); |
51 | </script> | 51 | </script> |
52 | @endsection | 52 | @endsection |
53 | 53 | ||
54 | @section('content') | 54 | @section('content') |
55 | <section class="cabinet"> | 55 | <section class="cabinet"> |
56 | <div class="container"> | 56 | <div class="container"> |
57 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 57 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
58 | <li><a href="{{ route('index') }}">Главная</a></li> | 58 | <li><a href="{{ route('index') }}">Главная</a></li> |
59 | <li><b>Личный кабинет</b></li> | 59 | <li><b>Личный кабинет</b></li> |
60 | </ul> | 60 | </ul> |
61 | <div class="cabinet__wrapper"> | 61 | <div class="cabinet__wrapper"> |
62 | <div class="cabinet__side"> | 62 | <div class="cabinet__side"> |
63 | <div class="cabinet__side-toper"> | 63 | <div class="cabinet__side-toper"> |
64 | @include('employers.emblema') | 64 | @include('employers.emblema') |
65 | </div> | 65 | </div> |
66 | @include('employers.menu', ['item' => 7]) | 66 | @include('employers.menu', ['item' => 7]) |
67 | </div> | 67 | </div> |
68 | 68 | ||
69 | <div class="cabinet__body"> | 69 | <div class="cabinet__body"> |
70 | <div class="cabinet__body-item"> | 70 | <div class="cabinet__body-item"> |
71 | <h2 class="title cabinet__title">База данных</h2> | 71 | <h2 class="title cabinet__title">База данных</h2> |
72 | </div> | 72 | </div> |
73 | <div class="cabinet__body-item"> | 73 | <div class="cabinet__body-item"> |
74 | <div class="cabinet__filters" style="display: flex;flex-direction: unset;justify-content: left;align-items: center;"> | 74 | <div class="cabinet__filters" style="display: flex;flex-direction: unset;justify-content: left;align-items: center;"> |
75 | <div class="cabinet__filters-item"> | 75 | <div class="cabinet__filters-item"> |
76 | <form class="search" action="{{ route('employer.bd') }}"> | 76 | <form class="search" action="{{ route('employer.bd') }}"> |
77 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…" value="@if (isset($_GET['search'])) {{ $_GET['search'] }} @endif"> | 77 | <input type="search" name="search" id="search" class="input" placeholder="Поиск…" value="@if (isset($_GET['search'])) {{ $_GET['search'] }} @endif"> |
78 | <button type="submit" class="button">Найти</button> | 78 | <button type="submit" class="button">Найти</button> |
79 | <span> | 79 | <span> |
80 | <svg> | 80 | <svg> |
81 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> | 81 | <use xlink:href="{{ asset('images/sprite.svg#search') }}"></use> |
82 | </svg> | 82 | </svg> |
83 | </span> | 83 | </span> |
84 | </form> | 84 | </form> |
85 | </div> | 85 | </div> |
86 | <a href="javascript:void(0)" class="search-reset-button bold font18" style="color: #377d87;">Сбросить поиск</a> | 86 | <a href="javascript:void(0)" class="search-reset-button bold font18" style="color: #377d87;">Сбросить поиск</a> |
87 | </div> | 87 | </div> |
88 | <div class="cabinet__filters"> | 88 | <div class="cabinet__filters"> |
89 | <div class="cabinet__export-wrap"> | 89 | <div class="cabinet__export-wrap"> |
90 | <form action="{{ route('resume_download_all') }}" method="GET" target="_blank"> | 90 | <form action="{{ route('resume_download_all') }}" method="GET" target="_blank"> |
91 | <div class="cabinet__export-button-wrap"> | 91 | <div class="cabinet__export-button-wrap"> |
92 | <button type="submit" class="button"> | 92 | <button type="submit" class="button"> |
93 | <svg> | 93 | <svg> |
94 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 94 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
95 | </svg> | 95 | </svg> |
96 | Экспорт | 96 | Экспорт |
97 | </button> | 97 | </button> |
98 | </div> | 98 | </div> |
99 | <div class="cabinet__export-options-wrap"> | 99 | <div class="cabinet__export-options-wrap"> |
100 | @foreach ($export_options as $key => $value) | 100 | @foreach ($export_options as $key => $value) |
101 | <label class="checkbox"> | 101 | <label class="checkbox"> |
102 | <input type="checkbox" value="1" name="{{$key}}" class="checkbox__input" checked=""> | 102 | <input type="checkbox" value="1" name="{{$key}}" class="checkbox__input" checked=""> |
103 | <span class="checkbox__icon"> | 103 | <span class="checkbox__icon"> |
104 | <svg> | 104 | <svg> |
105 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> | 105 | <use xlink:href="{{ asset('images/sprite.svg#v') }}"></use> |
106 | </svg> | 106 | </svg> |
107 | </span> | 107 | </span> |
108 | <span class="checkbox__text"> | 108 | <span class="checkbox__text"> |
109 | <span>{{$value}}</span> | 109 | <span>{{$value}}</span> |
110 | </span> | 110 | </span> |
111 | </label> | 111 | </label> |
112 | @endforeach | 112 | @endforeach |
113 | </div> | 113 | </div> |
114 | <div class="job-title-list-wrap"> | 114 | <div class="job-title-list-wrap"> |
115 | <select name="job_title_list[]" data-placeholder="Выберите должности" multiple > | 115 | <select name="job_title_list[]" data-placeholder="Выберите должности" multiple > |
116 | @foreach($jobs_titles as $job_title) | 116 | @foreach($jobs_titles as $job_title) |
117 | <option hover="background-color: #377d87;" value="{{$job_title['id']}}">{{$job_title['name']}}</option> | 117 | <option hover="background-color: #377d87;" value="{{$job_title['id']}}">{{$job_title['name']}}</option> |
118 | @endforeach | 118 | @endforeach |
119 | </select> | 119 | </select> |
120 | </div> | 120 | </div> |
121 | </form> | 121 | </form> |
122 | </div> | 122 | </div> |
123 | </div> | 123 | </div> |
124 | @if(session('error')) | 124 | @if(session('error')) |
125 | <div class="cabinet__filters"> | 125 | <div class="cabinet__filters"> |
126 | <p class="cabinet__export-error">{{ session('error') }}</p> | 126 | <p class="cabinet__export-error">{{ session('error') }}</p> |
127 | </div> | 127 | </div> |
128 | @endif | 128 | @endif |
129 | 129 | ||
130 | </div> | 130 | </div> |
131 | 131 | ||
132 | <div class="cabinet__body-item"> | 132 | <div class="cabinet__body-item"> |
133 | <div class="cabinet__table-header"> | 133 | <div class="cabinet__table-header"> |
134 | <div> | 134 | <div> |
135 | Позиции работников | 135 | Позиции работников |
136 | </div> | 136 | </div> |
137 | <span> | 137 | <span> |
138 | Пользователей найдено: | 138 | Пользователей найдено: |
139 | <b>{{ $count_users->count() }}</b> | 139 | <b>{{ $count_users->count() }}</b> |
140 | </span> | 140 | </span> |
141 | </div> | 141 | </div> |
142 | <div class="table table_spoiler"> | 142 | <div class="table table_spoiler"> |
143 | 143 | ||
144 | <div class="table__scroll"> | 144 | <div class="table__scroll"> |
145 | <div class="table__body table__body_min-width"> | 145 | <div class="table__body table__body_min-width"> |
146 | <table> | 146 | <table> |
147 | <thead> | 147 | <thead> |
148 | <tr> | 148 | <tr> |
149 | <th style="max-width: 40px; min-width: 30px"></th> | 149 | <th style="max-width: 40px; min-width: 30px"></th> |
150 | <th>ФИО соискателя</th> | 150 | <th>ФИО соискателя</th> |
151 | <th>Должность</th> | 151 | <th>Должность</th> |
152 | <th>Наличие<br>анкеты</th> | 152 | <th>Наличие<br>анкеты</th> |
153 | </tr> | 153 | </tr> |
154 | </thead> | 154 | </thead> |
155 | <tbody> | 155 | <tbody> |
156 | @php | 156 | @php |
157 | $categories = 0; | 157 | $categories = 0; |
158 | 158 | ||
159 | @endphp | 159 | @endphp |
160 | 160 | ||
161 | @if ($users->count()) | 161 | @if ($users->count()) |
162 | @foreach ($users as $key => $it) | 162 | @foreach ($users as $key => $it) |
163 | <tr> | 163 | <tr> |
164 | <td style="max-width: 40px; min-width: 30px; font-size: 3rem">{{ $it->workers[0]->comment }}</td> | 164 | <td style="max-width: 40px; min-width: 30px; font-size: 1.5rem">{{ $it->workers[0]->comment }}</td> |
165 | 165 | ||
166 | <td>{{ $it->surname." ".$it->name_man }}<br>{{ $it->surname2 }}</td> | 166 | <td>{{ $it->surname." ".$it->name_man }}<br>{{ $it->surname2 }}</td> |
167 | 167 | ||
168 | <td> | 168 | <td> |
169 | @if($it->workers[0]->positions_work) | 169 | @if($it->workers[0]->positions_work) |
170 | @foreach($it->workers[0]->jobs as $job) | 170 | @foreach($it->workers[0]->jobs as $job) |
171 | {{ $job->name }} | 171 | {{ $job->name }} |
172 | @if(!$loop->last) | 172 | @if(!$loop->last) |
173 | <br> | 173 | <br> |
174 | @endif | 174 | @endif |
175 | @endforeach | 175 | @endforeach |
176 | @endif | 176 | @endif |
177 | </td> | 177 | </td> |
178 | 178 | ||
179 | <td> | 179 | <td> |
180 | @if ($it->file !== null) | 180 | @if ($it->file !== null) |
181 | <a href="{{ asset(Storage::url($it->file)) }}" class="table__link"> | 181 | <a href="{{ asset(Storage::url($it->file)) }}" class="table__link"> |
182 | <svg> | 182 | <svg> |
183 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 183 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
184 | </svg> | 184 | </svg> |
185 | Скачать | 185 | Скачать |
186 | </a> | 186 | </a> |
187 | @endif | 187 | @endif |
188 | </td> | 188 | </td> |
189 | </tr> | 189 | </tr> |
190 | @endforeach | 190 | @endforeach |
191 | @endif | 191 | @endif |
192 | </tbody> | 192 | </tbody> |
193 | </table> | 193 | </table> |
194 | </div> | 194 | </div> |
195 | 195 | ||
196 | </div> | 196 | </div> |
197 | </div> | 197 | </div> |
198 | {{ $users->onEachSide(0)->appends($_GET)->links('paginate') }} | 198 | {{ $users->onEachSide(0)->appends($_GET)->links('paginate') }} |
199 | </div> | 199 | </div> |
200 | </div> | 200 | </div> |
201 | </div> | 201 | </div> |
202 | </div> | 202 | </div> |
203 | </section> | 203 | </section> |
204 | </div> | 204 | </div> |
205 | @endsection | 205 | @endsection |
206 | 206 |
resources/views/workers/cabinet.blade.php
1 | @extends('layout.frontend', ['title' => 'Моя анкета - РекаМоре']) | 1 | @extends('layout.frontend', ['title' => 'Моя анкета - РекаМоре']) |
2 | 2 | ||
3 | @section('scripts') | 3 | @section('scripts') |
4 | <script> | 4 | <script> |
5 | $(function() { | 5 | $(function() { |
6 | $('.cabinet__avatar-form [type="file"][name="photo"]').change(function (event) { | 6 | $('.cabinet__avatar-form [type="file"][name="photo"]').change(function (event) { |
7 | var form = $(this).closest('form'); | 7 | var form = $(this).closest('form'); |
8 | const file = event.target.files[0]; | 8 | const file = event.target.files[0]; |
9 | 9 | ||
10 | if (file) { | 10 | if (file) { |
11 | var img_wrap = $('.cabinet__avatar-pic'); | 11 | var img_wrap = $('.cabinet__avatar-pic'); |
12 | var img = $('<img src="#"/>'); | 12 | var img = $('<img src="#"/>'); |
13 | const reader = new FileReader(); | 13 | const reader = new FileReader(); |
14 | 14 | ||
15 | reader.onload = function(e) { | 15 | reader.onload = function(e) { |
16 | img.attr('src', e.target.result); | 16 | img.attr('src', e.target.result); |
17 | img_wrap.find('svg, img').remove(); | 17 | img_wrap.find('svg, img').remove(); |
18 | img_wrap.append(img); | 18 | img_wrap.append(img); |
19 | 19 | ||
20 | setTimeout(function () { | 20 | setTimeout(function () { |
21 | form.submit(); | 21 | form.submit(); |
22 | }, 1000); | 22 | }, 1000); |
23 | }; | 23 | }; |
24 | 24 | ||
25 | reader.readAsDataURL(file); | 25 | reader.readAsDataURL(file); |
26 | } | 26 | } |
27 | }); | 27 | }); |
28 | }); | 28 | }); |
29 | 29 | ||
30 | $(document).on('click', '#old_year', function() { | 30 | $(document).on('click', '#old_year', function() { |
31 | var this_ = $(this); | 31 | var this_ = $(this); |
32 | var val = this_.val(); | 32 | var val = this_.val(); |
33 | 33 | ||
34 | if (val < 0) | 34 | if (val < 0) |
35 | $('#old_year').val(0); | 35 | $('#old_year').val(0); |
36 | }); | 36 | }); |
37 | </script> | 37 | </script> |
38 | @endsection | 38 | @endsection |
39 | 39 | ||
40 | @section('content') | 40 | @section('content') |
41 | @php | 41 | @php |
42 | $user = $worker->users | 42 | $user = $worker->users |
43 | @endphp | 43 | @endphp |
44 | <section class="cabinet"> | 44 | <section class="cabinet"> |
45 | <div class="container"> | 45 | <div class="container"> |
46 | <ul class="breadcrumbs cabinet__breadcrumbs"> | 46 | <ul class="breadcrumbs cabinet__breadcrumbs"> |
47 | <li><a href="{{ route('index') }}">Главная</a></li> | 47 | <li><a href="{{ route('index') }}">Главная</a></li> |
48 | <li><b>Личный кабинет</b></li> | 48 | <li><b>Личный кабинет</b></li> |
49 | </ul> | 49 | </ul> |
50 | <div class="cabinet__wrapper"> | 50 | <div class="cabinet__wrapper"> |
51 | <div class="cabinet__side"> | 51 | <div class="cabinet__side"> |
52 | <div class="cabinet__side-toper"> | 52 | <div class="cabinet__side-toper"> |
53 | @include('workers.emblema') | 53 | @include('workers.emblema') |
54 | 54 | ||
55 | </div> | 55 | </div> |
56 | 56 | ||
57 | @include('workers.menu', ['item' => 1]) | 57 | @include('workers.menu', ['item' => 1]) |
58 | </div> | 58 | </div> |
59 | <div class="cabinet__body"> | 59 | <div class="cabinet__body"> |
60 | <div class="cabinet__body-item"> | 60 | <div class="cabinet__body-item"> |
61 | <div class="cabinet__anketa"> | 61 | <div class="cabinet__anketa"> |
62 | <h2 class="title cabinet__title">Моя анкета</h2> | 62 | <h2 class="title cabinet__title">Моя анкета</h2> |
63 | <div class="cabinet__anketa-buttons"> | 63 | <div class="cabinet__anketa-buttons"> |
64 | <a href="{{ route('worker.up', ['worker' => $worker->id]) }}" class="button">Поднять резюме</a> | 64 | <a href="{{ route('worker.up', ['worker' => $worker->id]) }}" class="button">Поднять резюме</a> |
65 | <a href="{{ route('resume_download', ['worker' => $worker->id]) }}" target="_blank" class="button"> | 65 | <a href="{{ route('resume_download', ['worker' => $worker->id]) }}" target="_blank" class="button"> |
66 | <svg> | 66 | <svg> |
67 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> | 67 | <use xlink:href="{{ asset('images/sprite.svg#share') }}"></use> |
68 | </svg> | 68 | </svg> |
69 | Скачать резюме | 69 | Скачать резюме |
70 | </a> | 70 | </a> |
71 | </div> | 71 | </div> |
72 | </div> | 72 | </div> |
73 | </div> | 73 | </div> |
74 | 74 | ||
75 | <div class="cabinet__body-item"> | 75 | <div class="cabinet__body-item"> |
76 | <div class="cabinet__stats"> | 76 | <div class="cabinet__stats"> |
77 | <h3 class="cabinet__subtitle cabinet__stats-title">Статистика</h3> | 77 | <h3 class="cabinet__subtitle cabinet__stats-title">Статистика</h3> |
78 | <div class="cabinet__stats-body"> | 78 | <div class="cabinet__stats-body"> |
79 | <div class="cabinet__stats-item"> | 79 | <div class="cabinet__stats-item"> |
80 | <svg> | 80 | <svg> |
81 | <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> | 81 | <use xlink:href="{{ asset('images/sprite.svg#eye-3') }}"></use> |
82 | </svg> | 82 | </svg> |
83 | <span>Просмотров:</span> | 83 | <span>Просмотров:</span> |
84 | <b>@if (isset($stat[0]->lookin)) {{ $stat[0]->lookin }} @else 0 @endif</b> | 84 | <b>@if (isset($stat[0]->lookin)) {{ $stat[0]->lookin }} @else 0 @endif</b> |
85 | </div> | 85 | </div> |
86 | <div class="cabinet__stats-item"> | 86 | <div class="cabinet__stats-item"> |
87 | <svg> | 87 | <svg> |
88 | <use xlink:href="{{ asset('images/sprite.svg#warning') }}"></use> | 88 | <use xlink:href="{{ asset('images/sprite.svg#warning') }}"></use> |
89 | </svg> | 89 | </svg> |
90 | <span>Отзывов:</span> | 90 | <span>Отзывов:</span> |
91 | <b>@if(isset($worker->response)) {{ $worker->response->count() }} @else 0 @endif</b> | 91 | <b>@if(isset($worker->response)) {{ $worker->response->count() }} @else 0 @endif</b> |
92 | </div> | 92 | </div> |
93 | </div> | 93 | </div> |
94 | <div class="cabinet__stats-subtitle">Анкета заполнена на {{ $persent }}%</div> | 94 | <div class="cabinet__stats-subtitle">Анкета заполнена на {{ $persent }}%</div> |
95 | <div class="cabinet__stats-line"> | 95 | <div class="cabinet__stats-line"> |
96 | <span style="width:{{ $persent }}%"></span> | 96 | <span style="width:{{ $persent }}%"></span> |
97 | </div> | 97 | </div> |
98 | <div class="cabinet__stats-bottom">Заполните профиль, чтобы повысить процент анкеты на 80%</div> | 98 | @if($persent < 80) |
99 | <div class="cabinet__stats-bottom">Заполните профиль, чтобы повысить процент анкеты на 80%</div> | ||
100 | @endif | ||
99 | </div> | 101 | </div> |
100 | </div> | 102 | </div> |
101 | 103 | ||
102 | <form class="" action="{{ route('worker.cabinet_save_foto', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST"> | 104 | <form class="" action="{{ route('worker.cabinet_save_foto', ['worker' => $worker->id]) }}" enctype="multipart/form-data" method="POST"> |
103 | @csrf | 105 | @csrf |
104 | @include('messages_error') | 106 | @include('messages_error') |
105 | 107 | ||
106 | <div class="cabinet__body-item"> | 108 | <div class="cabinet__body-item"> |
107 | <h3 class="cabinet__subtitle">Профиль</h3> | 109 | <h3 class="cabinet__subtitle">Профиль</h3> |
108 | <div class="cabinet__avatar"> | 110 | <div class="cabinet__avatar"> |
109 | <div class="cabinet__avatar-pic"> | 111 | <div class="cabinet__avatar-pic"> |
110 | 112 | ||
111 | @if (!empty($worker->photo)) | 113 | @if (!empty($worker->photo)) |
112 | <img src="{{ asset(Storage::url($worker->photo)) }}"/> | 114 | <img src="{{ asset(Storage::url($worker->photo)) }}"/> |
113 | @else | 115 | @else |
114 | <svg> | 116 | <svg> |
115 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> | 117 | <use xlink:href="{{ asset('images/sprite.svg#pic') }}"></use> |
116 | </svg> | 118 | </svg> |
117 | @endif | 119 | @endif |
118 | </div> | 120 | </div> |
119 | <div class="cabinet__avatar-form"> | 121 | <div class="cabinet__avatar-form"> |
120 | <label class="file"> | 122 | <label class="file"> |
121 | <span class="file__input flex"> | 123 | <span class="file__input flex"> |
122 | <input type="file" name="photo" id="photo"> | 124 | <input type="file" name="photo" id="photo"> |
123 | 125 | ||
124 | <span class="button mr-20"> | 126 | <span class="button mr-20"> |
125 | <svg> | 127 | <svg> |
126 | <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use> | 128 | <use xlink:href="{{ asset('images/sprite.svg#plus') }}"></use> |
127 | </svg> | 129 | </svg> |
128 | Загрузить | 130 | Загрузить |
129 | </span> | 131 | </span> |
130 | @if (!empty($worker->photo)) | 132 | @if (!empty($worker->photo)) |
131 | <button type="submit" class="button">Удалить фото</button> | 133 | <button type="submit" class="button">Удалить фото</button> |
132 | @endif | 134 | @endif |
133 | </span> | 135 | </span> |
134 | </label> | 136 | </label> |
135 | <p class="cabinet__text">Загрузите фотографию в формате svg., jpg., jpeg., png.</p> | 137 | <p class="cabinet__text">Загрузите фотографию в формате svg., jpg., jpeg., png.</p> |
136 | </div> | 138 | </div> |
137 | </div> | 139 | </div> |
138 | </div> | 140 | </div> |
139 | </form> | 141 | </form> |
140 | 142 | ||
141 | <div class="cabinet__body-item mb-40"> | 143 | <div class="cabinet__body-item mb-40"> |
142 | <h3 class="cabinet__subtitle font30">Основная информация</h3> | 144 | <h3 class="cabinet__subtitle font30">Основная информация</h3> |
143 | 145 | ||
144 | <div class="cabinet__inputs"> | 146 | <div class="cabinet__inputs"> |
145 | <div class="cabinet__inputs_to_columns_wrap"> | 147 | <div class="cabinet__inputs_to_columns_wrap"> |
146 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_left"> | 148 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_left"> |
147 | <div class="cabinet__inputs-item form-group"> | 149 | <div class="cabinet__inputs-item form-group"> |
148 | <label class="form-group__label">Фамилия:</label> | 150 | <label class="form-group__label">Фамилия:</label> |
149 | <div class="form-group__item"> | 151 | <div class="form-group__item"> |
150 | {{ $user->surname }} | 152 | {{ $user->surname }} |
151 | </div> | 153 | </div> |
152 | </div> | 154 | </div> |
153 | <div class="cabinet__inputs-item form-group"> | 155 | <div class="cabinet__inputs-item form-group"> |
154 | <label class="form-group__label">Имя:</label> | 156 | <label class="form-group__label">Имя:</label> |
155 | <div class="form-group__item"> | 157 | <div class="form-group__item"> |
156 | {{ $user->name_man }} | 158 | {{ $user->name_man }} |
157 | </div> | 159 | </div> |
158 | </div> | 160 | </div> |
159 | <div class="cabinet__inputs-item form-group"> | 161 | <div class="cabinet__inputs-item form-group"> |
160 | <label class="form-group__label">Отчество:</label> | 162 | <label class="form-group__label">Отчество:</label> |
161 | <div class="form-group__item"> | 163 | <div class="form-group__item"> |
162 | {{ $user->surname2 }} | 164 | {{ $user->surname2 }} |
163 | </div> | 165 | </div> |
164 | </div> | 166 | </div> |
165 | <div class="cabinet__inputs-item form-group"> | 167 | <div class="cabinet__inputs-item form-group"> |
166 | <label class="form-group__label">Возраст:</label> | 168 | <label class="form-group__label">Возраст:</label> |
167 | <div class="form-group__item"> | 169 | <div class="form-group__item"> |
168 | {{ $worker->old_year ?? '-' }} | 170 | {{ $worker->old_year ?? '-' }} |
169 | </div> | 171 | </div> |
170 | </div> | 172 | </div> |
171 | <div class="cabinet__inputs-item form-group"> | 173 | <div class="cabinet__inputs-item form-group"> |
172 | <label class="form-group__label">Статус:</label> | 174 | <label class="form-group__label">Статус:</label> |
173 | <div class="form-group__item"> | 175 | <div class="form-group__item"> |
174 | {{ $status_work[$worker->status_work] ?? '-' }} | 176 | {{ $status_work[$worker->status_work] ?? '-' }} |
175 | </div> | 177 | </div> |
176 | </div> | 178 | </div> |
177 | <div class="cabinet__inputs-item form-group"> | 179 | <div class="cabinet__inputs-item form-group"> |
178 | <label class="form-group__label">Желаемые вакансии:</label> | 180 | <label class="form-group__label">Желаемые вакансии:</label> |
179 | <div class="form-group__item"> | 181 | <div class="form-group__item"> |
180 | @if ($worker->job_titles->count()) | 182 | @if ($worker->job_titles->count()) |
181 | @foreach($worker->job_titles as $job_title) | 183 | @foreach($worker->job_titles as $job_title) |
182 | {{ $job_title->name }} | 184 | {{ $job_title->name }} |
183 | @if (!$loop->last) / @endif | 185 | @if (!$loop->last) / @endif |
184 | @endforeach | 186 | @endforeach |
185 | @endif | 187 | @endif |
186 | </div> | 188 | </div> |
187 | </div> | 189 | </div> |
188 | <div class="cabinet__inputs-item form-group"> | 190 | <div class="cabinet__inputs-item form-group"> |
189 | <label class="form-group__label">Пожелания к З/П:</label> | 191 | <label class="form-group__label">Пожелания к З/П:</label> |
190 | <div class="form-group__item"> | 192 | <div class="form-group__item"> |
191 | {{ $worker->salary_expectations ?? '-' }} | 193 | {{ $worker->salary_expectations ?? '-' }} |
192 | </div> | 194 | </div> |
193 | </div> | 195 | </div> |
194 | <div class="cabinet__inputs-item form-group"> | 196 | <div class="cabinet__inputs-item form-group"> |
195 | <label class="form-group__label">Уровень английского:</label> | 197 | <label class="form-group__label">Уровень английского:</label> |
196 | <div class="form-group__item"> | 198 | <div class="form-group__item"> |
197 | {{ $worker->english_level ?? '-' }} | 199 | {{ $worker->english_level ?? '-' }} |
198 | </div> | 200 | </div> |
199 | </div> | 201 | </div> |
200 | <div class="cabinet__inputs-item form-group"> | 202 | <div class="cabinet__inputs-item form-group"> |
201 | <label class="form-group__label">Дата готовности к посадке:</label> | 203 | <label class="form-group__label">Дата готовности к посадке:</label> |
202 | <div class="form-group__item"> | 204 | <div class="form-group__item"> |
203 | {{ $worker->ready_boart_date ?? '-' }} | 205 | {{ $worker->ready_boart_date ?? '-' }} |
204 | </div> | 206 | </div> |
205 | </div> | 207 | </div> |
206 | <div class="cabinet__inputs-item form-group"> | 208 | <div class="cabinet__inputs-item form-group"> |
207 | <label class="form-group__label">Предпочтение по типу судна:</label> | 209 | <label class="form-group__label">Предпочтение по типу судна:</label> |
208 | <div class="form-group__item"> | 210 | <div class="form-group__item"> |
209 | {{ $worker->boart_type_preference ?? '-' }} | 211 | {{ $worker->boart_type_preference ?? '-' }} |
210 | </div> | 212 | </div> |
211 | </div> | 213 | </div> |
212 | </div> | 214 | </div> |
213 | 215 | ||
214 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_right"> | 216 | <div class="cabinet__inputs_to_column cabinet__inputs_to_columns_right"> |
215 | <div class="cabinet__inputs-item form-group"> | 217 | <div class="cabinet__inputs-item form-group"> |
216 | <label class="form-group__label">Наличие визы:</label> | 218 | <label class="form-group__label">Наличие визы:</label> |
217 | <div class="form-group__item"> | 219 | <div class="form-group__item"> |
218 | {{ $worker->visa_available }} | 220 | {{ $worker->visa_available }} |
219 | </div> | 221 | </div> |
220 | </div> | 222 | </div> |
221 | 223 | ||
222 | 224 | ||
223 | <div class="cabinet__inputs-item form-group"> | 225 | <div class="cabinet__inputs-item form-group"> |
224 | <label class="form-group__label">Наличие танкерных документов:</label> | 226 | <label class="form-group__label">Наличие танкерных документов:</label> |
225 | <div class="form-group__item"> | 227 | <div class="form-group__item"> |
226 | {{ $worker->tanker_documents_available ?? '-' }} | 228 | {{ $worker->tanker_documents_available ?? '-' }} |
227 | </div> | 229 | </div> |
228 | </div> | 230 | </div> |
229 | 231 | ||
230 | 232 | ||
231 | <div class="cabinet__inputs-item form-group"> | 233 | <div class="cabinet__inputs-item form-group"> |
232 | <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> | 234 | <label class="form-group__label">Наличие подтверждения для работы на ВВП:</label> |
233 | <div class="form-group__item"> | 235 | <div class="form-group__item"> |
234 | {{ $worker->confirmation_work_for_vvp ?? '-' }} | 236 | {{ $worker->confirmation_work_for_vvp ?? '-' }} |
235 | </div> | 237 | </div> |
236 | </div> | 238 | </div> |
237 | 239 | ||
238 | 240 | ||
239 | <div class="cabinet__inputs-item form-group"> | 241 | <div class="cabinet__inputs-item form-group"> |
240 | <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> | 242 | <label class="form-group__label">Наличие военного билета / приписного свидетельства:</label> |
241 | <div class="form-group__item"> | 243 | <div class="form-group__item"> |
242 | {{ $worker->military_id_available ?? '-' }} | 244 | {{ $worker->military_id_available ?? '-' }} |
243 | </div> | 245 | </div> |
244 | </div> | 246 | </div> |
245 | 247 | ||
246 | 248 | ||
247 | <div class="cabinet__inputs-item form-group"> | 249 | <div class="cabinet__inputs-item form-group"> |
248 | <label class="form-group__label">Город проживания:</label> | 250 | <label class="form-group__label">Город проживания:</label> |
249 | <div class="form-group__item"> | 251 | <div class="form-group__item"> |
250 | {{ $worker->city ?? '-' }} | 252 | {{ $worker->city ?? '-' }} |
251 | </div> | 253 | </div> |
252 | </div> | 254 | </div> |
253 | 255 | ||
254 | 256 | ||
255 | <div class="cabinet__inputs-item form-group"> | 257 | <div class="cabinet__inputs-item form-group"> |
256 | <label class="form-group__label">Телефон:</label> | 258 | <label class="form-group__label">Телефон:</label> |
257 | <div class="form-group__item"> | 259 | <div class="form-group__item"> |
258 | {{ $worker->telephone ?? '-' }} | 260 | {{ $worker->telephone ?? '-' }} |
259 | </div> | 261 | </div> |
260 | </div> | 262 | </div> |
261 | 263 | ||
262 | 264 | ||
263 | <div class="cabinet__inputs-item form-group"> | 265 | <div class="cabinet__inputs-item form-group"> |
264 | <label class="form-group__label">E-mail:</label> | 266 | <label class="form-group__label">E-mail:</label> |
265 | <div class="form-group__item"> | 267 | <div class="form-group__item"> |
266 | {{ $worker->email ?? '-' }} | 268 | {{ $worker->email ?? '-' }} |
267 | </div> | 269 | </div> |
268 | </div> | 270 | </div> |
269 | 271 | ||
270 | 272 | ||
271 | <div class="cabinet__inputs-item form-group"> | 273 | <div class="cabinet__inputs-item form-group"> |
272 | <label class="form-group__label">Контакты родственников:</label> | 274 | <label class="form-group__label">Контакты родственников:</label> |
273 | <div class="form-group__item"> | 275 | <div class="form-group__item"> |
274 | {{ $worker->telephone2 ?? '-' }} | 276 | {{ $worker->telephone2 ?? '-' }} |
275 | </div> | 277 | </div> |
276 | </div> | 278 | </div> |
277 | </div> | 279 | </div> |
278 | </div> | 280 | </div> |
279 | <div class="width100"> | 281 | <div class="width100"> |
280 | <h4 class="cabinet__h4 mb-10">О себе</h4> | 282 | <h4 class="cabinet__h4 mb-10">О себе</h4> |
281 | <div style="white-space:break-spaces; word-break: break-word;">{{ $worker->text }}</div> | 283 | <div style="white-space:break-spaces; word-break: break-word;">{{ $worker->text }}</div> |
282 | </div> | 284 | </div> |
283 | <div class=""> | 285 | <div class=""> |
284 | <a href="{{ route('worker.basic_information') }}" class="button active">Редактировать основную информацию</a> | 286 | <a href="{{ route('worker.basic_information') }}" class="button active">Редактировать основную информацию</a> |
285 | </div> | 287 | </div> |
286 | </div> | 288 | </div> |
287 | </div> | 289 | </div> |
288 | 290 | ||
289 | <div class="mb-40" id="sertificate" name="sertificate"> | 291 | <div class="mb-40" id="sertificate" name="sertificate"> |
290 | <h3 class="cabinet__subtitle font30 mb-20">Сертификаты / документы</h3> | 292 | <h3 class="cabinet__subtitle font30 mb-20">Сертификаты / документы</h3> |
291 | 293 | ||
292 | @if($worker->sertificate->count()) | 294 | @if($worker->sertificate->count()) |
293 | @foreach($worker->sertificate as $sertificate) | 295 | @foreach($worker->sertificate as $sertificate) |
294 | <div class="one-sertificate"> | 296 | <div class="one-sertificate"> |
295 | <div class="sertificate-field sertificate-name"> | 297 | <div class="sertificate-field sertificate-name"> |
296 | <label class="bold">Название сертификата:</label> | 298 | <label class="bold">Название сертификата:</label> |
297 | <div>{{ $sertificate->name }}</div> | 299 | <div>{{ $sertificate->name }}</div> |
298 | </div> | 300 | </div> |
299 | <div class="sertificate-field"> | 301 | <div class="sertificate-field"> |
300 | <label class="bold">Действителен до:</label> | 302 | <label class="bold">Действителен до:</label> |
301 | <div>{{ date('d.m.Y', strtotime($sertificate->end_begin)) }}</div> | 303 | <div>{{ date('d.m.Y', strtotime($sertificate->end_begin)) }}</div> |
302 | </div> | 304 | </div> |
303 | <div class="sertificate-field sertificate-buttons"> | 305 | <div class="sertificate-field sertificate-buttons"> |
304 | <a href="{{ route('worker.edit_sertificate', ['worker' => $worker->id, 'doc' => $sertificate->id ]) }}" class="button button_light mr-10"> | 306 | <a href="{{ route('worker.edit_sertificate', ['worker' => $worker->id, 'doc' => $sertificate->id ]) }}" class="button button_light mr-10"> |
305 | <svg><use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use></svg> | 307 | <svg><use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use></svg> |
306 | </a> | 308 | </a> |
307 | <a href="{{ route('worker.delete_sertificate', ['doc' => $sertificate->id]) }}" class="button button_light"> | 309 | <a href="{{ route('worker.delete_sertificate', ['doc' => $sertificate->id]) }}" class="button button_light"> |
308 | <svg><use xlink:href="{{ asset('images/sprite.svg#del') }}"></use></svg> | 310 | <svg><use xlink:href="{{ asset('images/sprite.svg#del') }}"></use></svg> |
309 | </a> | 311 | </a> |
310 | </div> | 312 | </div> |
311 | </div> | 313 | </div> |
312 | @endforeach | 314 | @endforeach |
313 | @endif | 315 | @endif |
314 | 316 | ||
315 | <a class="button fit-content" href="{{ route('worker.new_sertificate',['worker' => $worker->id]) }}" id="button_new_doc" name="button_new_doc"> | 317 | <a class="button fit-content" href="{{ route('worker.new_sertificate',['worker' => $worker->id]) }}" id="button_new_doc" name="button_new_doc"> |
316 | Добавить сертификат / документ | 318 | Добавить сертификат / документ |
317 | </a> | 319 | </a> |
318 | </div> | 320 | </div> |
319 | 321 | ||
320 | <div class="cabinet__body-item mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> | 322 | <div class="cabinet__body-item mb-40" name="ajax_dop_diplomi" id="ajax_dop_diplomi"> |
321 | <h3 class="cabinet__subtitle font30">Дополнительные документы</h3> | 323 | <h3 class="cabinet__subtitle font30">Дополнительные документы</h3> |
322 | 324 | ||
323 | <div class="cabinet__inputs" id="block_sertificate"> | 325 | <div class="cabinet__inputs" id="block_sertificate"> |
324 | @if ($info_blocks->count()) | 326 | @if ($info_blocks->count()) |
325 | @foreach ($info_blocks as $info_block) | 327 | @foreach ($info_blocks as $info_block) |
326 | <div class="cabinet__inputs-item column-count-3 form-group"> | 328 | <div class="cabinet__inputs-item column-count-3 form-group"> |
327 | <label class="form-group__label">{{ $info_block->name }}:</label> | 329 | <label class="form-group__label">{{ $info_block->name }}:</label> |
328 | 330 | ||
329 | <div class="form-group__item"> | 331 | <div class="form-group__item"> |
330 | @php $status = 0; @endphp | 332 | @php $status = 0; @endphp |
331 | @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status']) | 333 | @if (!empty($worker->dop_info[$info_block->id]) && $worker->dop_info[$info_block->id]['status']) |
332 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp | 334 | @php $status = $worker->dop_info[$info_block->id]['status']; @endphp |
333 | @endif | 335 | @endif |
334 | {{ $additional_document_statuses[$status] }} | 336 | {{ $additional_document_statuses[$status] }} |
335 | </div> | 337 | </div> |
336 | </div> | 338 | </div> |
337 | @endforeach | 339 | @endforeach |
338 | @endif | 340 | @endif |
339 | </div> | 341 | </div> |
340 | 342 | ||
341 | <a class="button fit-content" href="{{ route('worker.additional_documents') }}"> | 343 | <a class="button fit-content" href="{{ route('worker.additional_documents') }}"> |
342 | Редактировать дополнительные документы | 344 | Редактировать дополнительные документы |
343 | </a> | 345 | </a> |
344 | </div> | 346 | </div> |
345 | 347 | ||
346 | <div class="cabinet__body-item mb-20"> | 348 | <div class="cabinet__body-item mb-20"> |
347 | <div> | 349 | <div> |
348 | <h3 class="cabinet__subtitle font30">Опыт работы</h3> | 350 | <h3 class="cabinet__subtitle font30">Опыт работы</h3> |
349 | <div class="">Начните заполнение анкеты с указания последнего места работы</div> | 351 | <div class="">Начните заполнение анкеты с указания последнего места работы</div> |
350 | </div> | 352 | </div> |
351 | 353 | ||
352 | <div class="cabinet__works"> | 354 | <div class="cabinet__works"> |
353 | @if (isset($worker->place_worker)) | 355 | @if (isset($worker->place_worker)) |
354 | @foreach($worker->place_worker as $company) | 356 | @foreach($worker->place_worker as $company) |
355 | <div class="cabinet__works-item"> | 357 | <div class="cabinet__works-item"> |
356 | <div class="cabinet__works-spoiler active"> | 358 | <div class="cabinet__works-spoiler active"> |
357 | <div class="cabinet__works-spoiler-left"> | 359 | <div class="cabinet__works-spoiler-left"> |
358 | <div class="cabinet__works-spoiler-text">Место работы {{ $loop->iteration }}</div> | 360 | <div class="cabinet__works-spoiler-text">Место работы {{ $loop->iteration }}</div> |
359 | </div> | 361 | </div> |
360 | <div class="cabinet__works-spoiler-buttons"> | 362 | <div class="cabinet__works-spoiler-buttons"> |
361 | <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light mr-10 js-works-edit"> | 363 | <a href="{{ route('worker.edit_document', ['doc' => $company->id, 'worker' => $worker->id]) }}" type="button" class="button button_light mr-10 js-works-edit"> |
362 | <svg> | 364 | <svg> |
363 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | 365 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> |
364 | </svg> | 366 | </svg> |
365 | </a> | 367 | </a> |
366 | <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove"> | 368 | <a href="{{ route('worker.delete_document', ['doc' => $company->id]) }}" class="button button_light js-works-remove"> |
367 | <svg> | 369 | <svg> |
368 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | 370 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> |
369 | </svg> | 371 | </svg> |
370 | </a> | 372 | </a> |
371 | </div> | 373 | </div> |
372 | </div> | 374 | </div> |
373 | 375 | ||
374 | <div class="cabinet__works-body"> | 376 | <div class="cabinet__works-body"> |
375 | <div class="cabinet__inputs"> | 377 | <div class="cabinet__inputs"> |
376 | <div class="cabinet__inputs-item column-count-3 form-group"> | 378 | <div class="cabinet__inputs-item column-count-3 form-group"> |
377 | <label class="form-group__label">Должность:</label> | 379 | <label class="form-group__label">Должность:</label> |
378 | <div class="form-group__item"> | 380 | <div class="form-group__item"> |
379 | {{ $company->job_title ?? '-' }} | 381 | {{ $company->job_title ?? '-' }} |
380 | </div> | 382 | </div> |
381 | </div> | 383 | </div> |
382 | 384 | ||
383 | <div class="cabinet__inputs-item column-count-3 form-group"> | 385 | <div class="cabinet__inputs-item column-count-3 form-group"> |
384 | <label class="form-group__label">Название т/х:</label> | 386 | <label class="form-group__label">Название т/х:</label> |
385 | <div class="form-group__item"> | 387 | <div class="form-group__item"> |
386 | {{ $company->teplohod ?? '-' }} | 388 | {{ $company->teplohod ?? '-' }} |
387 | </div> | 389 | </div> |
388 | </div> | 390 | </div> |
389 | <div class="cabinet__inputs-item column-count-3 form-group"> | 391 | <div class="cabinet__inputs-item column-count-3 form-group"> |
390 | <label class="form-group__label">Тип суда:</label> | 392 | <label class="form-group__label">Тип суда:</label> |
391 | <div class="form-group__item"> | 393 | <div class="form-group__item"> |
392 | {{ $company->GWT ?? '-' }} | 394 | {{ $company->GWT ?? '-' }} |
393 | </div> | 395 | </div> |
394 | </div> | 396 | </div> |
395 | <div class="cabinet__inputs-item column-count-3 form-group"> | 397 | <div class="cabinet__inputs-item column-count-3 form-group"> |
396 | <label class="form-group__label">Марка ГД:</label> | 398 | <label class="form-group__label">Марка ГД:</label> |
397 | <div class="form-group__item"> | 399 | <div class="form-group__item"> |
398 | {{ $company->Marka_GD ?? '-' }} | 400 | {{ $company->Marka_GD ?? '-' }} |
399 | </div> | 401 | </div> |
400 | </div> | 402 | </div> |
401 | <div class="cabinet__inputs-item column-count-3 form-group"> | 403 | <div class="cabinet__inputs-item column-count-3 form-group"> |
402 | <label class="form-group__label">Мощность ГД (кВТ):</label> | 404 | <label class="form-group__label">Мощность ГД (кВТ):</label> |
403 | <div class="form-group__item"> | 405 | <div class="form-group__item"> |
404 | {{ $company->KBT ?? '-' }} | 406 | {{ $company->KBT ?? '-' }} |
405 | </div> | 407 | </div> |
406 | </div> | 408 | </div> |
407 | <div class="cabinet__inputs-item column-count-3 form-group"> | 409 | <div class="cabinet__inputs-item column-count-3 form-group"> |
408 | <label class="form-group__label">Водоизмещение (DWT):</label> | 410 | <label class="form-group__label">Водоизмещение (DWT):</label> |
409 | <div class="form-group__item"> | 411 | <div class="form-group__item"> |
410 | {{ $company->GRT ?? '-' }} | 412 | {{ $company->GRT ?? '-' }} |
411 | </div> | 413 | </div> |
412 | </div> | 414 | </div> |
413 | <div class="cabinet__inputs-item column-count-3 form-group"> | 415 | <div class="cabinet__inputs-item column-count-3 form-group"> |
414 | <label class="form-group__label">Название компании:</label> | 416 | <label class="form-group__label">Название компании:</label> |
415 | <div class="form-group__item"> | 417 | <div class="form-group__item"> |
416 | {{ $company->name_company ?? '-' }} | 418 | {{ $company->name_company ?? '-' }} |
417 | </div> | 419 | </div> |
418 | </div> | 420 | </div> |
419 | <div class="cabinet__inputs-item column-count-3 form-group"> | 421 | <div class="cabinet__inputs-item column-count-3 form-group"> |
420 | <label class="form-group__label">Начало контракта:</label> | 422 | <label class="form-group__label">Начало контракта:</label> |
421 | <div class="form-group__item"> | 423 | <div class="form-group__item"> |
422 | {{ $company->begin_work ?? '-' }} | 424 | {{ $company->begin_work ?? '-' }} |
423 | </div> | 425 | </div> |
424 | </div> | 426 | </div> |
425 | <div class="cabinet__inputs-item column-count-3 form-group"> | 427 | <div class="cabinet__inputs-item column-count-3 form-group"> |
426 | <label class="form-group__label">Окончание контракта:</label> | 428 | <label class="form-group__label">Окончание контракта:</label> |
427 | <div class="form-group__item"> | 429 | <div class="form-group__item"> |
428 | {{ $company->end_work ?? '-' }} | 430 | {{ $company->end_work ?? '-' }} |
429 | </div> | 431 | </div> |
430 | </div> | 432 | </div> |
431 | 433 | ||
432 | </div> | 434 | </div> |
433 | </div> | 435 | </div> |
434 | </div> | 436 | </div> |
435 | @endforeach | 437 | @endforeach |
436 | @endif | 438 | @endif |
437 | </div> | 439 | </div> |
438 | 440 | ||
439 | <a href="{{ route('worker.add_document', ['worker' => $worker->id]) }}" id="new_work" name="new_work" class="button fit-content"> | 441 | <a href="{{ route('worker.add_document', ['worker' => $worker->id]) }}" id="new_work" name="new_work" class="button fit-content"> |
440 | Добавить место работы | 442 | Добавить место работы |
441 | </a> | 443 | </a> |
442 | </div> | 444 | </div> |
443 | 445 | ||
444 | <div id="prev_worker" name="prev_worker"> | 446 | <div id="prev_worker" name="prev_worker"> |
445 | <div> | 447 | <div> |
446 | <h3 class="cabinet__subtitle font30">Рекомендации</h3> | 448 | <h3 class="cabinet__subtitle font30">Рекомендации</h3> |
447 | <div class="">Укажите контакты компаний, которые могут дать рекомендации</div> | 449 | <div class="">Укажите контакты компаний, которые могут дать рекомендации</div> |
448 | </div> | 450 | </div> |
449 | 451 | ||
450 | @if ((isset($worker->prev_company)) && ($worker->prev_company->count() > 0)) | 452 | @if ((isset($worker->prev_company)) && ($worker->prev_company->count() > 0)) |
451 | @foreach($worker->prev_company as $it) | 453 | @foreach($worker->prev_company as $it) |
452 | <div class="cabinet__body-item"> | 454 | <div class="cabinet__body-item"> |
453 | <div class="cabinet__inputs mt-30"> | 455 | <div class="cabinet__inputs mt-30"> |
454 | <div class="cabinet__inputs-item column-count-3 form-group"> | 456 | <div class="cabinet__inputs-item column-count-3 form-group"> |
455 | <label class="form-group__label">Название компании:</label> | 457 | <label class="form-group__label">Название компании:</label> |
456 | <div class="form-group__item"> | 458 | <div class="form-group__item"> |
457 | {{ $it->name_company }} | 459 | {{ $it->name_company }} |
458 | </div> | 460 | </div> |
459 | </div> | 461 | </div> |
460 | <div class="cabinet__inputs-item column-count-3 form-group"> | 462 | <div class="cabinet__inputs-item column-count-3 form-group"> |
461 | <label class="form-group__label">ФИО сотрудника:</label> | 463 | <label class="form-group__label">ФИО сотрудника:</label> |
462 | <div class="form-group__item"> | 464 | <div class="form-group__item"> |
463 | {{ $it->direct }} | 465 | {{ $it->direct }} |
464 | </div> | 466 | </div> |
465 | </div> | 467 | </div> |
466 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"> | 468 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"> |
467 | <div class="flex"> | 469 | <div class="flex"> |
468 | <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light mr-10"> | 470 | <a href="{{ route('worker.edit_prev_company', ['worker' => $worker->id, 'doc' => $it->id ]) }}" class="button button_light mr-10"> |
469 | <svg> | 471 | <svg> |
470 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> | 472 | <use xlink:href="{{ asset('images/sprite.svg#pencil') }}"></use> |
471 | </svg> | 473 | </svg> |
472 | </a> | 474 | </a> |
473 | <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light"> | 475 | <a href="{{ route('worker.delete_prev_company', ['doc' => $it->id]) }}" class="button button_light"> |
474 | <svg> | 476 | <svg> |
475 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> | 477 | <use xlink:href="{{ asset('images/sprite.svg#del') }}"></use> |
476 | </svg> | 478 | </svg> |
477 | </a> | 479 | </a> |
478 | </div> | 480 | </div> |
479 | </div> | 481 | </div> |
480 | <div class="cabinet__inputs-item column-count-3 form-group"> | 482 | <div class="cabinet__inputs-item column-count-3 form-group"> |
481 | <label class="form-group__label">Должность сотрудника:</label> | 483 | <label class="form-group__label">Должность сотрудника:</label> |
482 | <div class="form-group__item"> | 484 | <div class="form-group__item"> |
483 | {{ $it->telephone }} | 485 | {{ $it->telephone }} |
484 | </div> | 486 | </div> |
485 | </div> | 487 | </div> |
486 | <div class="cabinet__inputs-item column-count-3 form-group"> | 488 | <div class="cabinet__inputs-item column-count-3 form-group"> |
487 | <label class="form-group__label">Телефон сотрудника:</label> | 489 | <label class="form-group__label">Телефон сотрудника:</label> |
488 | <div class="form-group__item"> | 490 | <div class="form-group__item"> |
489 | {{ $it->telephone2 }} | 491 | {{ $it->telephone2 }} |
490 | </div> | 492 | </div> |
491 | </div> | 493 | </div> |
492 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"></div> | 494 | <div class="cabinet__inputs-item column-count-3 form-group cabinet__inputs-item-buttons"></div> |
493 | </div> | 495 | </div> |
494 | </div> | 496 | </div> |
495 | @endforeach | 497 | @endforeach |
496 | @endif | 498 | @endif |
497 | </div> | 499 | </div> |
498 | 500 | ||
499 | <div class="cabinet__body-item"> | 501 | <div class="cabinet__body-item"> |
500 | <a class="button fit-content" href="{{ route('worker.new_prev_company',['worker' => $worker->id]) }}"> | 502 | <a class="button fit-content" href="{{ route('worker.new_prev_company',['worker' => $worker->id]) }}"> |
501 | Добавить контакт для рекомендации | 503 | Добавить контакт для рекомендации |
502 | </a> | 504 | </a> |
503 | </div> | 505 | </div> |
504 | </div> | 506 | </div> |
505 | </div> | 507 | </div> |
506 | </div> | 508 | </div> |
507 | </section> | 509 | </section> |
508 | @endsection | 510 | @endsection |
509 | 511 |