@extends('layouts.app') @section('title', $item->name) @section('content')
{{ __('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{{ __('common.description') }}
{{ $item->description }}