diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index 84002885e9..9e3797f288 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -180,11 +180,34 @@ @endif + + + + {{ trans('general.category') }} + + @if ($asset->model->category) + + @can('view', \App\Models\Category::class) + + + {{ $asset->model->category->name }} + + @else + {{ $asset->model->category->name }} + @endcan + @else + Invalid category + @endif + + + + + {{ trans('admin/hardware/form.model') }} - @can('view', \App\Models\AssetModel::class) + @can('view', \App\Models\AssetModel::class) {{ $asset->model->name }} @@ -193,6 +216,8 @@ @endcan + + {{ trans('admin/models/table.modelnumber') }}