Allow to use datetime components in invoice prefixes (#1529)

This commit is contained in:
Raphael Michel
2020-01-02 09:46:07 +01:00
committed by GitHub
parent fb7e859e72
commit 2a6dc22d7b
3 changed files with 10 additions and 1 deletions

View File

@@ -844,7 +844,9 @@ class InvoiceSettingsForm(SettingsForm):
help_text=_("This will be prepended to invoice numbers. If you leave this field empty, your event slug will "
"be used followed by a dash. Attention: If multiple events within the same organization use the "
"same value in this field, they will share their number range, i.e. every full number will be "
"used at most once over all of your events. This setting only affects future invoices."),
"used at most once over all of your events. This setting only affects future invoices. You can "
"use %Y (with century) %y (without century) to insert the year of the invoice, or %m and %d for "
"the day of month."),
required=False,
)
invoice_numbers_prefix_cancellations = forms.CharField(