membershipworks: Add some help text to event materials fee fields
All checks were successful
Ruff / ruff (push) Successful in 1m29s
Test / test (push) Successful in 4m19s

This commit is contained in:
Adam Goldsmith 2024-11-05 12:19:39 -05:00
parent cc7f903a64
commit e5462a0063
2 changed files with 40 additions and 2 deletions

View File

@ -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,
),
),
]

View File

@ -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
)