@extends('layouts.dashboard') @section('title-content') {{ config('app.name') }} |My courses @endsection @section('content')

My Clearance @if ($clearance) Status @endif

The following is the list of details about your clearance. Please note that you can only request for clearance once you have completed all the courses in your program.

@if ($clearance) @forelse($clearance->levels as $level) @empty @endforelse
Clearance Level Status Remarks
{{ $level->name }} {{ \Illuminate\Support\Str::upper($level->pivot->status) }}
{{ \Illuminate\Support\Str::ucfirst($level->pivot->remarks) }}
{{ 'No Schools' }}
@else
Info! @if ($isValidForClearance) No clearance requested by to you @else Not eligible for clearance @endif
@if ($isValidForClearance)
@csrf()
{{ Form::button('Request Clearance', ['type' => 'submit', 'class' => 'btn btn-lg btn-success pull-right']) }}
@endif @endif
@endsection @section('scripts') @endsection