{% extends 'administrative/layout.html.twig' %} {% block title %}Einsatzübersicht{% endblock %} {% set status_labels = { draft: ['Entwurf', 'border-muted text-muted'], called_off: ['abgesagt', 'border-red-700 bg-red-50 text-red-900'], staffed: ['voll besetzt', 'border-emerald-700 bg-emerald-50 text-emerald-900'], partly_staffed: ['teilweise besetzt', 'border-amber-600 bg-amber-50 text-amber-950'], staffing: ['mit Bewerbungen', 'border-brand bg-brand-light text-brand-dark'], unstaffed: ['unbesetzt', 'border-muted text-muted'], } %} {% block content %} {% set status = status_labels[assignment.status] ?? status_labels[assignment.staffingStatus] ?? null %} {{ include('_partials/_back_link.html.twig', { 'url': returnUrl }) }}
Einsatz ID {{ assignment.id }}
{{ assignment.destination.product }} · {{ assignment.destination.dateFrom|date('d.m.Y') }} - {{ assignment.destination.dateTo|date('d.m.Y') }}
| Name | Status | Zustieg | Wünsche | Aktionen |
|---|---|---|---|---|
|
|
{{ ('label.application.status.' ~ application.status)|trans }} | {% if application.pickup %} {{ application.pickup|bpn_pickup_label }} {% else %} - {% endif %} | {{ application.requests|default('-')|nl2br }} |
{% if is_granted('DISPOSE', application) %}
{% endif %}
{% if is_granted('STATUS', application) %}
{% endif %}
{% if is_granted('DELETE', application) %}
{% endif %}
|
| Es liegen keine Bewerbungen vor. | ||||
| Name | Status | Zustieg | Anmerkungen | Absprachen | Aktionen |
|---|---|---|---|---|---|
|
|
{{ ('label.disposition.status.' ~ disposition.status)|trans }} | {% if disposition.pickup %} {{ disposition.pickup|bpn_pickup_label }} {% else %} - {% endif %} | {% if disposition.calledOffReason %} {{ disposition.calledOffReason|default('-')|nl2br }} {% else %} {{ disposition.remarks|default('-')|nl2br }} {% endif %} | {{ disposition.specialAgreements|default('-')|nl2br }} |
|
| Es gibt noch keine Einteilungen. | |||||