{% extends 'layout/backEndLayout.html.twig' %} {% block content %}

Grille de tranches de scolarite par classe

{% if(year.paymentPlan) %}             {% else %} {% endif %}
{% if(year.paymentPlan) %} {% for tranche in year.paymentPlan.installments|reduce((unique, item)=>item.ranking in unique ? unique : unique|merge([item.ranking]), [])|sort %} {% if(tranche > 0) %} {% endif %} {% endfor %} {% endif %} {% for room in rooms %} {% if(year.paymentPlan) %} {# If there is already a tuition payment schedule... #} {% for tranche in year.paymentPlan.installments %} {% if(tranche.classRoom.id == room.id) %} {% endif %} {% endfor %} {% if(room.apc) %}{# If the class passes the official exams? #} {% else %} {% endif %} {% else %} {# If there is not yet a tuition payment schedule #} {% if(room.apc) %} {# If the class passes the official exams? #} {% else %} {% endif %} {% endif %} {% endfor %}
Niveau ClasseTranche {{ tranche }}Frais Examen {% if( not year.paymentPlan) %} {% endif %} Total
{{ room.level.name }} {{ room.name }}{{ tranche.amount }} {{ tranche.deadline|date("d-m-Y") }}
{% if(year.paymentPlan|length <= 0) %}
{% else %} {% endif %}
{% endblock %} {% block javascripts %} {{parent()}} {% endblock javascripts %}