-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add fields related to custom expiration messaging to CustomerAg…
…reement
- Loading branch information
1 parent
26112bf
commit aa88ce5
Showing
5 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...s/0070_customeragreement_disabled_enroll_reason_override_for_expired_licenses_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Generated by Django 4.2.16 on 2024-09-19 08:17 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('subscriptions', '0069_alter_customeragreement_disable_expiration_notifications_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='disabled_enroll_reason_override_for_expired_licenses', | ||
field=models.CharField(blank=True, help_text='Custom message shown when a learner’s subscription expires and they can no longer enroll.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='expired_subscription_modal_messaging', | ||
field=models.CharField(blank=True, help_text='The content of a modal that provides instructions on how learners can continue their journey on the B2C site with a discount code.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='has_custom_license_expiration_messaging', | ||
field=models.BooleanField(default=False, help_text='Indicates if the customer has a unique license expiration experience, instead of the standard one.'), | ||
), | ||
migrations.AddField( | ||
model_name='customeragreement', | ||
name='includes_b2c_marketing_website_cta', | ||
field=models.BooleanField(default=True, help_text='If checked, a link to the B2C course page will be appended to the expired license messaging.'), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='disabled_enroll_reason_override_for_expired_licenses', | ||
field=models.CharField(blank=True, help_text='Custom message shown when a learner’s subscription expires and they can no longer enroll.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='expired_subscription_modal_messaging', | ||
field=models.CharField(blank=True, help_text='The content of a modal that provides instructions on how learners can continue their journey on the B2C site with a discount code.', max_length=255, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='has_custom_license_expiration_messaging', | ||
field=models.BooleanField(default=False, help_text='Indicates if the customer has a unique license expiration experience, instead of the standard one.'), | ||
), | ||
migrations.AddField( | ||
model_name='historicalcustomeragreement', | ||
name='includes_b2c_marketing_website_cta', | ||
field=models.BooleanField(default=True, help_text='If checked, a link to the B2C course page will be appended to the expired license messaging.'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters