File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,8 +82,6 @@ export const patientSessionController = {
8282 response . locals . options = {
8383 // Show outstanding vaccinations
8484 showOutstandingVaccinations : vaccinated . length > 0 && due . length > 1 ,
85- // Invite to session
86- canInvite : consent === ConsentOutcome . NotDelivered ,
8785 // Send a reminder to give consent
8886 canRemind :
8987 ! patient . hasNoContactDetails &&
Original file line number Diff line number Diff line change 1616 {% endif %}
1717
1818 {# Actions #}
19+ {{ actionLink ({
20+ text : __ (" reply.new.title" ),
21+ href : patientSession .uri + " /replies/new?referrer=" + referrer
22+ }) if not isVaccinated }}
23+
1924 {{ appButtonGroup ({
2025 buttons : [{
2126 text : __ (" remind.new.title" ),
3136 formaction : patientSession .uri + " /new/invite" ,
3237 formmethod : " post"
3338 }
34- } if options .canInvite ]
35- }) if not isVaccinated }}
36-
37- {{ actionLink ({
38- text : __ (" reply.new.title" ),
39- href : patientSession .uri + " /replies/new?referrer=" + referrer
39+ }]
4040 }) if not isVaccinated }}
4141
4242 {% if patientSession .replies | length %}
You can’t perform that action at this time.
0 commit comments