@extends('layouts.app') @section('content')

QR / Permit Verification

Enter the Permit No. (or scan QR if your scanner types into the box).

@csrf
@error('code')
{{ $message }}
@enderror
@isset($result) @if ($result)
{{ $result->permit_no }}
{{ $result->status }}
Business
{{ $result->application->business->name ?? '—' }}
Owner
{{ optional(optional($result->application->business)->owner)->fullname ?? '—' }}
Issued
{{ $result->issue_date }}
Validity
{{ $result->valid_from }} → {{ $result->valid_to }}
@else
No permit found for "{{ $search }}".
@endif @endisset
@endsection