@extends('layouts.portal') @section('title', 'Learners') @section('subtitle', number_format($students->total()).' '.\Illuminate\Support\Str::plural('learner', $students->total()).($filters ? ' match your filters' : ' registered').'.') @section('actions') Export all (CSV) Add learner @endsection @section('content') @if($students->isEmpty())
Add learner
@else
@foreach($students as $s) @endforeach
LearnerPhoneStatusEnrollmentsCertificatesActivityActions
@if($s->avatarUrl())@else{{ $s->initials() }}@endif
{{ $s->name }}
{{ $s->email }}@unless($s->email_verified_at) · unverified@endunless
{{ $s->phone ?: '—' }} {{ $s->enrollments_count }} {{ $s->credentials_count }} Joined {{ $s->created_at->format('d M Y') }}
{{ $s->last_login_at ? 'Signed in '.$s->last_login_at->diffForHumans() : 'Never signed in' }}
@csrf
@if(($s->status ?? 'active') === 'suspended')
@csrf
@else
@csrf
@endif
@csrf
0 selected
{{ $students->links() }} @endif @endsection @push('scripts')@endpush