Skip to content

Commit

Permalink
BAH-3845 | Fix. Remove filter for IPD Visit while opening IPD Visit
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-13 authored and rahu1ramesh committed Aug 6, 2024
1 parent 69d162a commit 12c7f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/clinical/common/controllers/visitController.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ angular.module('bahmni.clinical')
$scope.visitUuid = $stateParams.visitUuid;
$scope.isActiveIpdVisit = $scope.visitSummary.visitType === "IPD";
$scope.isIpdReadMode = true;
if ($scope.visitSummary.visitType === "IPD" && $scope.visitSummary.stopDateTime === null) {
if ($scope.visitSummary.stopDateTime === null) {
$scope.isIpdReadMode = false;
}
$scope.ipdDashboard = {
Expand Down

0 comments on commit 12c7f79

Please sign in to comment.