|
|
|
|
@ -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 {
|
|
|
|
|
|