-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show notify log entries in activity logs
When looking at the activity log for a patient, we can show the notify log entries which allows us to see clearly which emails and texts have been sent out.
- Loading branch information
1 parent
007dd7b
commit b52501c
Showing
5 changed files
with
59 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -97,19 +97,13 @@ | |
) | ||
|
||
create( | ||
:consent_notification, | ||
:request, | ||
programme:, | ||
patient:, | ||
sent_at: Date.new(2024, 5, 10) | ||
) | ||
|
||
create( | ||
:session_notification, | ||
:school_reminder, | ||
session:, | ||
:notify_log_entry, | ||
:email, | ||
template_id: GOVUK_NOTIFY_EMAIL_TEMPLATES[:consent_school_request], | ||
patient:, | ||
sent_at: Date.new(2024, 5, 30) | ||
consent_form: nil, | ||
recipient: "[email protected]", | ||
created_at: Date.new(2024, 5, 10) | ||
) | ||
|
||
create( | ||
|
@@ -140,14 +134,6 @@ | |
date: "31 May 2024 at 1:00pm", | ||
notes: "Some notes" | ||
|
||
include_examples "card", | ||
title: "School session reminder sent", | ||
date: "30 May 2024 at 12:00am" | ||
|
||
include_examples "card", | ||
title: "Clinic invitation sent", | ||
date: "30 May 2024 at 12:00am" | ||
|
||
include_examples "card", | ||
title: "Triaged decision: Safe to vaccinate", | ||
date: "30 May 2024 at 2:30pm", | ||
|
@@ -172,8 +158,9 @@ | |
date: "29 May 2024 at 12:00pm" | ||
|
||
include_examples "card", | ||
title: "Consent request sent for HPV", | ||
date: "10 May 2024 at 12:00am" | ||
title: "Consent school request sent", | ||
date: "10 May 2024 at 12:00am", | ||
notes: "[email protected]" | ||
end | ||
|
||
describe "self-consent" do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters