adds a red icon next to broken- not fixable status label

This commit is contained in:
Godfrey M 2023-02-14 09:55:48 -08:00
parent 1520c9c6a7
commit d03e042eda

View file

@ -245,7 +245,10 @@
<i class="fas fa-circle text-orange"></i> <i class="fas fa-circle text-orange"></i>
@elseif (($asset->assetstatus) && ($asset->assetstatus->archived=='1')) @elseif (($asset->assetstatus) && ($asset->assetstatus->archived=='1'))
<i class="fas fa-times text-red"></i> <i class="fas fa-times text-red"></i>
@elseif (($asset->assetstatus) && ($asset->assetstatus->name =="Broken - Not Fixable"))
<i class="fas fa-times text-red"></i>
@endif @endif
<a href="{{ route('statuslabels.show', $asset->assetstatus->id) }}"> <a href="{{ route('statuslabels.show', $asset->assetstatus->id) }}">
{{ $asset->assetstatus->name }}</a> {{ $asset->assetstatus->name }}</a>
<label class="label label-default">{{ $asset->present()->statusMeta }}</label> <label class="label label-default">{{ $asset->present()->statusMeta }}</label>