mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Duplicate line break before invoice deadline
This commit is contained in:
@@ -102,7 +102,7 @@ def build_invoice(invoice: Invoice) -> Invoice:
|
|||||||
payment = ""
|
payment = ""
|
||||||
if invoice.event.settings.invoice_include_expire_date and invoice.order.status == Order.STATUS_PENDING:
|
if invoice.event.settings.invoice_include_expire_date and invoice.order.status == Order.STATUS_PENDING:
|
||||||
if payment:
|
if payment:
|
||||||
payment += "<br />"
|
payment += "<br /><br />"
|
||||||
payment += pgettext("invoice", "Please complete your payment before {expire_date}.").format(
|
payment += pgettext("invoice", "Please complete your payment before {expire_date}.").format(
|
||||||
expire_date=date_format(invoice.order.expires, "SHORT_DATE_FORMAT")
|
expire_date=date_format(invoice.order.expires, "SHORT_DATE_FORMAT")
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user