Skip to content

Commit

Permalink
BAH-3229 | Fix. entire address field should be cleared before updatin…
Browse files Browse the repository at this point in the history
…g the address from extension point (#708)
  • Loading branch information
SanoferSameera authored Sep 25, 2023
1 parent a8bb471 commit c144366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/app/registration/controllers/patientCommonController.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ angular.module('bahmni.registration')
};

function updatePatientAddress (address, addressMap) {
$scope.patient.address = {};
for (var key in addressMap) {
if (address[key] && address[key] !== null) {
if (key === "line") {
Expand Down

0 comments on commit c144366

Please sign in to comment.