|
|
|
@ -44,6 +44,7 @@ class AppointmentsVM extends BaseVM {
|
|
|
|
required this.providerRepo,
|
|
|
|
required this.providerRepo,
|
|
|
|
required this.commonRepo});
|
|
|
|
required this.commonRepo});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool isUpcommingEnabled = true;
|
|
|
|
bool isFetchingLists = false;
|
|
|
|
bool isFetchingLists = false;
|
|
|
|
int selectedBranch = 0;
|
|
|
|
int selectedBranch = 0;
|
|
|
|
int selectedAppointmentIndex = 0;
|
|
|
|
int selectedAppointmentIndex = 0;
|
|
|
|
@ -374,7 +375,7 @@ class AppointmentsVM extends BaseVM {
|
|
|
|
myFilteredAppointments = myAppointments;
|
|
|
|
myFilteredAppointments = myAppointments;
|
|
|
|
myUpComingAppointments = myAppointments
|
|
|
|
myUpComingAppointments = myAppointments
|
|
|
|
.where((element) =>
|
|
|
|
.where((element) =>
|
|
|
|
element.appointmentStatusEnum == AppointmentStatusEnum.booked)
|
|
|
|
element.appointmentStatusEnum == AppointmentStatusEnum.confirmed)
|
|
|
|
.toList();
|
|
|
|
.toList();
|
|
|
|
setState(ViewState.idle);
|
|
|
|
setState(ViewState.idle);
|
|
|
|
// applyFilterOnAppointmentsVM(appointmentStatusEnum: AppointmentStatusEnum.allAppointments);
|
|
|
|
// applyFilterOnAppointmentsVM(appointmentStatusEnum: AppointmentStatusEnum.allAppointments);
|
|
|
|
|