diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.php index 97fc15d95..3cc565fe0 100644 --- a/resources/views/locations/print.blade.php +++ b/resources/views/locations/print.blade.php @@ -122,11 +122,15 @@ @php - $counter = 1; + $counter = 1;; @endphp @foreach ($assets as $asset) - + @php + if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->name === 'Archived'){ + continue; + } + @endphp