{{-- resources/views/reports/collections.blade.php --}} @extends('layouts.app') @section('title', 'Reports · Collections (Daily/Monthly)') @section('content')
Collections (Daily/Monthly)
{{-- Filters (static UI only) --}}
{{-- Daily --}}
{{-- Monthly --}}
{{-- Table --}}
Summary
{{-- Static sample data for MVP --}} @php $rows = [ [ 1, 'OR-2025-00123', '2025-10-20', 'Juan Dela Cruz', 'New Business Permit', 1500.0, 'Cashier 1', 'Cash', ], [ 2, 'OR-2025-00124', '2025-10-20', 'ABC Trading', 'Renewal - Sari-sari Store', 800.0, 'Cashier 1', 'Cash', ], [ 3, 'OR-2025-00125', '2025-10-20', 'Maria Santos', 'Zoning Fee', 300.0, 'Cashier 2', 'GCash', ], [ 4, 'OR-2025-00126', '2025-10-19', 'XYZ Manufacturing', 'Mayor’s Permit', 2500.0, 'Cashier 2', 'Bank', ], ]; @endphp @foreach ($rows as $r) @endforeach
# OR No. Date Payor Particulars Amount Cashier Mode
{{ $r[0] }} {{ $r[1] }} {{ $r[2] }} {{ $r[3] }} {{ $r[4] }} {{ number_format($r[5], 2) }} {{ $r[6] }} {{ $r[7] }}
Total ₱{{ number_format(array_sum(array_column($rows, 5)), 2) }}
@endsection @push('scripts') @endpush