mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Merge pull request #10079 from inietov/fixes/archived_assets_showing_in_locations
Awesome, thanks!
This commit is contained in:
commit
179f26ca2e
|
@ -126,7 +126,11 @@
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
@foreach ($assets as $asset)
|
@foreach ($assets as $asset)
|
||||||
|
@php
|
||||||
|
if($snipeSettings->show_archived_in_list != 1 && $asset->assetstatus->archived == 1){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
@endphp
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $counter }}</td>
|
<td>{{ $counter }}</td>
|
||||||
<td>{{ $asset->asset_tag }}</td>
|
<td>{{ $asset->asset_tag }}</td>
|
||||||
|
|
Loading…
Reference in a new issue