Skip to content

A free open source IT asset/license management system

removing || parts of if else

akemidxefeef5cdc467
diff --git a/resources/views/hardware/bulk-delete.blade.php b/resources/views/hardware/bulk-delete.blade.php
index 0e9f24ae50..37977ca1e2 100644
--- a/resources/views/hardware/bulk-delete.blade.php
+++ b/resources/views/hardware/bulk-delete.blade.php
@@ -42,9 +42,9 @@
<td>{{ $asset->id }}</td>
<td>{{ $asset->present()->name() }}</td>
<td>
- @if ($asset->location || $asset->location_id)
+ @if ($asset->location)
{{ $asset->location->present()->name() }}
- @elseif($asset->rtd_location || $asset->rtd_location_id)
+ @elseif($asset->rtd_location)
{{ $asset->defaultLoc->present()->name() }}
@endif
</td>