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

[STAGING] Updates Shortlisted Reminder mailer copy #2562

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/mailers/users/shortlisted_reminder_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def notify(form_answer_id, user_id)
@deadline_time = "midnight" if midnight?
@deadline_time = "midday" if midday?

@subject = "King's Awards for Enterprise: Reminder to provide latest financial statements & VAT returns"
@subject = "King's Awards for Enterprise: Reminder to provide latest financial statements & VAT returns - Application ref #{@form_answer.urn}"
send_mail_if_not_bounces ENV['GOV_UK_NOTIFY_API_TEMPLATE_ID'], to: @recipient.email, subject: subject_with_env_prefix(@subject)
end

Expand Down
6 changes: 2 additions & 4 deletions app/views/users/shortlisted_reminder_mailer/notify.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We are emailing to remind you that you have until

#<%= @deadline_time %> on <%= @deadline %>

to provide the latest financial statements & VAT returns and, if applicable, an explanation of the variance between the estimates and the actuals by following the link below:
to provide the latest financial statements & VAT returns and, if applicable, an explanation of the variance between the estimates and the actuals. Please do this by following the link below:

<%= users_form_answer_figures_and_vat_returns_url(@form_answer) %>

Expand All @@ -21,9 +21,7 @@ If you do not submit the required latest financial information before the deadli
a) any of the actual figures are worse by 10% or more. Please explain the reasons for the difference.
b) the actuals include losses that you did not state on your application form. Please explain the reasons for the losses and how your business is financially viable.

Please note, following the sad death of HM Queen Elizabeth II, His Majesty will be consulted on the future of the Awards, but no immediate decisions will be made.

Yours sincerely,

Nichola Bruno
Head, The King’s Awards for Enterprise Office
Head of The King’s Awards Office
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;"
= "#{@deadline_time} on #{@deadline}"

p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;"
| to provide the latest financial statements & VAT returns and, if applicable, an explanation of the variance between the estimates and the actuals by following the link below:
| to provide the latest financial statements & VAT returns and, if applicable, an explanation of the variance between the estimates and the actuals. Please do this by following the link below:

p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;"
= link_to(users_form_answer_figures_and_vat_returns_url(@form_answer), users_form_answer_figures_and_vat_returns_url(@form_answer))
Expand Down Expand Up @@ -40,13 +40,10 @@ p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;"
br
| b) the actuals include losses that you did not state on your application form. Please explain the reasons for the losses and how your business is financially viable.

p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;"
| Please note, following the sad death of HM Queen Elizabeth II, His Majesty will be consulted on the future of the Awards, but no immediate decisions will be made.

p style="font-size: 19px; line-height: 1.315789474; margin: 0 0 30px 0;"
| Yours sincerely,
br
br
| Nichola Bruno
br
| Head, The King’s Awards for Enterprise Office
| Head of The King’s Awards Office
2 changes: 1 addition & 1 deletion spec/mailers/users/shortlisted_reminder_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

let(:award_title) { form_answer.decorate.award_application_title }
let(:subject) do
"King's Awards for Enterprise: Reminder to provide latest financial statements & VAT returns"
"King's Awards for Enterprise: Reminder to provide latest financial statements & VAT returns - Application ref #{form_answer.urn}"
end

before do
Expand Down
Loading