@php /* @var $student \App\Core\Entities\User */ @endphp @extends('admin.layouts.app') @section('content') @include('admin.layouts.headers.page')
ID | Nome | 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 |