{% extends 'base.html.twig' %} {% block title %} {{ student }} {% endblock %} {% block body %}

 /  {% if is_granted('ROLE_SUPER_ADMIN') == true %} Élèves {% else %} Élèves {% endif %}  / 

{{ student }}

{{ student }}

{% if student.customer %} {% else %} {% endif %} {% if is_granted('ROLE_SUPER_ADMIN') == true %} {# statut "locked" #} {% if (student.isActif == false) %} {% else %} {% endif %} {% endif %} {% if is_granted('ROLE_SUPER_ADMIN') == false %} {% endif %} {% if is_granted('ROLE_SUPER_ADMIN') == true %} {% endif %}
{{ student|capitalize }}
{{ student.email }}
{{ student.phone|capitalize }}
{{ student.address }}
{% for establishment in student.establishments %}
{{establishment}}
{% endfor %}
Accéder aux applications

{% if (studentApplicationsList|length > 0) %} Résoudre l'incident

Ensemble d'applications
{% for application in studentApplicationsList %} {% if (application.date_fin == true and application.application == true) %} {% if "now"|date('Y-m-d') < application.date_fin|date('Y-m-d') %} {{ application.application}} - Expire le {{application.date_fin|date('d/m/Y')}} {% else %} {{ application.application}} - Expirée le {{application.date_fin|date('d/m/Y')}} {% endif %} {% endif %} {% endfor %} {% else %} L'élève {{ student }} n'est inscrit dans aucune application. {% endif %}

Cours en live :     {% if "now"|date('Y-m-d') < student.liveCoursesDeadline|date('Y-m-d') %} {{student.liveCoursesDeadline|date('d/m/Y')}} {% else %} {{student.liveCoursesDeadline|date('d/m/Y')}} {% endif %}
Fiches de code :  {% if "now"|date('Y-m-d') < student.fichesCoursesDeadline|date('Y-m-d') %} {{student.fichesCoursesDeadline|date('d/m/Y')}} {% else %} {{student.fichesCoursesDeadline|date('d/m/Y')}} {% endif %}
{#
Séries de code :  {% if student.enpcAcounts|length > 0 %} {% if "now"|date('Y-m-d') < student.traficLawsCoursesDeadline|date('Y-m-d') %} {{student.traficLawsCoursesDeadline|date('d/m/Y')}} {% else %} {{student.traficLawsCoursesDeadline|date('d/m/Y')}} {% endif %} {% else %} Aucun accès {% endif %}
#}
{{ student.createdAt|date("d/m/Y") }}
{# include student delete modal #}
{{ include('common/_modal.html.twig',{ modalTitle: 'Supprimer un élève', btnTitle: 'Confirmer la suppression', btnId: 'confirm_delete', btnCancelId: 'btn_cancel_delete', modalContent: "

Vous êtes sur le point de supprimer définitivement l'élève .

Sa suppression entraînera la destruction de toutes les données associées à cet élève.

Cette action est irréversible.

" }) }}
{% endblock %} {% block pageJavascript %} {% endblock %}