From a19aff68730daa38453b1b22e711d20c82ee5f46 Mon Sep 17 00:00:00 2001 From: Stuart Harrison Date: Wed, 7 Oct 2020 12:00:13 +0100 Subject: [PATCH 1/3] Update payment email copy This adds some additional context to make sure users are clear that the email should be treated as a payslip --- .../payment_mailer/confirmation_for_multiple_claims.text.erb | 2 ++ app/views/payment_mailer/confirmation_for_single_claim.text.erb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/views/payment_mailer/confirmation_for_multiple_claims.text.erb b/app/views/payment_mailer/confirmation_for_multiple_claims.text.erb index 62243b7a0f..5da4f2eedf 100644 --- a/app/views/payment_mailer/confirmation_for_multiple_claims.text.erb +++ b/app/views/payment_mailer/confirmation_for_multiple_claims.text.erb @@ -54,6 +54,8 @@ The Gross amount is comprised of the payment you receive, and the Income Tax and You may also see ‘Teaching payments DfE retention scheme’ listed as the secondary employer that made this payment. +^ This email should be treated as a payslip, and as such kept for your own records in line with HMRC recommendations (22 months after the financial year the payment relates to). The payment breakdown details will not appear on your P60, and cannot be reissued. + # Contact us <% @payment.claims.each do |claim| %> diff --git a/app/views/payment_mailer/confirmation_for_single_claim.text.erb b/app/views/payment_mailer/confirmation_for_single_claim.text.erb index 442300fd9b..115c9e1275 100644 --- a/app/views/payment_mailer/confirmation_for_single_claim.text.erb +++ b/app/views/payment_mailer/confirmation_for_single_claim.text.erb @@ -42,6 +42,8 @@ The Gross amount is comprised of the payment you receive, and the Income Tax and You may also see ‘Teaching payments DfE retention scheme’ listed as the secondary employer that made this payment. +^ This email should be treated as a payslip, and as such kept for your own records in line with HMRC recommendations (22 months after the financial year the payment relates to). The payment breakdown details will not appear on your P60, and cannot be reissued. + # Contact us Email <%= support_email_address(@policy.routing_name) %> giving your reference: <%= @reference %>, if you have any questions. From b313c0bff9c716755b16ae41cee5f6a8f2ee453a Mon Sep 17 00:00:00 2001 From: Stuart Harrison Date: Wed, 7 Oct 2020 12:00:41 +0100 Subject: [PATCH 2/3] Fix mailer preview The PaymentMailer now only accepts one argument --- spec/mailers/previews/payment_mailer_preview.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/mailers/previews/payment_mailer_preview.rb b/spec/mailers/previews/payment_mailer_preview.rb index da21d3f5b6..575ec9922c 100644 --- a/spec/mailers/previews/payment_mailer_preview.rb +++ b/spec/mailers/previews/payment_mailer_preview.rb @@ -1,10 +1,10 @@ class PaymentMailerPreview < ActionMailer::Preview def confirmation_for_single_claim - PaymentMailer.confirmation(payment(claims_count: "= 1"), DateTime.now.to_time.to_i) + PaymentMailer.confirmation(payment(claims_count: "= 1")) end def confirmation_for_multiple_claims - PaymentMailer.confirmation(payment(claims_count: "> 1"), DateTime.now.to_time.to_i) + PaymentMailer.confirmation(payment(claims_count: "> 1")) end private From 9b907c040ca7f93618d640b11e441a5360681ec9 Mon Sep 17 00:00:00 2001 From: Stuart Harrison Date: Wed, 7 Oct 2020 12:01:47 +0100 Subject: [PATCH 3/3] Update Changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e601ad051..f3df8cda6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog] ## [Unreleased] +- Update payment email copy + ## [Release 084] - 2020-09-30 - Update data report request to retrieve email address and date of birth