@extends('layouts/default') {{-- Page title --}} @section('title') {{ $accessory->name }} {{ trans('general.accessory') }} @if ($accessory->model_number!='') ({{ $accessory->model_number }}) @endif @parent @stop @section('header_right') @endsection {{-- Page content --}} @section('content') @can('update', $accessory) @endcan {{ trans('general.checked_out') }} {{ trans('general.history') }} @can('accessories.files', $accessory) {{ trans('general.files') }} @endcan @can('update', $accessory) {{ trans('button.clone') }} @endcan @can('checkout', $accessory) @if (($accessory->numRemaining() > 0)) @else {{ trans('general.checkout') }} @endif @endcan @can('delete', $accessory) @endcan @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