From f10807661d0e412c16265ac2570822515edcb32a Mon Sep 17 00:00:00 2001 From: akemidx Date: Wed, 30 Oct 2024 19:26:52 -0400 Subject: [PATCH] fixing bulk delete table --- resources/views/hardware/bulk-delete.blade.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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