Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update crest and number to letter templates #2519

Conversation

lucas-shaw
Copy link
Contributor

Description

Self-review checklist

  • (1) Quick stakeholder demo done OR
  • (2) ...bug with before and after screenshots
  • (3) Tests passing
  • (4) Branch ready to be merged (not work in progress)
  • (5) No superfluous changes in diff
  • (6) No TODO's without new ticket numbers
  • (7) PR Prefixed with ticket number e.g. CT-7654 ...
  • (8) Data migration script is created if any of letter templates is changed

Screenshots

Related JIRA tickets

https://dsdmoj.atlassian.net/jira/software/c/projects/CDPT/boards/1152?selectedIssue=CDPT-2288

Deployment

Manual testing instructions

@lucas-shaw lucas-shaw changed the base branch from main to cdpt-1850-commissioning-and-chase-redesign November 28, 2024 10:02
@lucas-shaw lucas-shaw changed the title Cdpt 2288 update crest and number to letter templates Update crest and number to letter templates Nov 28, 2024
…288-update-crest-and-number-to-letter-templates
@@ -34,6 +35,8 @@ def render(values, letter, field)
end

def telephone_number
return COMPLAINT_ACKNOWLEDGEMENT_LETTER_TEL_NUM if abbreviation == "complaint-acknowledgement"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if its the best way to implement, however I didnt think it was a good idea to create a new template_type enum

@lucas-shaw lucas-shaw marked this pull request as ready for review November 28, 2024 10:24
@lucas-shaw lucas-shaw requested review from a team as code owners November 28, 2024 10:24
@lucas-shaw lucas-shaw closed this Nov 28, 2024
@lucas-shaw lucas-shaw deleted the cdpt-2288-update-crest-and-number-to-letter-templates branch November 28, 2024 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant