Skip to content

Commit

Permalink
Merge pull request #1164 from DFE-Digital/update-payment-email-copy
Browse files Browse the repository at this point in the history
Update payment email copy
  • Loading branch information
pezholio authored Oct 7, 2020
2 parents 2485707 + 9b907c0 commit f5cad17
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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| %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions spec/mailers/previews/payment_mailer_preview.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f5cad17

Please sign in to comment.