@extends('layouts.admin') @section('title', 'Scheduled Reports') @section('content')

Scheduled Reports

Create and manage automated report schedules

@if (session('status'))
{{ session('status') }}
@endif

Create New Schedule

@csrf

Existing Schedules

@forelse ($schedules as $schedule) @empty @endforelse
Name Type Format Frequency Recipients Next Run Active Created
{{ $schedule->name }} {{ ucfirst($schedule->type) }} {{ strtoupper($schedule->format) }} {{ ucfirst($schedule->frequency) }} {{ $schedule->recipients ?: '—' }} {{ optional($schedule->next_run_at)->format('Y-m-d H:i') ?? '—' }} @if($schedule->is_active) Active @else Inactive @endif {{ $schedule->created_at->format('Y-m-d') }}
No schedules found
{{ $schedules->links() }}
@endsection