@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/hardware/general.view') }} {{ $asset->asset_tag }} @parent @stop {{-- Right header --}} @section('header_right') @can('manage', \App\Models\Asset::class) @if ($asset->deleted_at=='') @endif @endcan @stop {{-- Page content --}} @section('content')
@if (!$asset->model)

{{ trans('admin/models/message.no_association') }}

{{ trans('admin/models/message.no_association_fix') }}

@endif @if ($asset->deleted_at!='')
{{ trans('general.'notification_warning') }} {{ trans('general.asset_deleted_warning') }}
@endif
@can('update', \App\Models\Asset::class) @include ('modals.upload-file', ['item_type' => 'asset', 'item_id' => $asset->id]) @endcan @stop @section('moar_scripts') @include ('partials.bootstrap-table') @stop