A free open source IT asset/license management system
Add a condition in the view 'print all assigned' from locations where it skips the assets in relation of if they're archived and that option is marked in the settings
Ivan Nieto Vivanco2b64af0d34d9
diff --git a/resources/views/locations/print.blade.php b/resources/views/locations/print.blade.phpindex 97fc15d958..3cc565fe03 100644--- a/resources/views/locations/print.blade.php+++ b/resources/views/locations/print.blade.php@@ -122,11 +122,15 @@</tr></thead>@php- $counter = 1;+ $counter = 1;;@endphp@foreach ($assets as $asset)-+ @php+ if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->name === 'Archived'){+ continue;+ }+ @endphp<tr><td>{{ $counter }}</td><td>{{ $asset->asset_tag }}</td>