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
|
@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>
|
||||||
|
|
Loading…
Reference in a new issue