{{-- resources/views/reports/permits.blade.php --}} @extends('layouts.app') @section('title', 'Reports · Permits Issued') @section('content')
Permits Issued
{{-- Filters (static UI only) --}}
{{-- Table --}}
Issued Permits
{{-- Static sample data --}} @php $permits = [ [ 1, 'BP-2025-01001', '2025-10-20', 'ABC Trading', 'Ana Cruz', 'Renewal', '2025-12-31', 800.0, ], [ 2, 'BP-2025-01002', '2025-10-19', 'Juan’s Eatery', 'Juan Dela Cruz', 'New', '2025-12-31', 1500.0, ], [ 3, 'BP-2025-00988', '2025-10-15', 'Santos Pharmacy', 'Maria Santos', 'Renewal', '2025-12-31', 1200.0, ], [ 4, 'BP-2025-00950', '2025-10-10', 'XYZ Manufacturing', 'Pedro Reyes', 'Transfer', '2025-12-31', 2000.0, ], ]; @endphp @foreach ($permits as $p) @endforeach
# Permit No. Date Issued Business Name Owner Type Validity Amount
{{ $p[0] }} {{ $p[1] }} {{ $p[2] }} {{ $p[3] }} {{ $p[4] }} {{ $p[5] }} {{ $p[6] }} {{ number_format($p[7], 2) }}
Total ₱{{ number_format(array_sum(array_column($permits, 7)), 2) }}
@endsection @push('scripts') @endpush