{% extends 'administrative/layout.html.twig' %} {% block title %}Einsatzübersicht{% endblock %} {% block content %}
| Status | {{ knp_pagination_sortable(pagination, 'Einsatzzeitraum', 'destination.dateFrom') }} | {{ knp_pagination_sortable(pagination, 'Destination', 'destination.product') }} | {{ knp_pagination_sortable(pagination, 'Jobprofil', 'job_profile.name') }} | {{ knp_pagination_sortable(pagination, 'Bus', 'assignment.pickup') }} | {% if is_granted('ROLE_ADMIN') %}Bewerbungen | {% endif %}Einteilungen | |
|---|---|---|---|---|---|---|---|
|
{% if assignment.status == 'draft' %}
{{ icon('hourglass', 'w-4 h-4') }}
{% else %}
{% if assignment.staffed %}
{% elseif assignment.partlyStaffed %}
{% elseif assignment.inProgress %}
{% else %}
{% endif %}
{% if assignment.status == 'closed' %}
{{ icon('locked', 'w-4 h-4 text-red-500') }}
{% else %}
{{ icon('unlocked', 'w-4 h-4') }}
{% endif %}
{% endif %}
|
{{ assignment.effectivePeriod.start|date('d.m.Y') }} -
{{ assignment.effectivePeriod.end|date('d.m.Y') }} |
{{ icon('flag-' ~ assignment.destination.country, 'w-5 h-5 shrink-0') }}
{{ assignment.destination.hotel }}
|
{{ assignment.jobProfile.name }} |
{% if assignment.pickup %}
{% set pickup = assignment.destination.pickup(assignment.pickup) %}
{% if pickup %}
ab {{ pickup.city }}
{{ pickup.time }} {% else %} ungültiger Zustieg {% endif %} {% else %} - {% endif %} |
{% if is_granted('ROLE_ADMIN') %}
{{ assignment.validApplications|length }} | {% endif %}
{{ assignment.dispositions|length }}/{{ assignment.availableDispositions }}
|
|
| Keine Daten... | |||||||