mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed depreciation report not showing assigned to
This commit is contained in:
parent
69a7ea63e2
commit
3b5e4c44eb
|
@ -74,11 +74,12 @@
|
|||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if ($asset->assignedTo)
|
||||
@if ($asset->assignedTo->deleted_at!='')
|
||||
<del>{{ $asset->assignedTo->present()->name() }}</del>
|
||||
@if ($asset->checkedOutToUser())
|
||||
{{ $asset->assigned->getFullNameAttribute() }}
|
||||
@else
|
||||
{!! $asset->assignedTo->present()->nameUrl() !!}
|
||||
|
||||
@if ($asset->assigned)
|
||||
{{ $asset->assigned->name }}
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue