We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8db29be + 86d78e7 commit 862e316Copy full SHA for 862e316
app/components/app_session_actions_component.rb
@@ -33,7 +33,7 @@ def rows
33
no_consent_response_row,
34
conflicting_consent_row,
35
triage_required_row,
36
- (register_attendance_row if session.requires_registration?),
+ register_attendance_row,
37
ready_for_vaccinator_row
38
].compact
39
end
@@ -73,6 +73,8 @@ def triage_required_row
73
74
75
def register_attendance_row
76
+ return nil unless session.requires_registration? && session.today?
77
+
78
status = "unknown"
79
count = patient_sessions.has_registration_status(status).count
80
href = session_register_path(session, register_status: status)
0 commit comments