diff --git a/resources/views/hardware/bulk-delete.blade.php b/resources/views/hardware/bulk-delete.blade.php index 59ba82ff5c..2e36049997 100644 --- a/resources/views/hardware/bulk-delete.blade.php +++ b/resources/views/hardware/bulk-delete.blade.php @@ -42,15 +42,15 @@ {{ $asset->id }} {{ $asset->present()->name() }} - @if ($asset->location) + @if ($asset->location_id) {{ $asset->location->name }} + @elseif($asset->rtd_location_id) + {{ $asset->defaultLoc->name }} @endif - - {{ $asset->assigned_to }} - @if ($asset->assignedTo) - {{ $asset->assignedTo->present()->name()}} + @if ($asset->assigned_to) + {{ $asset->assigned->present()->name() }} @endif