From 1ae665b6455ab72633fd2e2a72a55e3881e2bcf4 Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Mon, 13 Sep 2021 16:45:05 -0500 Subject: [PATCH] Use the property 'archived' so if the 'name' one changes it doesn't fails --- resources/views/locations/print.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php index 634f43aa4c..981c52e575 100644 --- a/resources/views/locations/print.blade.php +++ b/resources/views/locations/print.blade.php @@ -127,7 +127,7 @@ @foreach ($assets as $asset) @php - if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->name === 'Archived'){ + if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){ continue; } @endphp