A free open source IT asset/license management system
Use the property 'archived' so if the 'name' one changes it doesn't fails
Ivan Nieto Vivanco1ae665b6455a
diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.phpindex 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