@extends('layouts.app') @section('content')
| Permit No. | Type | Tax Year | Filed | Status | Remarks | Actions |
|---|---|---|---|---|---|---|
| {{ $a->permit_no ?? '—' }} | {{ $a->type }} | {{ $a->tax_year }} | {{ optional($a->filed_at)->format('Y-m-d') ?? '—' }} | @php $status = strtoupper((string) $a->status); $cls = match ($status) { 'DRAFT' => 'bg-secondary', 'SUBMITTED' => 'bg-info', 'FOR_ASSESSMENT' => 'bg-warning text-dark', 'ASSESSSED' => 'bg-warning text-dark', 'BILLED' => 'bg-warning text-dark', 'PARTIALLY_PAID' => 'bg-primary', 'PAID' => 'bg-success', 'FOR_INSPECTION' => 'bg-warning text-dark', 'APPROVED' => 'bg-success', 'RELEASED' => 'bg-success', 'REJECTED' => 'bg-danger', 'CANCELLED' => 'bg-dark', default => 'bg-light text-dark', }; @endphp {{ $a->status }} | {{ $a->remarks ?? '—' }} | View |
| No applications yet. | ||||||