@extends('reports.layout') @section('content')
Total Violators
{{ $summary['totalViolators'] }}
Total Violations
{{ $summary['totalViolations'] }}
Fines Collected
₱{{ number_format($summary['finesCollected'], 2) }}
Total Paid
{{ $summary['totalPaid'] }}
Outstanding Balance
₱{{ number_format($summary['outstandingBalance'], 2) }}
Total Unpaid
{{ $summary['totalUnpaid'] }}
Most Committed Violations
    @forelse($summary['topViolationTypes'] as $t)
  1. {{ $t['name'] }} — {{ $t['count'] }}
  2. @empty
  3. No data for this period.
  4. @endforelse
Weekly Breakdown
@foreach($weeklyBreakdown as $w) @endforeach
WeekViolatorsViolationsPaidUnpaid
{{ $w['label'] }}: {{ $w['rangeLabel'] }} {{ $w['violators'] }} {{ $w['violations'] }} {{ $w['paid'] }} {{ $w['unpaid'] }}
Unpaid Violators
@forelse($unpaid as $v) @empty @endforelse
Ticket No.ViolatorViolation TypeOffense #FineDateLocation
{{ $v['ticket'] }}{{ $v['violator'] }}{{ $v['type'] }} {{ $v['offense'] }} ₱{{ number_format($v['fine'], 2) }} {{ $v['date'] }}{{ $v['location'] }}
No records found for this period
Paid Violators
@forelse($paid as $v) @empty @endforelse
Ticket No.ViolatorViolation TypeOffense #FineDateDate PaidLocation
{{ $v['ticket'] }}{{ $v['violator'] }}{{ $v['type'] }} {{ $v['offense'] }} ₱{{ number_format($v['fine'], 2) }} {{ $v['date'] }}{{ $v['datePaid'] }}{{ $v['location'] }}
No records found for this period
@endsection