membershipworks: Add some help text to event materials fee fields
This commit is contained in:
parent
cc7f903a64
commit
e5462a0063
@ -0,0 +1,31 @@
|
||||
# Generated by Django 5.1.3 on 2024-11-07 05:40
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("membershipworks", "0003_transaction_unique_sid_timestamp"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="eventext",
|
||||
name="materials_fee",
|
||||
field=models.DecimalField(
|
||||
blank=True,
|
||||
decimal_places=4,
|
||||
help_text="Please enter 0 if there was no materials fee",
|
||||
max_digits=13,
|
||||
null=True,
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="eventext",
|
||||
name="materials_fee_included_in_price",
|
||||
field=models.BooleanField(
|
||||
help_text="Did CMS charge the materials fee via MembershipWorks? Use 'No' if the materials fee was collected via cash or other means. Not used if materials fee is 0.",
|
||||
null=True,
|
||||
),
|
||||
),
|
||||
]
|
@ -564,9 +564,16 @@ class EventExt(Event):
|
||||
EventInstructor, on_delete=models.PROTECT, null=True, blank=True
|
||||
)
|
||||
materials_fee = models.DecimalField(
|
||||
max_digits=13, decimal_places=4, null=True, blank=True
|
||||
max_digits=13,
|
||||
decimal_places=4,
|
||||
null=True,
|
||||
blank=True,
|
||||
help_text="Please enter 0 if there was no materials fee",
|
||||
)
|
||||
materials_fee_included_in_price = models.BooleanField(
|
||||
null=True,
|
||||
help_text="Did CMS charge the materials fee via MembershipWorks? Use 'No' if the materials fee was collected via cash or other means. Not used if materials fee is 0.",
|
||||
)
|
||||
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