Skip to content

Commit

Permalink
Update: adjusted AUP cancellation via ML cancellation email subject l…
Browse files Browse the repository at this point in the history
…ine (testing tbd)
  • Loading branch information
awf-dbca committed Jan 30, 2025
1 parent 0ccc6dc commit 3f3d80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mooringlicensing/components/approvals/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class AuthorisedUserNoMooringsNotificationEmail(TemplateEmailBase):
txt_template = 'mooringlicensing/emails_2/auth_user_no_moorings_notification.txt'

def __init__(self, approval):
self.subject = '{} - {} expired.'.format(settings.RIA_NAME, approval.child_obj.description)
self.subject = 'Amended: {} {} - {}.'.format(approval.child_obj.description, approval.child_obj.lodgement_number, settings.RIA_NAME)


class AuthorisedUserMooringRemovedNotificationEmail(TemplateEmailBase):
Expand All @@ -67,7 +67,7 @@ class AuthorisedUserMooringRemovedNotificationEmail(TemplateEmailBase):
txt_template = 'mooringlicensing/emails_2/auth_user_mooring_removed_notification.txt'

def __init__(self, approval):
self.subject = '{} - {} expired.'.format(settings.RIA_NAME, approval.child_obj.description)
self.subject = 'Amended: {} {} - {}.'.format(approval.child_obj.description, approval.child_obj.lodgement_number, settings.RIA_NAME)


def send_auth_user_mooring_removed_notification(approval, mooring_licence):
Expand Down

0 comments on commit 3f3d80d

Please sign in to comment.