membershipworks: Add EventExt.materials_fee_included_in_price field
All checks were successful
Ruff / ruff (push) Successful in 20s
All checks were successful
Ruff / ruff (push) Successful in 20s
This commit is contained in:
parent
ee399e6b64
commit
19d8e888f4
@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.0.1 on 2024-01-25 02:43
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("membershipworks", "0008_event_occurred"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="eventext",
|
||||
name="materials_fee_included_in_price",
|
||||
field=models.BooleanField(null=True),
|
||||
),
|
||||
]
|
@ -481,6 +481,7 @@ class EventExt(Event):
|
||||
materials_fee = models.DecimalField(
|
||||
max_digits=13, decimal_places=4, null=True, blank=True
|
||||
)
|
||||
materials_fee_included_in_price = models.BooleanField(null=True)
|
||||
instructor_percentage = models.DecimalField(
|
||||
max_digits=5, decimal_places=4, default=0.5
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user