diff --git a/resources/views/hardware/bulk-delete.blade.php b/resources/views/hardware/bulk-delete.blade.php index 59ba82ff5c..37977ca1e2 100644 --- a/resources/views/hardware/bulk-delete.blade.php +++ b/resources/views/hardware/bulk-delete.blade.php @@ -43,14 +43,14 @@ {{ $asset->present()->name() }} @if ($asset->location) - {{ $asset->location->name }} + {{ $asset->location->present()->name() }} + @elseif($asset->rtd_location) + {{ $asset->defaultLoc->present()->name() }} @endif - - {{ $asset->assigned_to }} - @if ($asset->assignedTo) - {{ $asset->assignedTo->present()->name()}} + @if ($asset->assigned_to) + {{ $asset->assigned->present()->name() }} @endif