From 96fad3f063a0fb67d4c531397236721498929ea3 Mon Sep 17 00:00:00 2001 From: MOHANKUMAR T <31698165+mohan-13@users.noreply.github.com> Date: Mon, 13 Mar 2023 14:50:26 +0530 Subject: [PATCH] Fixes for BAH-2898 & BAH-2901 (#547) * BAH-2898 | Fix. Typo in treatment data display control Co-authored-by: Deepthi Mantena * BAH-2901 | Fix. Test name not shown when file is associated with result Co-authored-by: Deepthi Mantena --------- Co-authored-by: Deepthi Mantena --- .../investigationresults/views/investigationTableRow.html | 2 +- .../displaycontrols/treatmentData/directives/treatmentData.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/clinical/displaycontrols/investigationresults/views/investigationTableRow.html b/ui/app/clinical/displaycontrols/investigationresults/views/investigationTableRow.html index a8fd3562ed..25c65d935e 100644 --- a/ui/app/clinical/displaycontrols/investigationresults/views/investigationTableRow.html +++ b/ui/app/clinical/displaycontrols/investigationresults/views/investigationTableRow.html @@ -6,7 +6,7 @@ - {{test.preferredNameByLocale}} + {{::getLocaleSpecificNameForTest(test)}} diff --git a/ui/app/clinical/displaycontrols/treatmentData/directives/treatmentData.js b/ui/app/clinical/displaycontrols/treatmentData/directives/treatmentData.js index bc465c5d45..95c045f63e 100644 --- a/ui/app/clinical/displaycontrols/treatmentData/directives/treatmentData.js +++ b/ui/app/clinical/displaycontrols/treatmentData/directives/treatmentData.js @@ -21,7 +21,7 @@ angular.module('bahmni.clinical') var startDate = null, endDate = null, getEffectiveOrdersOnly = false; if (programConfig.showDetailsWithinDateRange) { - startDate = $stateParamqs.dateEnrolled; + startDate = $stateParams.dateEnrolled; endDate = $stateParams.dateCompleted; if (startDate || endDate) { $scope.params.showOtherActive = false;