Merge branch 'development' of https://gitlab.com/Cloud_Solution/doctor_app_flutter into design-updates

merge-requests/211/head
hussam al-habibeh 5 years ago
commit 9210600e15

@ -69,19 +69,19 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
try {
Map profile = await sharedPref.getObj(DOCTOR_PROFILE);
/* Map profile = await sharedPref.getObj(DOCTOR_PROFILE);
DoctorProfileModel doctorProfile =
new DoctorProfileModel.fromJson(profile);
new DoctorProfileModel.fromJson(profile)*/;
if (_formKey.currentState.validate()) {
_formKey.currentState.save();
sharedPref.setString(SLECTED_PATIENT_TYPE, _selectedType);
/* sharedPref.setString(SLECTED_PATIENT_TYPE, _selectedType);
String token = await sharedPref.getString(TOKEN);
_patientSearchFormValues.TokenID = token;
_patientSearchFormValues.ProjectID = doctorProfile.projectID; //15
_patientSearchFormValues.DoctorID = doctorProfile.doctorID;
_patientSearchFormValues.ClinicID = doctorProfile.clinicID;
_patientSearchFormValues.ClinicID = doctorProfile.clinicID;*/
if ((_patientSearchFormValues.From == "0" ||
_patientSearchFormValues.To == "0") &&

Loading…
Cancel
Save