@include('Partials.sidebar')
@include('Partials.header')

Reports Overview

All-time performance snapshot

  1. Reports
{{-- Quick nav --}}
@foreach([ ['/admin/reports/overview', 'fa-chart-pie', 'Overview', true], ['/admin/reports/revenue', 'fa-chart-line', 'Revenue', false], ['/admin/reports/bookings', 'fa-chart-bar', 'Bookings', false], ['/admin/reports/sales', 'fa-trophy', 'Sales', false], ['/admin/reports/tour-views', 'fa-walking', 'Tour Analytics',false], ] as [$url, $icon, $label, $active]) {{ $label }} @endforeach
{{-- KPI Cards --}}
@foreach([ ['Total Revenue', $currency.$stats['total_revenue'], '#22c55e', 'fa-rupee-sign'], ['This Month', $currency.$stats['this_month_revenue'], '#3b82f6', 'fa-calendar'], ['Confirmed Bookings',$stats['confirmed_bookings'], '#c9a96e', 'fa-check-circle'], ['Pending Bookings', $stats['pending_bookings'], '#f59e0b', 'fa-clock'], ['Total Leads', $stats['total_leads'], '#8b5cf6', 'fa-funnel-dollar'], ['Leads Won', $stats['leads_won'].' ('.$stats['lead_conversion_rate'].'%)', '#22c55e', 'fa-trophy'], ['Plots Available', $stats['plots_available'].'/'.$stats['plots_total'], '#06b6d4', 'fa-home'], ['Inventory Sold', $stats['inventory_sold_pct'].'%', '#ef4444', 'fa-percentage'], ] as [$label, $val, $color, $icon])
{{ $label }}
{{ $val }}
@endforeach
{{-- Revenue 12-month chart --}}
📈 Revenue — Last 12 Months
{{-- Lead sources donut --}}
🎯 Lead Sources
{{-- Bookings trend --}}
🏠 Bookings — Last 12 Months
{{-- Gateway breakdown --}}
💳 Revenue by Gateway
@foreach($gatewayBreakdown as $g) @endforeach
GatewayTransactionsRevenue
{{ ucfirst($g->gateway) }} {{ $g->count }} {{ $currency }}{{ $g->total }}
{{-- Inventory progress --}}
🏘️ Inventory Status
@php $booked = $stats['plots_booked']; $available = $stats['plots_available']; $total = $stats['plots_total']; $other = max(0, $total - $booked - $available); @endphp
@foreach([['Booked','#ef4444',$booked],['Available','#22c55e',$available],['Other','#94a3b8',$other]] as [$l,$c,$v])
{{$l}} {{$v}}
@endforeach
{{-- Quick links to detailed reports --}}
📊 Detailed Reports
@foreach([ ['/admin/reports/revenue', 'fa-chart-line', 'Revenue Report', 'View transaction history, gateway breakdown, date range export', '#22c55e'], ['/admin/reports/bookings', 'fa-chart-bar', 'Booking Report', 'Booking trends, status breakdown, plot type analysis', '#c9a96e'], ['/admin/reports/sales', 'fa-trophy', 'Sales Report', 'Agent leaderboard, broker performance, lead conversion', '#f59e0b'], ['/admin/reports/tour-views', 'fa-walking', 'Tour Analytics', 'Most wishlisted units, lead source ROI, inventory sell-through', '#8b5cf6'], ] as [$url, $icon, $title, $desc, $color]) @endforeach
@include('Partials.footer')