mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Let organizers specify a helptext for the custom invoice field (Z#23167497) (#4520)
This commit is contained in:
@@ -1122,6 +1122,7 @@ class BaseInvoiceAddressForm(forms.ModelForm):
|
||||
|
||||
if event.settings.invoice_address_custom_field:
|
||||
self.fields['custom_field'].label = event.settings.invoice_address_custom_field
|
||||
self.fields['custom_field'].help_text = event.settings.invoice_address_custom_field_helptext
|
||||
else:
|
||||
del self.fields['custom_field']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user