Include department in user info

This commit is contained in:
snipe 2017-05-31 01:17:30 -07:00
parent 71b668e1a3
commit 92052442e3

View file

@ -134,6 +134,13 @@
</tr> </tr>
@endif @endif
@if (!is_null($user->department))
<tr>
<td>{{ trans('general.department') }}</td>
<td><a href="{{ route('departments.show', $user->department) }}">{{ $user->department->name }}</a></td>
</tr>
@endif
@if ($user->jobtitle) @if ($user->jobtitle)
<tr> <tr>
<td>{{ trans('admin/users/table.job') }}</td> <td>{{ trans('admin/users/table.job') }}</td>