Merge pull request #10079 from inietov/fixes/archived_assets_showing_in_locations

Awesome, thanks!
This commit is contained in:
snipe 2021-09-13 14:46:44 -07:00 committed by GitHub
commit 179f26ca2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,11 @@
@endphp
@foreach ($assets as $asset)
@php
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){
continue;
}
@endphp
<tr>
<td>{{ $counter }}</td>
<td>{{ $asset->asset_tag }}</td>