my appointments fixes

dev_3.3_faiz_payfort
haroon amjad 2 years ago
parent 27ed5c95f2
commit 98a5b7d049

@ -270,10 +270,6 @@ class _MyAppointmentsState extends State<MyAppointments> with SingleTickerProvid
} else {
_patientBookedAppointmentListHospital.add(PatientAppointmentList(filterName: element.projectName, patientDoctorAppointment: element));
}
//Merging Booked & Confirmed Appointments into Upcoming Tab
_patientBookedAndConfirmedAppointmentListHospital.addAll(_patientBookedAppointmentListHospital);
_patientBookedAndConfirmedAppointmentListClinic.addAll(_patientBookedAppointmentListClinic);
});
confirmedAppoList.forEach((element) {
@ -302,8 +298,8 @@ class _MyAppointmentsState extends State<MyAppointments> with SingleTickerProvid
}
//Merging Booked & Confirmed Appointments into Upcoming Tab
_patientBookedAndConfirmedAppointmentListHospital.addAll(_patientConfirmedAppointmentListHospital);
_patientBookedAndConfirmedAppointmentListClinic.addAll(_patientConfirmedAppointmentListClinic);
// _patientBookedAndConfirmedAppointmentListHospital.addAll(_patientConfirmedAppointmentListHospital);
// _patientBookedAndConfirmedAppointmentListClinic.addAll(_patientConfirmedAppointmentListClinic);
});
arrivedAppoList.forEach((element) {
@ -333,6 +329,11 @@ class _MyAppointmentsState extends State<MyAppointments> with SingleTickerProvid
// openAppointmentsTab();
});
//Merging Booked & Confirmed Appointments into Upcoming Tab
_patientBookedAndConfirmedAppointmentListHospital.addAll(_patientBookedAppointmentListHospital);
_patientBookedAndConfirmedAppointmentListClinic.addAll(_patientBookedAppointmentListClinic);
}
openAppointmentsTab() async {

Loading…
Cancel
Save