@php /* @var $student \App\Core\Entities\User */ @endphp @extends('admin.layouts.app') @section('content') @include('admin.layouts.headers.page')

Alunos

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif
@csrf Filtros
Limpar
@foreach ($students as $student) @endforeach
ID Nome Email Créditos Expiração Status Nascimento Ações
{{ $student->id }} {{ $student->profile ? $student->profile->name : 'Perfil incompleto' }} {{ $student->email }} @if (isset($student->user_credit->credit)) {{ $student->user_credit->credit }} @else Não possui @endif @isset($student->user_credit->expiration_date) {{ date('d-m-Y', strtotime($student->user_credit->expiration_date)) }} @else Não possui @endisset {{ \App\Core\Constants\UserStatus::label($student->status) }} {{ $student->profile ? date('d-m-Y', strtotime($student->profile->birth_date)) : 'Perfil incompleto' }} Ver Professores Editar
{{ $students->links() }}
@include('admin.layouts.footers.auth')
@endsection