{% extends "layout.html.twig" %} {% block content %} {% set params = { columns: { appointmentName: "Csoport név", school: "Iskola", bookingDate: "Időpont", organizingTeacher: "Szervező tanár", supportPackage: "Támogató", name: "Név", age: "Életkor (év)", height: "Magasság (cm)", weight: "Testtömeg (kg)", feetSize: "Lábméret", headSize: "Fejméret", sport: "Sport", skiLevel: "Sítudás / Snowboard tudás", equipment: "Felszerelés", parentsConsent: "Szülői nyilatkozat", }, rows: attendees, pagination: pagination, } %} {% embed "embed/table_page.html.twig" with params %} {% block page_title %} {% import "macro.html.twig" as macro %}

Minden résztvevő

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

Szűrés

{{ form_start(form) }}
{{ form_row(form.name, {label: 'Résztvevő neve', attr: {placeholder: "Mind"}}) }}
{{ form_row(form.appointmentName, {label: 'Csoport neve', attr: {placeholder: "Mind"}}) }}
{{ form_row(form.schoolName, {label: 'Iskola neve', attr: {placeholder: "Mind"}}) }}
{{ form_row(form.supportPackageCode, {label: 'Támogatói csomag kód', attr: {placeholder: "Mind"}}) }}
{{ form_row(form.age, {label: 'Életkor', attr: {placeholder: "Mind"}}) }}
{{ form_row(form.hasParentsContent, {label: 'Szülői nyilatkozat', placeholder: "Mind"}) }}
{{ form_row(form.bookingMin, {label: 'Időpont minimum', attr: {placeholder: "Mind", class:'datetimepicker-input', "data-toggle": "datetimepicker"}}) }}
{{ form_row(form.bookingMax, {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 Résztvevő export 43ForFree
{{ parent() }} {% endblock %} {% block header %} Csoport név Iskola Időpont Szervező tanár Támogató {% for column in tableColumns %} {{ column.title }} {% endfor %} Szülői nyilatkozat {% endblock %} {% block row %} {{ row.appointment.name }} {{ row.appointment.schoolName }} {% if row.appointment.schoolAddress is not empty %}
{{ "%s %s %s %s"|format(row.appointment.schoolAddress.county, row.appointment.schoolAddress.postCode, row.appointment.schoolAddress.city, row.appointment.schoolAddress.street) }} {% endif %} {% if row.appointment.bookingDate is not empty %} {{ row.appointment.bookingDate.date }} {% else %} - {% endif %} {{ row.appointment.organizingTeacher.name }}
{{ row.appointment.organizingTeacher.email }} ({{ row.appointment.organizingTeacher.phone }} ) {% if row.appointment.supportPackage is not empty %} {{ row.appointment.supportPackage.code }}
{{ row.appointment.supportPackage.companyName }} {% else %} - {% endif %} {% for column in tableColumns %} {{ column.getValue(row) }} {% endfor %}
{% if row.parentsConsent is not null %} {% else %} - {% endif %}
{% endblock %} {% endembed %} {% endblock %}