Commit 60451bb51228e698a549c7e04f2e1a0b84daecf7

Authored by Андрей Ларионов
1 parent 4784310732

Баг базы данных

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

resources/views/employers/bd.blade.php
... ... @@ -78,6 +78,7 @@
78 78 @endphp
79 79 @if ($users->count())
80 80 @foreach ($users as $key => $it)
  81 + @if (isset($it->workers[0]->position_work))
81 82 @if ($categories !== $it->workers[0]->position_work)
82 83 @php
83 84 $categories = $it->workers[0]->position_work;
... ... @@ -160,6 +161,7 @@
160 161 </div>
161 162 </div>
162 163 </div>
  164 + @endif
163 165 @endforeach
164 166 @endif
165 167 </div>