@php $status = auth()->user()->studentProfile?->verification_status ?? 'pending'; $remark = auth()->user()->studentProfile?->rejection_remark; $color = match ($status) { 'approved' => 'success', 'rejected' => 'danger', default => 'warning', }; @endphp
@if($status === 'approved')
@elseif($status === 'rejected')
@else
@endif

Verification Status: {{ $status }}

@if($status === 'rejected' && $remark)

Reason: {{ $remark }}

@endif
{{ $this->schema }}