@extends('layouts.app') @section('title', 'Items') @section('content') Add Item
@if(($items ?? collect())->isEmpty())
@else
@foreach($items as $item) @endforeach
Code Name EN Name AR Category UOM Batch Tracking Status Actions
{{ $item->item_code }} {{ $item->name_en }} {{ $item->name_ar ?? '—' }} {{ $item->categoryRelation->name ?? $item->category ?? '—' }} {{ $item->unit_of_measure }} @if($item->requires_batch_tracking) Yes @else No @endif
@csrf @method('DELETE')
@if(method_exists($items, 'links'))
{{ $items->withQueryString()->links() }}
@endif
@endif @endsection