feat: additional receipts as attachments to teamer invoices
addresses #869dv97u9
This commit is contained in:
@@ -13,6 +13,26 @@
|
||||
</h2>
|
||||
{{ icon('eye') }}
|
||||
</a>
|
||||
{# Belege backing this Honorarnote. Opened inline so the download route does not mark them
|
||||
as downloaded - that marking is meant for the invoice itself. They are deleted as soon as
|
||||
the invoice is accepted. #}
|
||||
{% if receipts is not empty %}
|
||||
<div class="pb-4">
|
||||
<div class="font-bold pb-1">Belege</div>
|
||||
<ul class="list-disc pl-4">
|
||||
{% for receipt in receipts %}
|
||||
<li>
|
||||
<a href="{{ path('app_common_download', { 'uuid': receipt.uuid, 'inline': true }) }}"
|
||||
target="_blank"
|
||||
class="underline"
|
||||
title="Beleg öffnen">
|
||||
{{ receipt }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="flex flex-col space-y-4 pb-4">
|
||||
{{ form_row(form.status) }}
|
||||
{% if form.specialAgreements is defined %}
|
||||
|
||||
Reference in New Issue
Block a user