feat: show due or invalid documents on teamer dashboard

This commit is contained in:
Björn Fromme
2024-01-31 18:47:40 +01:00
parent 893be8a5eb
commit 258b8663dc
4 changed files with 37 additions and 24 deletions
@@ -23,27 +23,6 @@
} %}
</div>
<div>
{% if disposition.assignment.documents|length %}
<h2 class="text-lg font-bold">
Dokumente
</h2>
<ul class="pb-4 divide-y divide-gray-200">
{% for document in disposition.assignment.documents %}
<li class="py-2">
<a href="{{ path('app_common_download', { 'uuid': document.uuid }) }}"
target="_blank"
title="Download {{ document }}"
class="group">
<div class="flex items-center justify-between">
<span class="flex-1">{{ document }}</span>
{{ icon('download', 'w-4 h-4 duration-200 group-hover:scale-125') }}
</div>
</a>
</li>
{% endfor %}
</ul>
{% endif %}
{# Upload contract #}
{% if workflow_has_marked_place(disposition, 'new') %}
<h2 class="text-lg font-bold pb-4">