{% for disposition in pagination %} {% set assignment = disposition.assignment %}
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }} {{ assignment.destination.product }}
{{ icon('calendar', 'w-5 h-5 shrink-0') }} {{ assignment.effectivePeriod.start|date('d.m.Y') }} - {{ assignment.effectivePeriod.end|date('d.m.Y') }}
{{ icon('profile', 'w-5 h-5 shrink-0') }} {{ assignment.jobProfile.name }}
{{ icon('house', 'w-5 h-5 shrink-0') }} {{ assignment.destination.hotel }}
{% if assignment.pickup %}
{{ icon('bus', 'w-5 h-5 shrink-0') }} {{ assignment.pickup|bpn_pickup_label|default('-') }} {{ assignment.effectivePickupDate ? assignment.effectivePickupDate|date('d.m.Y') : '' }}
{% endif %}
{{ icon('info', 'w-4 h-4 shrink-0') }} Details
{% endfor %}
{{ knp_pagination_render(pagination, 'paginator/sliding_boxes.html.twig') }}