@extends('layouts/default') {{-- Page title --}} @section('title') {{ $consumable->name }} {{ trans('general.consumable') }} - ({{ trans('general.remaining_var', ['count' => $consumable->numRemaining()]) }}) @parent @endsection @section('header_right') @endsection {{-- Page content --}} @section('content') @can('update', $consumable) @endcan {{ trans('general.files') }} {{ trans('general.history') }} @can('update', \App\Models\User::class) @include ('modals.upload-file', ['item_type' => 'consumable', 'item_id' => $consumable->id]) @endcan @stop @section('moar_scripts') @include ('partials.bootstrap-table', ['simple_view' => true]) @endsection