mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Voucher form: Add quota in help text
This commit is contained in:
@@ -251,7 +251,8 @@ class Voucher(LoggedModel):
|
||||
null=True, blank=True,
|
||||
on_delete=models.PROTECT, # We use a fake version of SET_NULL in Item.delete()
|
||||
help_text=_(
|
||||
"This product is added to the user's cart if the voucher is redeemed."
|
||||
"This product is added to the user's cart if the voucher is redeemed. Instead of a specific product, you "
|
||||
"can also select a quota. In this case, all products assigned to this quota can be selected."
|
||||
)
|
||||
)
|
||||
variation = models.ForeignKey(
|
||||
|
||||
@@ -63,7 +63,8 @@ class VoucherForm(I18nModelForm):
|
||||
itemvar = FakeChoiceField(
|
||||
label=_("Product"),
|
||||
help_text=_(
|
||||
"This product is added to the user's cart if the voucher is redeemed."
|
||||
"This product is added to the user's cart if the voucher is redeemed. Instead of a specific product, you "
|
||||
"can also select a quota. In this case, all products assigned to this quota can be selected."
|
||||
),
|
||||
required=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user