@extends('temple.layouts.app') @section('title', 'Vazhipad Report') @section('content') {{-- Date Filter --}}
{{-- Summary --}}

Active Vazhipad Summary

Total Income: ₹{{ number_format($totalAmount ?? 0, 2) }}
@forelse($summary as $i => $vazhipad) @empty @endforelse @if($summary->isNotEmpty()) @endif
# Vazhipad Name Total Count Total Income
{{ $i + 1 }} {{ $vazhipad->name }} {{ $vazhipad->bookings_count ?? 0 }} ₹{{ number_format($vazhipad->total_amount ?? 0, 2) }}
No active vazhipad found.
Grand Total {{ $summary->sum('bookings_count') }} ₹{{ number_format($summary->sum('total_amount'), 2) }}
@endsection @push('scripts') @endpush