{# One checklist row. The toggles swap the whole checklist rather than this row: the status box below the table is derived from every row at once, so a row-only swap would leave it a stage behind. #}
{{ row.definition.label }}
{% if row.definition.provides == constant('App\\Config\\SeasonTaskProvision::STANDARD') %} {% if row.document is not null %} {{ row.document.displayName ?? row.document.originalFilename }} {% else %}
kein Dokument hinterlegt
{% endif %} {% elseif row.definition.provides == constant('App\\Config\\SeasonTaskProvision::INDIVIDUAL') %}
individuelles Dokument
{% endif %} {{ row.deadline1 is not null ? row.deadline1 | date('d.m.Y') : '-' }} {% if row.task.deadlineOverride1 is not null %} (angepasst) {% endif %} {{ row.deadline2 is not null ? row.deadline2 | date('d.m.Y') : '-' }} {% if row.task.deadlineOverride2 is not null %} (angepasst) {% endif %} {% if row.task.done and row.task.doneAt is not null %}
{{ row.task.doneAt | date('d.m.Y') }}{% if row.task.doneBy is not null %}, {{ row.task.doneBy }}{% endif %}
{% endif %}