add condition

merge-requests/545/head
Elham Rababah 5 years ago
parent 9d780f72b4
commit 79037d8fc7

@ -65,7 +65,7 @@ class PatientProfileScreen extends StatelessWidget {
IsLoginForDoctorApp: true,
PatientOutSA: false);
if(patient.patientType ==1) {
if(patient.patientType ==1 || patient.admissionNo==null || patient.admissionNo =="0" ) {
patientViewModel.getPatientList(patientReq, "1", isBusyLocal: false).then((response) {
if (response['MessageStatus'] == 1) {

Loading…
Cancel
Save