NFC Check removed for appo checkin

merge-update-with-lab-changes
haroon amjad 2 years ago
parent 47779f6fa7
commit 165f3fb9f6

@ -989,23 +989,23 @@ class _ToDoState extends State<ToDo> with SingleTickerProviderStateMixin {
patientShareResponse.projectID = appo.projectID; patientShareResponse.projectID = appo.projectID;
patientShareResponse.isFollowup = appo.isFollowup; patientShareResponse.isFollowup = appo.isFollowup;
FlutterNfcKit.nfcAvailability.then((value) { // FlutterNfcKit.nfcAvailability.then((value) {
if (value == NFCAvailability.available) { // if (value == NFCAvailability.available) {
PatientShareResponse patientShareResponse = new PatientShareResponse(); // PatientShareResponse patientShareResponse = new PatientShareResponse();
patientShareResponse.doctorNameObj = appo.doctorNameObj; patientShareResponse.doctorNameObj = appo.doctorNameObj;
patientShareResponse.doctorSpeciality = appo.doctorSpeciality; patientShareResponse.doctorSpeciality = appo.doctorSpeciality;
patientShareResponse.projectName = appo.projectName; patientShareResponse.projectName = appo.projectName;
patientShareResponse.appointmentDate = appo.appointmentDate; patientShareResponse.appointmentDate = appo.appointmentDate;
patientShareResponse.appointmentNo = appo.appointmentNo; patientShareResponse.appointmentNo = appo.appointmentNo;
patientShareResponse.clinicID = appo.clinicID; patientShareResponse.clinicID = appo.clinicID;
patientShareResponse.projectID = appo.projectID; patientShareResponse.projectID = appo.projectID;
patientShareResponse.isFollowup = appo.isFollowup; patientShareResponse.isFollowup = appo.isFollowup;
navigateToQR(context, "", patientShareResponse, appo); navigateToQR(context, "", patientShareResponse, appo);
projectViewModel.analytics.todoList.to_do_list_check_in(appo); projectViewModel.analytics.todoList.to_do_list_check_in(appo);
} else { // } else {
Utils.showErrorToast(TranslationBase.of(context).NFCNotSupported); // Utils.showErrorToast(TranslationBase.of(context).NFCNotSupported);
} // }
}); // });
projectViewModel.analytics.todoList.to_do_list_check_in(appo); projectViewModel.analytics.todoList.to_do_list_check_in(appo);
DoctorsListService service = new DoctorsListService(); DoctorsListService service = new DoctorsListService();

Loading…
Cancel
Save