@extends('layouts.app') @section('title', 'Assessments') @section('content')

Assessments

{{-- Top Filters (client-side only) --}}
{{-- Table (static rows rendered via PHP loop) --}}
@php // Static sample dataset; swap with real data later $rows = [ [ 'app_no' => 'APP-2025-0001', 'business' => 'Acme Retail Hub', 'type' => 'New', 'year' => 2025, 'subtotal' => 10000, 'surcharge' => 0, 'interest' => 0, 'status' => 'Assessed', 'assessed_at' => '2025-01-10 14:32', ], [ 'app_no' => 'APP-2025-0002', 'business' => 'Bluefin Bistro', 'type' => 'Renewal', 'year' => 2025, 'subtotal' => 7500, 'surcharge' => 150, 'interest' => 75, 'status' => 'For Payment', 'assessed_at' => '2025-01-12 09:05', ], [ 'app_no' => 'APP-2024-0103', 'business' => 'Cloud Nine Salon', 'type' => 'Renewal', 'year' => 2024, 'subtotal' => 5200, 'surcharge' => 0, 'interest' => 0, 'status' => 'Assessed', 'assessed_at' => '2024-12-28 16:10', ], [ 'app_no' => 'APP-2025-0004', 'business' => 'Dawn Logistics', 'type' => 'New', 'year' => 2025, 'subtotal' => 20000, 'surcharge' => 0, 'interest' => 0, 'status' => 'Assessed', 'assessed_at' => '2025-01-15 11:20', ], [ 'app_no' => 'APP-2025-0005', 'business' => 'Evergreen Pharmacy', 'type' => 'Renewal', 'year' => 2025, 'subtotal' => 12300, 'surcharge' => 246, 'interest' => 61.5, 'status' => 'For Payment', 'assessed_at' => '2025-01-18 10:02', ], [ 'app_no' => 'APP-2025-0006', 'business' => 'Frosty Scoops', 'type' => 'New', 'year' => 2025, 'subtotal' => 3800, 'surcharge' => 0, 'interest' => 0, 'status' => 'Assessed', 'assessed_at' => '2025-01-20 13:44', ], [ 'app_no' => 'APP-2024-0107', 'business' => 'Golden Gear Auto', 'type' => 'Renewal', 'year' => 2024, 'subtotal' => 8600, 'surcharge' => 172, 'interest' => 43, 'status' => 'For Payment', 'assessed_at' => '2024-12-22 09:30', ], [ 'app_no' => 'APP-2025-0008', 'business' => 'Harbor Techworks', 'type' => 'New', 'year' => 2025, 'subtotal' => 25000, 'surcharge' => 0, 'interest' => 0, 'status' => 'Assessed', 'assessed_at' => '2025-01-22 15:18', ], [ 'app_no' => 'APP-2025-0009', 'business' => 'Island Books & Café', 'type' => 'New', 'year' => 2025, 'subtotal' => 4200, 'surcharge' => 84, 'interest' => 21, 'status' => 'For Payment', 'assessed_at' => '2025-01-23 08:12', ], [ 'app_no' => 'APP-2025-0010', 'business' => 'Jade Wellness Center', 'type' => 'Renewal', 'year' => 2025, 'subtotal' => 9950, 'surcharge' => 0, 'interest' => 0, 'status' => 'Assessed', 'assessed_at' => '2025-01-25 17:55', ], ]; $nf = function ($n) { return number_format((float) $n, 2, '.', ','); }; @endphp @foreach ($rows as $r) @php $total = (float) $r['subtotal'] + (float) $r['surcharge'] + (float) $r['interest']; @endphp @endforeach
Application No Business Type Tax Year Subtotal Surcharge Interest Total Due Status Assessed At Action
{{ $r['app_no'] }} {{ $r['business'] }} {{ $r['type'] }} {{ (int) $r['year'] }} {{ $nf($r['subtotal']) }} {{ $nf($r['surcharge']) }} {{ $nf($r['interest']) }} {{ $nf($total) }} {{ $r['status'] }} {{ $r['assessed_at'] }}
Tip: Use the table’s search box for quick, global matching; top filters narrow before the table renders.
@endsection @push('scripts') @endpush