Openemr render events (#4728)
commit3476de554840c8e9029201009b59d35d5730a7af
authorStephen Nielson <stephen@nielson.org>
Wed, 10 Nov 2021 13:40:35 +0000 (10 08:40 -0500)
committerGitHub <noreply@github.com>
Wed, 10 Nov 2021 13:40:35 +0000 (10 08:40 -0500)
tree0f23c586cb7e6a9bede5f4e574bb74fd59e2af37
parent11eecf5ff32f14736fb5757fcf8311a1b84118e9
Openemr render events (#4728)

* Added provider main and portal home render events

Made it so you can tie into events on the page render for both the main
screen (outer shell container that holds the tabs and everything) for th
e provider and for the portal home page (including menu and content
tabs).

* OpenEMR Portal and Main tabs render events

Added events to OpenEMR main tabs screen for outputting html at the end of the body tag and at the start of the body tag.
Added event to filter appointments in the portal home page.
Added event to render output at the end of the portal sections and before the scripts of the portal.
Refactored the appointments into a separate twig file that module writers can overwrite.
interface/main/tabs/main.php
portal/home.php
src/Events/Main/Tabs/RenderEvent.php [new file with mode: 0644]
src/Events/PatientPortal/AppointmentFilterEvent.php [new file with mode: 0644]
src/Events/PatientPortal/RenderEvent.php [new file with mode: 0644]
templates/portal/appointment-item.html.twig [new file with mode: 0644]
templates/portal/home.html.twig