@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.admin') }}
@if ($consumable->image!='') @endif @if ($consumable->purchase_date)
{{ trans('general.purchase_date') }}: {{ \App\Helpers\Helper::getFormattedDateObject($consumable->purchase_date, 'date', false) }}
@endif @if ($consumable->purchase_cost)
{{ trans('general.purchase_cost') }}: {{ $snipeSettings->default_currency }} {{ \App\Helpers\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\Accessory::class) @endcan
@stop @section('moar_scripts') @include ('partials.bootstrap-table', ['exportFile' => 'consumable' . $consumable->name . '-export', 'search' => false]) @stop