mirror of
https://github.com/pretix/pretix-servicefees.git
synced 2025-03-15 08:24:21 +01:00
13 lines
417 B
Python
13 lines
417 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class ItemServicefeesSettings(models.Model):
|
|
item = models.OneToOneField(
|
|
"pretixbase.Item", related_name="servicefees_settings", on_delete=models.CASCADE
|
|
)
|
|
exclude = models.BooleanField(
|
|
verbose_name=_(
|
|
"Exclude this product from the calculation of per-ticket service fees"
|
|
)
|
|
)
|