Commit c81785d9a5a08d49d09682e0ce0a6e9d6698be25
1 parent
6a15f441b4
Exists in
master
Блейд индекс
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
resources/views/admin/employer/index.blade.php
... | ... | @@ -112,7 +112,8 @@ |
112 | 112 | {{$user->name}} |
113 | 113 | </td> |
114 | 114 | <td class="px-4 py-3"> |
115 | - @if (isset($user->employers[0]->logo) && ($user->employers[0]->logo)) | |
115 | + <pre><? print_r($user->employers);?></pre> | |
116 | + @if (isset($user->employers[0]->logo)) | |
116 | 117 | <img src="{{ asset(Storage::url($user->employers[0]->logo)) }}" style="width:50px"/> |
117 | 118 | @else |
118 | 119 | - |