@extends('layouts/default') {{-- Page title --}} @section('title') {{ $accessory->name }} {{ trans('general.accessory') }} @if ($accessory->model_number!='') ({{ $accessory->model_number }}) @endif @parent @stop {{-- Right header --}} @section('header_right') @can('manage', \App\Models\Accessory::class) @endcan @stop {{-- Page content --}} @section('content') {{-- Page content --}}
@if ($accessory->image!='')
{{ $accessory->name }}
@endif @if ($accessory->company)
{{ trans('general.company')}}
@endif @if ($accessory->category)
{{ trans('general.category')}}
@endif @if ($accessory->notes)
{{ trans('general.notes') }}
{!! nl2br(e($accessory->notes)) !!}
@endif
{{ trans('admin/accessories/general.remaining') }}
{{ $accessory->numRemaining() }}
{{ trans('general.checked_out') }}
{{ $accessory->users_count }}
@can('checkout', \App\Models\Accessory::class) @endcan
@if ($snipeSettings->require_accept_signature=='1') @endif
{{ trans('general.record_created') }} {{ trans('general.admin') }} {{ trans('general.action') }} {{ trans('general.item') }} {{ trans('general.target') }} {{ trans('general.notes') }} {{ trans('general.date') }}{{ trans('general.signature') }}
@can('accessories.files', Accessory::class) @include ('modals.upload-file', ['item_type' => 'accessory', 'item_id' => $accessory->id]) @endcan @stop @section('moar_scripts') @include ('partials.bootstrap-table') @stop