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
This commit is contained in:
parent
a5409215fc
commit
2b64af0d34
1 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue