Duplicate line break before invoice deadline

This commit is contained in:
Raphael Michel
2022-01-13 16:45:15 +01:00
parent 701c4f768e
commit 00a7187a7a

View File

@@ -102,7 +102,7 @@ def build_invoice(invoice: Invoice) -> Invoice:
payment = ""
if invoice.event.settings.invoice_include_expire_date and invoice.order.status == Order.STATUS_PENDING:
if payment:
payment += "<br />"
payment += "<br /><br />"
payment += pgettext("invoice", "Please complete your payment before {expire_date}.").format(
expire_date=date_format(invoice.order.expires, "SHORT_DATE_FORMAT")
)