Fixed #8426 - show model number in custom fields model listing

This commit is contained in:
snipe 2020-09-11 11:27:30 -07:00
parent f949a95cfb
commit 2f435a57c1
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -60,7 +60,7 @@
</td>
<td>
@foreach($fieldset->models as $model)
<a href="{{ route('models.show', $model->id) }}" class="label label-default">{{ $model->name }}</a>
<a href="{{ route('models.show', $model->id) }}" class="label label-default">{{ $model->name }}{{ ($model->model_number) ? ' ('.$model->model_number.')' : '' }}</a>
@endforeach
</td>