Skip to content

Commit

Permalink
Merge pull request #717 from openedx/eahmadjaved/ENT-9511
Browse files Browse the repository at this point in the history
feat: make customer agreements fields available in learner license en…
  • Loading branch information
jajjibhai008 authored Oct 1, 2024
2 parents 6fb4548 + 87b88f3 commit dcfdbf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions license_manager/apps/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,10 @@ class Meta:
'net_days_until_expiration',
'subscription_for_auto_applied_licenses',
'available_subscription_catalogs',
'has_custom_license_expiration_messaging',
'expired_subscription_modal_messaging',
'hyper_link_text_for_expired_modal',
'url_for_expired_modal',
]

def get_subscription_for_auto_applied_licenses(self, obj):
Expand All @@ -371,10 +375,6 @@ class Meta:
model = CustomerAgreement
fields = MinimalCustomerAgreementSerializer.Meta.fields + [
'subscriptions',
'has_custom_license_expiration_messaging',
'expired_subscription_modal_messaging',
'hyper_link_text_for_expired_modal',
'url_for_expired_modal',
]

@property
Expand Down

0 comments on commit dcfdbf4

Please sign in to comment.