@extends('layouts/default') {{-- Page title --}} @section('title') {{ $consumable->name }} {{ trans('general.consumable') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')
@if ($consumable->id)

{{ $consumable->name }}

@endif
{{ trans('general.user') }} {{ trans('general.date') }} {{ trans('general.notes') }} {{ trans('general.admin') }}
@if ($consumable->image!='') @endif @if ($consumable->purchase_date)
{{ trans('general.purchase_date') }}: {{ Helper::getFormattedDateObject($consumable->purchase_date, 'date', false) }}
@endif @if ($consumable->purchase_cost)
{{ trans('general.purchase_cost') }}: {{ $snipeSettings->default_currency }} {{ Helper::formatCurrencyOutput($consumable->purchase_cost) }}
@endif @if ($consumable->item_no)
{{ trans('admin/consumables/general.item_no') }}: {{ $consumable->item_no }}
@endif @if ($consumable->model_number)
{{ trans('general.model_no') }}: {{ $consumable->model_number }}
@endif @if ($consumable->manufacturer)
{{ trans('general.manufacturer') }}: {{ $consumable->manufacturer->name }}
@endif @if ($consumable->order_number)
{{ trans('general.order_number') }}: {{ $consumable->order_number }}
@endif @can('checkout', \App\Models\Consumable::class)


@if ($consumable->numRemaining() > 0) {{ trans('general.checkout') }} @else @endif
@endcan @if ($consumable->notes)
{{ trans('general.notes') }}:
{!! nl2br(e($consumable->notes)) !!}
@endif
@stop @section('moar_scripts') @include ('partials.bootstrap-table', ['exportFile' => 'consumable' . $consumable->name . '-export', 'search' => false]) @stop