Fixed depreciation report not showing assigned to

This commit is contained in:
snipe 2018-01-16 07:46:34 -08:00
parent 69a7ea63e2
commit 3b5e4c44eb

View file

@ -74,13 +74,14 @@
@endif @endif
</td> </td>
<td> <td>
@if ($asset->assignedTo) @if ($asset->checkedOutToUser())
@if ($asset->assignedTo->deleted_at!='') {{ $asset->assigned->getFullNameAttribute() }}
<del>{{ $asset->assignedTo->present()->name() }}</del>
@else @else
{!! $asset->assignedTo->present()->nameUrl() !!}
@if ($asset->assigned)
{{ $asset->assigned->name }}
@endif
@endif @endif
@endif
</td> </td>
<td> <td>
@if ($asset->location) @if ($asset->location)