@extends('layouts.app') @section('title', 'Departments') @push('styles') @endpush @section('content') {{-- ✅ Header Section --}}

Departments

Manage organizational departments and their statuses.

Add Department
{{-- ✅ Success Alert --}} @if (session('success')) @endif {{-- ✅ Filter Bar --}}
Search Clear
{{-- ✅ Table Card --}}
@forelse($items as $item) @empty @endforelse
Name Status Actions
{{ $item->name }}
View Edit
No departments found

Adjust your search or add a new department.

{{-- ✅ Custom Pagination --}}
Showing {{ $items->firstItem() ?? 0 }}–{{ $items->lastItem() ?? 0 }} of {{ $items->total() }} results
{{ $items->appends(request()->query())->links('pagination::bootstrap-5') }}
@endsection