|
|
|
|
@ -243,8 +243,7 @@ class _SearchByClinicState extends State<SearchByClinic> {
|
|
|
|
|
Navigator.push(context, FadePage(page: LaserClinic()));
|
|
|
|
|
} else if (!isDentalSelectedAndSupported()) {
|
|
|
|
|
projectDropdownValue = "";
|
|
|
|
|
if(!nearestAppo)
|
|
|
|
|
getDoctorsList(context);
|
|
|
|
|
if (!nearestAppo) getDoctorsList(context);
|
|
|
|
|
} else {}
|
|
|
|
|
});
|
|
|
|
|
projectViewModel.analytics.appointment.book_appointment_select_clinic(appointment_type: 'regular', clinic: clincs.clinicDescription);
|
|
|
|
|
@ -531,8 +530,8 @@ class _SearchByClinicState extends State<SearchByClinic> {
|
|
|
|
|
searchInfo.clinic = selectedClinic;
|
|
|
|
|
searchInfo.date = DateTime.now();
|
|
|
|
|
|
|
|
|
|
if(projectViewModel.isLogin) {
|
|
|
|
|
if(projectViewModel.user.age > 12) {
|
|
|
|
|
if (projectViewModel.isLogin) {
|
|
|
|
|
if (projectViewModel.user.age > 12) {
|
|
|
|
|
navigateToDentalComplaints(context, searchInfo);
|
|
|
|
|
} else {
|
|
|
|
|
callDoctorsSearchAPI(17);
|
|
|
|
|
@ -606,6 +605,8 @@ class _SearchByClinicState extends State<SearchByClinic> {
|
|
|
|
|
|
|
|
|
|
result = LinkedHashSet<String>.from(arr).toList();
|
|
|
|
|
numAll = result.length;
|
|
|
|
|
nearestAppo = false;
|
|
|
|
|
isProjectLoaded = false;
|
|
|
|
|
navigateToSearchResults(context, doctorsList, _patientDoctorAppointmentListHospital);
|
|
|
|
|
} else {
|
|
|
|
|
AppToast.showErrorToast(message: res['ErrorEndUserMessage']);
|
|
|
|
|
|