{% extends 'layout_admin.html.twig' %}
{% block content %}
| {{ knp_pagination_sortable(pagination, 'Eingang', 'booking.createdAt') }} | {{ knp_pagination_sortable(pagination, 'Gruppenhaus', 'accommodation.name') }} | {{ knp_pagination_sortable(pagination, 'Gruppe', 'booking.groupName') }} | {{ knp_pagination_sortable(pagination, 'Anreise', 'booking.dateFrom') }} | Personen | Status | Rabatt | |
|---|---|---|---|---|---|---|---|
| {{ booking.createdAt | date('d.m.Y, H:i') }} | {{ booking.accommodation.name }} | {{ booking.groupName }} | {{ booking.dateFrom | date('d.m.Y') }} – {{ booking.dateTo | date('d.m.Y') }} | {{ booking.paxCount }} | {% if booking.isInquiry %} Anfrage {% else %} Buchung {% endif %} | {% set discounts = [] %} {% if booking.accommodationDiscount is not null %} {% set discounts = discounts | merge(['Unterkunft ' ~ booking.accommodationDiscount ~ '%']) %} {% endif %} {% if booking.boardServiceDiscount is not null %} {% set discounts = discounts | merge(['Verpflegung ' ~ booking.boardServiceDiscount ~ '%']) %} {% endif %} {% if booking.additionalServicesDiscount is not null %} {% set discounts = discounts | merge(['Zusatzleistungen ' ~ booking.additionalServicesDiscount ~ '%']) %} {% endif %} {{ discounts | length > 0 ? (discounts | join(', ')) : '–' }} |
|
| Keine Daten... | |||||||