@extends('layouts.portal') @section('title', 'Certificate') @section('portal')

Certificate

@php($state = $status['state'])
@if ($state === 'issued') ๐ŸŽ“

Your certificate is ready

Certificate No. {{ $status['certificate']->certificate_no }} ยท issued {{ $status['certificate']->issued_at->format('j F Y') }}

View & download Public verification link

Add the verification link to your CV or LinkedIn so employers can confirm your certificate.

@elseif ($state === 'ready') โœจ

You're eligible!

You've completed the requirements. Generate your certificate now. It will show your name exactly as: {{ $student->full_name }}.

If your name is wrong, email {{ config('academy.org.email') }} before generating.

@csrf
@elseif ($state === 'revoked') โš ๏ธ

Certificate withdrawn

Your certificate has been withdrawn. Please contact {{ config('academy.org.email') }}.

@elseif ($state === 'waiting_approval') โณ

Final project under review

Thanks for submitting. Your certificate unlocks as soon as your instructor approves your final project.

@elseif ($state === 'needs_changes') โœ๏ธ

Your final project needs changes

Read your instructor's feedback and resubmit.

See feedback @elseif ($state === 'submit_final') ๐Ÿ“Š

Submit your final project

Your certificate unlocks once you submit {{ $status['assignment']->title }}{{ config('academy.certificate_requires_approval') ? ' and it is approved' : '' }}.

Go to final project @else ๐Ÿ“…

Not open yet

The final project hasn't been posted yet. Keep attending classes and completing assignments โ€” you'll be notified here.

@endif
  1. Submit final project
  2. @if (config('academy.certificate_requires_approval'))
  3. Project approved
  4. @endif
  5. Generate certificate
@endsection