{% extends "layout.html.twig" %} {% block content %} {% set params = { columns: { name: "Csoportnév", school: "Iskola", supportPackage: 'Támogató', headCount: "Létszám", averageAge: "Korosztály", parentConsent: "Szülői nyilatkozat", bookingDate: "Időpont", tourType: "Helyszín", attendees: "Résztvevők", }, rows: appointments, pagination: pagination, } %} {% embed "embed/table_page.html.twig" with params %} {% block page_title %} {% import "macro.html.twig" as macro %}

Jelentkezések listája

{{ macro.showChangeProject(configs, configSession.currentConfig.name) }}
{% endblock %} {% block page_content %}

Szűrés

{{ form_start(form) }}
{{ form_row(form.tourType, {label: 'Helyszín', placeholder: 'Mind'}) }}
{{ form_row(form.bookingTimeMin, {label: 'Időpont minimum', attr:{placeholder: 'Mind', class:'datetimepicker-input', "data-toggle": "datetimepicker"}}) }}
{{ form_row(form.bookingTimeMax, {label: 'Időpont maximum', attr:{placeholder: 'Mind', class:'datetimepicker-input', "data-toggle": "datetimepicker"}}) }}
{{ form_row(form.pageIndex, {value: '0'}) }} {{ form_end(form) }}
{{ parent() }} {% endblock %} {% block grid_body %}
XLS
{{ parent() }} {% endblock %} {% block cell_school %} {{ row.schoolName }} {% if row.schoolAddress is not empty %}
{{ "%s %s %s %s"|format(row.schoolAddress.county, row.schoolAddress.postCode, row.schoolAddress.city, row.schoolAddress.street) }} {% else %}
{{ row.legacySchoolAddress }} {% endif %} {% endblock %} {% block cell_supportPackage %} {% if row.supportPackage is not empty %} {{ row.supportPackage.code }}
{{ row.supportPackage.companyName }} {% else %} - {% endif %} {% endblock %} {% block cell_headCount %} {{ row.attendeesCount }} / {{ row.headCount }} {% if row.attendeesCount >= row.headCount %} {% else %} {% endif %}
{% if row.attendeeDeadline is not null and row.attendeesCount < row.headCount %} {% if row.attendeeDeadline.day != 0 %} {{ row.attendeeDeadline.day }} napod van feltölteni {% else %} <1 napja van feltölteni. {% endif %} {% endif %} {% endblock %} {% block cell_averageAge %} {{ ('age.' ~ value)|trans }} {% endblock %} {% block cell_parentConsent %} {{ row.parentConsentCount }} / {{ row.headCount }} {% if row.parentConsentCount >= row.headCount %} {% else %} {% endif %}
{% if row.parentConsentDeadline is not null and row.attendeesCount >= row.headCount and row.parentConsentCount < row.headCount %} {% if row.parentConsentDeadline.day != 0 %} {{ row.parentConsentDeadline.day }} napja van feltölteni. {% else %} <1 napja van feltölteni. {% endif %} {% endif %} {% endblock %} {% block cell_bookingDate %} {% if row.bookingDate is not empty %} {{ row.bookingDate.date }} {% if row.attendeesCount >= row.headCount and row.parentConsentCount >= row.headCount %} {% endif %} {% else %} N/A {% endif %} {% endblock %} {% block cell_tourType %} {{ row.tourType }} {% endblock %} {% block cell_attendees %}
XLS Résztvevők
{% endblock %} {% endembed %} {% endblock %}