@extends('layouts/default')
@section('title0')
@if (request('status') === 'Archived')
{{ trans('general.archived') }}
@elseif (request('status') === 'Deleted')
{{ ucfirst(trans('general.deleted')) }}
@endif
{{ trans('general.consumables') }}
@stop
{{-- Page title --}}
@section('title')
@yield('title0') @parent
@stop
{{-- Page content --}}
@section('content')
{{-- Remaining and % Remaining measure "available to give out,"
which has no meaning for archived (retired) or deleted
rows. Drop both columns on those two filter views. --}}
@can('update', \App\Models\Consumable::class)
@endcan
@stop
@section('moar_scripts')
@include ('partials.bootstrap-table', ['exportFile' => 'consumables-export', 'search' => true,'showFooter' => true, 'columns' => \App\Presenters\ConsumablePresenter::dataTableLayout()])
@stop