Fixes #2856 - add status to asset detail view

(Not sure how we missed this… oops)
This commit is contained in:
snipe 2016-10-31 17:41:15 -07:00
parent a4ae3b0091
commit 0595867500

View file

@ -75,6 +75,20 @@
<div class="table-responsive" style="margin-top: 10px;">
<table class="table">
<tbody>
@if ($asset->assetstatus)
<tr>
<td>{{ trans('general.status') }}</td>
<td>
@if ($asset->assetstatus->color)
<span class="label label-default" style="background-color: {{ e($asset->assetstatus->color) }};">
&nbsp; &nbsp;</span>
</span>
@endif
{{ $asset->assetstatus->name }}
</td>
</tr>
@endif
@if ($asset->company)
<tr>
<td>{{ trans('general.company') }}</td>