{% if is_granted('ROLE_ADMIN') %}{% endif %} {% for bookEntry in bookEntries %} {% if is_granted('ROLE_ADMIN') %} {% endif %} {% endfor %}
{{ 'registrationbook.year'|trans }} {{ 'registrationbook.appartment'|trans }} {{ 'registrationbook.lastname'|trans }}, {{ 'registrationbook.firstname'|trans }} {{ 'registrationbook.birthday'|trans }} {{ 'registrationbook.country'|trans }} {{ 'registrationbook.address'|trans }} {{ 'registrationbook.period'|trans }} {{ 'registrationbook.stays'|trans }}{{ 'base.action'|trans }}
{{ bookEntry.year }} {{ bookEntry.reservation.appartment.number }} {{ bookEntry.lastname }}, {{ bookEntry.firstname }} {% if bookEntry.iDNumber and bookEntry.idType %}
({{ bookEntry.idType.value|trans }}: {{ bookEntry.iDNumber }}) {% endif %}
{% if bookEntry.birthday %} {{ bookEntry.birthday|date('d.m.Y') }} {% endif %} {{ bookEntry.country }} {% if bookEntry.address %}{{ bookEntry.address }}, {{ bookEntry.zip }} {{ bookEntry.city }}{% endif %} {{ bookEntry.reservation.startDate|date('d.m.Y') }} - {{ bookEntry.reservation.endDate|date('d.m.Y') }} {{ bookEntry.reservation.amount }}
{% include 'paginator.html.twig' with { 'url' : path('registrationbook.overview') } %}