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

Certificate check

@if ($certificate && ! $certificate->revoked_at)

{{ \App\Support\Text::accent('This certificate is *genuine*.') }}

Awarded to
{{ $certificate->enrolment->user->name }}
For completing
{{ $certificate->enrolment->course->title }}
Issued
{{ $certificate->issued_at->format('j F Y') }}
Code
{{ $certificate->code }}
@elseif ($certificate)

{{ \App\Support\Text::accent('This certificate has been *withdrawn*.') }}

Code {{ $certificate->code }} is no longer valid. If you think this is a mistake, please contact us.

@else

{{ \App\Support\Text::accent('We could not *find* that code.') }}

Check the code for typos. Codes look like WNX-ABCDE12345 and contain no zero, letter O, one or letter I.

@endif
@endsection