@extends('layouts.app') @section('content-header')

{{__('inventory.inventory_details')}}

@endsection @section('content')

{{ isset($inventory->name) ? ucfirst($inventory->name) : 'Inventory' }} {{__('commons.full_information')}}

{{ csrf_field() }} @if (App\Helpers\CommonHelper::isCapable('inventories.index')) @endif @if (App\Helpers\CommonHelper::isCapable('inventories.printDetails')) @endif @if (App\Helpers\CommonHelper::isCapable('inventories.create')) @endif @if (App\Helpers\CommonHelper::isCapable('inventories.edit')) @endif @if (App\Helpers\CommonHelper::isCapable('inventories.destroy')) @endif
{{__('commons.name')}} {{ $inventory->name }}
{{__('inventory.inventory_image')}} @if (!empty($inventory->inventory_image)) Inventory Image @endif
{{__('inventory.inventory_type')}} {{ optional($inventory->inventoryType)->title }}
{{__('inventory.inventory_unit')}} {{ optional($inventory->inventoryUnit)->title }}
{{__('inventory.source')}} {{ $inventory->source }}
{{__('inventory.warranty')}} {{ $inventory->warranty }}
{{__('commons.description')}} {{ $inventory->description }}
{{__('commons.instruction')}} {{ $inventory->instruction }}
{{__('commons.created_by')}} {{ optional($inventory->creator)->name }}
{{__('commons.created_at')}} {{ $inventory->created_at }}
{{__('commons.update_at')}} {{ $inventory->updated_at }}
@endsection