{% 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", control: "", }, rows: appointments, pagination: pagination, } %} {% embed "embed/table_page.html.twig" with params %} {% block page_title %} {% import "macro.html.twig" as macro %}

Minden csoport

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

SzĹąrĂŠs

{{ form_start(form) }}
{{ form_row(form.name, {label: 'CsoportnĂŠv', attr:{placeholder: 'Mind'}}) }}
{{ form_row(form.schoolName, {label: 'Iskola neve', attr:{placeholder: 'Mind'}}) }}
{{ form_row(form.teacherEmail, {label: 'Szervező tanár e-mail címe', attr:{placeholder: 'Mind'}}) }}
{{ form_row(form.supportPackageCode, {label: 'TĂĄmogatĂłi kĂłd', attr:{placeholder: 'Mind'}}) }}
{{ form_row(form.filledAttendees, {label: 'Csoport lĂŠtszĂĄmĂĄnak ĂĄllapota', placeholder: 'Mind'}) }}
{{ form_row(form.age, {label: 'KorosztĂĄly', 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.filledParentConsents, {label: 'SzĂźlĂśi nyilatkozatok ĂĄllapota', placeholder: 'Mind'}) }}
{{ form_row(form.tourType, {label: 'HelyszĂ­n', placeholder: 'Mind', attr: {class: 'sortSelect'}}) }}
{{ form_row(form.pageIndex, {value: '0'}) }} {% do form.projectName.setRendered() %} {{ form_end(form) }}
{{ parent() }} {% endblock %} {% block grid_body %}
{% set enableAllProjectExport = totalElementWithAllProject <= export_limit.xls %} {% if enableAllProjectExport and ( xlsFilterParameters["bookingTimeMin"] is defined or xlsFilterParameters["bookingTimeMax"] is defined ) %} {% if xlsFilterParameters["bookingTimeMin"] is empty and xlsFilterParameters["bookingTimeMax"] is not empty or xlsFilterParameters["bookingTimeMax"] is empty and xlsFilterParameters["bookingTimeMin"] is not empty %} {% set enableAllProjectExport = false %} {% endif %} {% endif %} Minden program XLS XLS Csoport export 43ForFree
{{ 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.inCurrentSeason %} {% endif %} {% if row.attendeesCount >= row.headCount and row.parentConsentCount >= row.headCount %} {% endif %} {% elseif row.inCurrentSeason %} Időpont választás {% else %} N/A {% endif %} {% endblock %} {% block cell_tourType %} {{ row.tourType }} {% endblock %} {% block cell_attendees %} Résztvevők {% endblock %} {% block cell_control %}
{% if row.inCurrentSeason and row.bookingDate %} {% endif %}
{% endblock %} {% endembed %} {% embed "embed/modal.html.twig" with { id: "appointmentOverrideBooking", } %} {% block modal_content %}
{{ parent() }}
{% endblock %} {% block modal_body %}
{% endblock %} {% block modal_footer %} {% endblock %} {% endembed %} {% endblock %}