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