@extends('layouts.app') @section('title', $item->name) @section('content')

{{ $item->name }}

{{ $item->code }}

{{ __('common.edit') }}
@csrf @method('DELETE')

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

{{ $item->code ?? '-' }}

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

@if($item->category) @php $ck = 'inventory.category_' . $item->category; $cl = __($ck); if ($cl === $ck) $cl = $item->category; @endphp

{{ $cl }}

@else

-

@endif

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

{{ $item->unit ?? '-' }}

{{ __('common.status') }}

@if($item->is_active) {{ __('common.active') }} @else {{ __('common.inactive') }} @endif
@if($item->description)

{{ __('common.description') }}

{{ $item->description }}

@endif
@endsection