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

Revenue Report

  1. Reports
  2. Revenue
{{-- Date filter + export --}}
CSV
{{-- KPI cards --}}
@foreach([ ['Total Collected', $currency . $totals['collected'], '#22c55e', 'fa-rupee-sign'], ['Transactions', $totals['transactions'], '#3b82f6', 'fa-receipt'], ['Online Payments', $currency . $totals['online'], '#8b5cf6', 'fa-credit-card'], ['Cash / Manual', $currency . $totals['cash'] + $totals['manual'], '#c9a96e', 'fa-money-bill'], ] as [$label, $val, $color, $icon])
{{ $label }}
{{ $val }}
@endforeach
{{-- Revenue chart --}}
Revenue Trend
{{-- By gate way --}}
By Gateway
@foreach($byGateway as $g) @php $pct = $totals['collected'] > 0 ? ($g->total / $totals['collected']) * 100 : 0; @endphp
{{ ucfirst($g->gateway) }} {{ $currency }}{{ $g->total }}
{{ $g->count }} txns • {{ $pct }}%
@endforeach
{{-- Tra nsactions table --}}
Transactions ({{ $transactions->total() }})
@forelse($transactions as $t) @empty @endforelse
DateUserUnitGatewayModeAmount
{{ $t->paid_at?->format('d M Y, H:i') }}
{{ $t->user?->name }}
{{ $t->user?->phone }}
Unit {{ $t->booking?->plot_number }}
{{ $t->booking?->plot_type }}
{{ ucfirst($t->gateway) }} {{ ucfirst($t->mode) }} {{ $currency }}{{ $t->amount }}
No transactions in this period.
@if($transactions->hasPages()) @endif
@include('Partials.footer')