@extends('dashboard.layouts.app') @section('title', __('dashboard.Item Categories')) @section('page_heading', __('dashboard.Item Categories')) @section('breadcrumb') @endsection @section('content')

{{ __('dashboard.Item Categories') }}

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@forelse ($itemCategories as $itemCategory) @empty @endforelse
# {{ __('dashboard.Name') }} {{ __('dashboard.Code') }} {{ __('dashboard.Parent Category') }} {{ __('dashboard.Description') }} {{ __('dashboard.Active') }} {{ __('dashboard.Actions') }}
{{ $loop->iteration }} {{ $itemCategory->name }} {{ $itemCategory->code }} {{ $itemCategory->parent ? $itemCategory->parent->name : __('dashboard.No Parent') }} {{ $itemCategory->description ?? '-' }} @if ($itemCategory->is_active) {{ __('dashboard.Yes') }} @else {{ __('dashboard.No') }} @endif
{{ __('dashboard.No Data') }}
{{ $itemCategories->links() }}
@endsection