diff --git a/membershipworks/migrations/0004_alter_eventext_materials_fee_and_more.py b/membershipworks/migrations/0004_alter_eventext_materials_fee_and_more.py new file mode 100644 index 0000000..9ba0ad4 --- /dev/null +++ b/membershipworks/migrations/0004_alter_eventext_materials_fee_and_more.py @@ -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, + ), + ), + ] diff --git a/membershipworks/models.py b/membershipworks/models.py index 5e7a681..2e601ac 100644 --- a/membershipworks/models.py +++ b/membershipworks/models.py @@ -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 )