From 99d47226d3cc6a7ab564e078d66b1426cb848b24 Mon Sep 17 00:00:00 2001 From: RoaaGhali98 Date: Mon, 28 Feb 2022 10:08:15 +0200 Subject: [PATCH] Fixing some design issues in refer-patient-screen-in-patient and refer-patient-screen --- .../referral/refer-patient-screen.dart | 55 ------------------- 1 file changed, 55 deletions(-) diff --git a/lib/screens/patients/profile/referral/refer-patient-screen.dart b/lib/screens/patients/profile/referral/refer-patient-screen.dart index 873fd55f..45f4ebbe 100644 --- a/lib/screens/patients/profile/referral/refer-patient-screen.dart +++ b/lib/screens/patients/profile/referral/refer-patient-screen.dart @@ -210,61 +210,6 @@ class _PatientMakeReferralScreenState extends State { }); } ), - // child: AppButton( - // title: TranslationBase.of(context).refer, - // fontWeight: FontWeight.w700, - // color: HexColor("#359846"), - // onPressed: () async { - // await locator().logEvent( - // eventCategory: "Refer Patient", - // eventAction: "Submit Refer", - // ); - // if (_referTo == null) { - // branchError = - // TranslationBase.of(context).fieldRequired; - // } else { - // branchError = null; - // } - // if (_selectedBranch == null) { - // hospitalError = - // TranslationBase.of(context).fieldRequired; - // } else { - // hospitalError = null; - // } - // if (_selectedClinic == null) { - // clinicError = - // TranslationBase.of(context).fieldRequired; - // } else { - // clinicError = null; - // } - // if (_selectedDoctor == null) { - // doctorError = - // TranslationBase.of(context).fieldRequired; - // } else { - // doctorError = null; - // } - // - // if (appointmentDate == null || - // _selectedBranch == null || - // _selectedClinic == null || - // _selectedDoctor == null || - // _remarksController.text == null) return; - // model - // .makeReferral( - // patient, - // appointmentDate.toIso8601String(), - // _selectedBranch['facilityId'], - // _selectedClinic['ClinicID'], - // _selectedDoctor['DoctorID'], - // _remarksController.text) - // .then((_) { - // DrAppToastMsg.showSuccesToast( - // TranslationBase.of(context).referralSuccessMsg); - // Navigator.pop(context); - // }); - // }, - // ), - ], ), ),