From 788d469b2a5d6d49151ba7ce2b7ce071fac6b8e0 Mon Sep 17 00:00:00 2001 From: vishal Date: Fri, 29 Oct 2021 12:23:06 +0530 Subject: [PATCH] BAH-1267 Added 2 icons to start audio/video call for upcoming appointments --- .../apps/customDisplayControl/js/customControl.js | 4 ++-- .../views/patientAppointmentsDashboard.html | 13 +++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/openmrs/apps/customDisplayControl/js/customControl.js b/openmrs/apps/customDisplayControl/js/customControl.js index e5d9a422f..558a7984d 100644 --- a/openmrs/apps/customDisplayControl/js/customControl.js +++ b/openmrs/apps/customDisplayControl/js/customControl.js @@ -207,10 +207,10 @@ angular.module('bahmni.common.displaycontrol.custom') $scope.goToListView = function () { $window.open('/bahmni/appointments/#/home/manage/appointments/list'); }; - $scope.openJitsiMeet = function (appointmentIndex) { + $scope.openJitsiMeet = function (appointmentIndex, startWithVideoMuted) { var uuid = $scope.upcomingAppointmentsUUIDs[appointmentIndex]; var link = $scope.upcomingAppointmentsLinks[appointmentIndex]; - virtualConsultService.launchMeeting(uuid, link); + virtualConsultService.launchMeeting(uuid, link, startWithVideoMuted); }; $scope.showJoinTeleconsultationOption = function (appointmentIndex) { return $scope.upcomingAppointments[appointmentIndex].DASHBOARD_APPOINTMENTS_STATUS_KEY == 'Scheduled' && diff --git a/openmrs/apps/customDisplayControl/views/patientAppointmentsDashboard.html b/openmrs/apps/customDisplayControl/views/patientAppointmentsDashboard.html index cf76c2c27..e03f92e86 100644 --- a/openmrs/apps/customDisplayControl/views/patientAppointmentsDashboard.html +++ b/openmrs/apps/customDisplayControl/views/patientAppointmentsDashboard.html @@ -27,10 +27,15 @@

{{detail}} - - + + + + + + +