Skip to content

Commit

Permalink
Put the remark of the confirmations from the structure financers onto…
Browse files Browse the repository at this point in the history
… their PDF form
  • Loading branch information
jbtronics committed Nov 17, 2024
1 parent 2835a02 commit fdc6d19
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/pdf/payment_order/payment_order.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,18 @@
<h3 style="margin: 0;">Bestätigungen ({{ paymentOrder.numberOfConfirmations }} / {{ paymentOrder.requiredConfirmations }})</h3>
<span><b>Eingereicht:</b> {{ paymentOrder.creationDate | format_datetime("short") }}</span>

{% if paymentOrder.confirmation1.remark is not empty %}
<p style="margin: 0; font-size: 9pt;">
<b>Anmerkung zu Bestätigung 1</b>: {{ paymentOrder.confirmation1.remark | u.truncate(220, '...') }}
</p>
{% endif %}
{{ confirmations.confirmation_signature(paymentOrder.confirmation1) }}
{% if paymentOrder.requiredConfirmations > 1 %}
{% if paymentOrder.confirmation2.remark is not empty %}
<p style="margin: 0; font-size: 9pt;">
<b>Anmerkung zu Bestätigung 2</b>: {{ paymentOrder.confirmation2.remark | u.truncate(220, '...') }}
</p>
{% endif %}
{{ confirmations.confirmation_signature(paymentOrder.confirmation2) }}
{% endif %}
{% endblock %}
Expand Down

0 comments on commit fdc6d19

Please sign in to comment.