{{ $flashMessage }}
@endif @error('item_code'){{ $message }}
@enderror @error('item_name'){{ $message }}
@enderror @error('category_id'){{ $message }}
@enderror @error('unit_id'){{ $message }}
@enderror @if ($showForm) @endif| # | {{ __('common.code') }} | {{ __('common.name') }} | {{ __('common.category') }} | {{ __('common.unit') }} | {{ __('common.type') }} | {{ __('items.brand') }} | {{ __('items.specification') }} | {{ __('common.description') }} | {{ __('common.status') }} | {{ __('items.created') }} | {{ __('common.actions') }} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $rows->firstItem() + $idx }} | {{ $row->item_code }} | {{ $row->item_name }} | {{ $row->category_name ?: '-' }} | {{ $row->unit_name ? $row->unit_name.($row->unit_symbol ? ' ('.$row->unit_symbol.')' : '') : '-' }} | {{ $row->item_type }} | {{ $row->brand ?: '-' }} | {{ \Illuminate\Support\Str::limit($row->specification, 30) ?: '-' }} | {{ \Illuminate\Support\Str::limit($row->description, 30) ?: '-' }} | {{ ucfirst($row->status ?: 'inactive') }} | {{ $row->created_at ? \Illuminate\Support\Carbon::parse($row->created_at)->format('Y-m-d') : '-' }} | |
| {{ __('common.no_records') }} | |||||||||||