@extends('layouts.admin') @section('content')

Reports

Generate and download various reports for temple management

Seva Booking Report

Detailed seva booking information

Generate comprehensive reports on seva bookings with filters for date, category, and seva type. Includes customer details, booking dates, temple information, and booking status.

Accounts Report

Financial and booking account details

Generate detailed account reports with customer information, booking amounts, order IDs, transaction details, and financial summaries.

Quick Statistics

{{ \App\Models\Booking::whereNotNull('cart_data')->count() }}
Total Bookings
₹{{ number_format(\App\Models\Booking::whereNotNull('cart_data')->get()->sum(function($booking) { return collect($booking->cart_data ?? [])->sum('price'); }), 0) }}
Total Revenue
{{ \App\Models\User::count() }}
Total Customers
{{ \App\Models\Seva::whereNull('deleted_at')->count() }}
Active Sevas
@endsection