DBS
@if ($police_check?->assessment === \App\Enums\Assessment::Satisfactory && (now() < $police_check?->expiresOn() || $police_check?->expiresOn() === null))
@if ($police_check->is_update_service && $police_check->opt_in_update_service_checks)
Your DBS is on the Update Service and will be checked annually.
@else
Due to expire in {{$police_check->getDBSExpiryTimeDifference()}} ({{$police_check?->expiresOn()->format('d-m-Y')}})
@endif
@svg('img/icons/approved')
Approved
@elseif ($police_check && $police_check?->assessment === null)
Your DBS is being verified
In progress
@else
No DBS in effect
@svg('img/icons/exclamation-circle')
Action required
@endif
@svg('img/icons/right-arrow', 'text-blue-500')