|
|
|
|
@ -308,10 +308,10 @@ class _AppointmentDetailsState extends State<AppointmentDetails> with SingleTick
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void goToBookConfirm() {
|
|
|
|
|
if (DocAvailableAppointments.areAppointmentsAvailable)
|
|
|
|
|
if (DocAvailableAppointments.areSlotsAvailable)
|
|
|
|
|
navigateToBookConfirm(context);
|
|
|
|
|
else
|
|
|
|
|
AppToast.showErrorToast(message: TranslationBase.of(context).emptySchedule);
|
|
|
|
|
AppToast.showErrorToast(message: TranslationBase.of(context).selectSlot);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Future navigateToBookConfirm(context) async {
|
|
|
|
|
|