@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') }}

{{ trans('admin/consumables/general.about_consumables_title') }}

{{ trans('admin/consumables/general.about_consumables_text') }}

@if ($consumable->purchase_date)
{{ trans('admin/consumables/general.date') }}: {{ $consumable->purchase_date }}
@endif @if ($consumable->purchase_cost)
{{ trans('admin/consumables/general.cost') }}: {{ \App\Models\Setting::first()->default_currency }} {{ number_format($consumable->purchase_cost,2) }}
@endif @if ($consumable->item_no)
{{ trans('admin/consumables/general.item_no') }}: {{ $consumable->item_no }}
@endif @if ($consumable->model_no)
{{ trans('general.model_no') }}: {{ $consumable->model_no }}
@endif @if ($consumable->manufacturer)
{{ trans('general.manufacturer') }}: {{ $consumable->manufacturer->name }}
@endif @if ($consumable->order_number)
{{ trans('admin/consumables/general.order') }}: {{ $consumable->order_number }}
@endif
@section('moar_scripts') @stop @stop