{% extends 'administrative/layout.html.twig' %} {% block title %}Einsatzübersicht{% endblock %} {% block content %}

Einsatzübersicht

{% if filterDto.active %} Reset {% endif %}
{% for assignment in pagination %} {% else %} {% endfor %}
Status {{ knp_pagination_sortable(pagination, 'Einsatz­zeitraum', 'destination.dateFrom') }} {{ knp_pagination_sortable(pagination, 'Destination', 'destination.product') }} {{ knp_pagination_sortable(pagination, 'Jobprofil', 'job_profile.name') }} {{ knp_pagination_sortable(pagination, 'Bus', 'assignment.pickup') }} Bewerbungen 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 %}
{{ assignment.validApplications|length }} {{ assignment.dispositions|length }}/{{ assignment.availableDispositions }}
    {% for disposition in assignment.dispositions %}
  • {{ disposition.teamer }} {% include '_partials/_rating_stars.html.twig' with { 'teamer': disposition.teamer } %}
  • {% endfor %}
{% embed '_partials/_dropdown.html.twig' %} {% block items %} duplizieren {% if is_granted('EDIT', assignment) %} bearbeiten {% endif %} {% endblock %} {% endembed %}
Keine Daten...
{{ knp_pagination_render(pagination) }}
Neu {% endblock %}