@extends('layouts/default') {{-- Page title --}} @section('title') {{ $model->name }} {{ ($model->model_number) ? '(#'.$model->model_number.')' : '' }} @parent @stop @section('header_right') @can('update', \App\Models\AssetModel::class)
@endcan @stop {{-- Page content --}} @section('content')

{{ trans('general.moreinfo') }}:

@if ($model->image) @endif @if ($model->note) Notes:

{!! $model->present()->note() !!}

@endif
@can('update', \App\Models\AssetModel::class) @endcan @can('create', \App\Models\AssetModel::class) @endcan @can('delete', \App\Models\AssetModel::class) @if ($model->assets->count() > 0) @else @endif @endcan
@can('update', \App\Models\AssetModel::class) @include ('modals.upload-file', ['item_type' => 'models', 'item_id' => $model->id]) @endcan @stop @section('moar_scripts') @include ('partials.bootstrap-table', ['exportFile' => 'manufacturer' . $model->name . '-export', 'search' => false]) @stop