mirror of
https://github.com/pretix/pretix-servicefees.git
synced 2025-03-16 08:54:20 +01:00
14 lines
417 B
Python
14 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"
|
||
|
)
|
||
|
)
|