Adds the category in the side info on Models > View

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-08-14 14:01:58 -07:00
parent 1763bbfbd3
commit 368bd5da3f

View file

@ -221,6 +221,12 @@
<ul class="list-unstyled" style="line-height: 25px;">
@if ($model->category)
<li>{{ trans('general.category') }}:
<a href="{{ route('categories.show', $model->category->id) }}">{{ $model->category->name }}</a>
</li>
@endif
@if ($model->manufacturer)
<li>
{{ trans('general.manufacturer') }}: