{{-- MODULE TEMPLATE — LIST / INDEX PAGE Copy this whole `_template` folder to `resources/views/{yourmodule}`, then find-and-replace (whole word, case-sensitive) across the copied files: Item -> PascalCase singular model name (e.g. Branch) item -> lowercase singular (e.g. branch) items -> lowercase plural (e.g. branches) Controller passes: $pageTitle, $pageDescription, $items (a Collection). See docs/module-template/README.md for the full checklist (routes, permissions, sidebar menu entry). --}} @extends('layouts.app') @section('content')
{{-- Remove this button if the module has no create form --}} Create New
{{-- Optional date range filter — delete this block if not needed --}}
{{-- TODO: replace with your module's real columns --}} @forelse ($items as $item) @empty @endforelse
Name Status Created At Action
{{ $item->name }}
{{ $item->status ?? '-' }}
{{ $item->created_at?->format('Y-m-d H:i') }}
No records found.
@endsection @section('styles') @endsection @section('scripts') @endsection