{% 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') }} | Bewerbungen | Einteilungen | |
|---|---|---|---|---|---|---|---|
| {% if assignment.status == 'closed' %} {{ icon('locked', 'w-4 h-4 text-red-500') }} {% elseif assignment.status == 'draft' %} {{ icon('hourglass', 'w-4 h-4 text-yellow-500') }} {% else %} {{ icon('unlocked', 'w-4 h-4') }} {% 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) %}
ab {{ pickup.city }}
{{ pickup.time }} {% else %} - {% endif %} |
{{ assignment.validApplications|length }} |
{{ assignment.dispositions|length }}/{{ assignment.availableDispositions }}
|
{% embed '_partials/_dropdown.html.twig' %} {% block items %} duplizieren {% if is_granted('EDIT', assignment) %} bearbeiten {% endif %} {% endblock %} {% endembed %} |
| Keine Daten... | |||||||