Account for user’s that have been deleted in the requested list

This commit is contained in:
snipe 2018-01-16 07:36:03 -08:00
parent dc4472e9e9
commit 66a590b774

View file

@ -86,9 +86,13 @@
@endif
</td>
<td>
@if ($request->requestingUser())
<a href="{{ url('/') }}/users/{{ $request->requestingUser()->id }}">
{{ $request->requestingUser()->present()->fullName() }}
</a>
@else
(deleted user)
@endif
</td>
<td>{{ App\Helpers\Helper::getFormattedDateObject($request->created_at, 'datetime', false) }}</td>
<td>