@extends('layouts.portal')
@section('title', 'Enrollments')
@section('subtitle', 'Activate, complete or cancel learner enrollments and watch payment progress.')
@section('actions')
| Learner | Course · batch | Status | Payment progress | Actions | |
|---|---|---|---|---|---|
{{ $e->user?->initials() ?? '?' }} |
{{ $e->batch?->course?->title ?? 'Course removed' }} {{ $e->batch?->batch_code }} |
{{ $e->status === 'completed' && $e->completed_at ? 'Completed '.$e->completed_at->format('d M Y') : ($e->status === 'cancelled' && $e->cancelled_at ? 'Cancelled '.$e->cancelled_at->format('d M Y') : 'Enrolled '.$e->created_at->format('d M Y')) }} |
@if($e->fee_status === 'awaiting')
Fee on request Applied {{ $e->created_at->diffForHumans() }}@if($e->application_note) · “{{ \Illuminate\Support\Str::limit($e->application_note, 40) }}”@endif
@else
@if(in_array($e->fee_status, ['sponsored', 'waived'], true)){{ $e->fee_status === 'sponsored' ? 'Sponsored'.($e->sponsor ? ' · '.$e->sponsor : '') : 'Fee waived' }}@endif
{{ money($e->paid_amount) }} / {{ money($net) }} · {{ $pp }}%@if((float) $e->discount > 0) (disc.)@endif
@endif
|
@if($manageable)
@if($e->fee_status === 'awaiting')
@endif
|