|
|
|
|
@ -206,16 +206,17 @@ class _SelectClinicPageState extends State<SelectClinicPage> {
|
|
|
|
|
Navigator.of(context).push(
|
|
|
|
|
CustomPageRoute(
|
|
|
|
|
page: SelectLivecareClinicPage(onNegativeClicked: (){
|
|
|
|
|
handleDoctorScreen();
|
|
|
|
|
handleDoctorScreen(clinic);
|
|
|
|
|
},),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
} else {
|
|
|
|
|
handleDoctorScreen();
|
|
|
|
|
handleDoctorScreen(clinic);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void handleDoctorScreen() {
|
|
|
|
|
//17 and 235
|
|
|
|
|
void handleDoctorScreen(GetClinicsListResponseModel clinic) {
|
|
|
|
|
if (widget.isFromRegionFlow) {
|
|
|
|
|
Navigator.of(context).push(
|
|
|
|
|
CustomPageRoute(
|
|
|
|
|
@ -223,7 +224,13 @@ class _SelectClinicPageState extends State<SelectClinicPage> {
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
} else {
|
|
|
|
|
openRegionListBottomSheet(context, RegionBottomSheetType.FOR_CLINIIC);
|
|
|
|
|
|
|
|
|
|
var bottomSheetType = RegionBottomSheetType.FOR_CLINIIC;
|
|
|
|
|
print("the cliininc id is ${clinic.clinicID}");
|
|
|
|
|
if(clinic.clinicID == 17 || clinic.clinicID == 235) {
|
|
|
|
|
bottomSheetType = RegionBottomSheetType.REGION_FOR_DENTAL_AND_LASER;
|
|
|
|
|
}
|
|
|
|
|
openRegionListBottomSheet(context, bottomSheetType);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|