From 476033c9255e6c2c30f3daf7737b83501adc891f Mon Sep 17 00:00:00 2001 From: "taha.alam@cloudsolutions.com.sa" Date: Tue, 9 Dec 2025 11:18:55 +0300 Subject: [PATCH] VA-38902 fix --- lib/core/service/patient/ReferralService.dart | 5 ++- .../refer-patient-screen-in-patient.dart | 31 ++++++++++++++----- 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/lib/core/service/patient/ReferralService.dart b/lib/core/service/patient/ReferralService.dart index 73a9a334..6292125e 100644 --- a/lib/core/service/patient/ReferralService.dart +++ b/lib/core/service/patient/ReferralService.dart @@ -47,7 +47,10 @@ class ReferralService extends BaseService { await baseAppClient.post( REFER_TO_DOCTOR, - onSuccess: (dynamic response, int statusCode) {}, + onSuccess: (dynamic response, int statusCode) { + hasError = false; + + }, onFailure: (String error, int statusCode) { hasError = true; super.error = error; diff --git a/lib/screens/patients/profile/referral/refer_details/refer-patient-screen-in-patient.dart b/lib/screens/patients/profile/referral/refer_details/refer-patient-screen-in-patient.dart index 0e9c1cb3..20a26ad5 100644 --- a/lib/screens/patients/profile/referral/refer_details/refer-patient-screen-in-patient.dart +++ b/lib/screens/patients/profile/referral/refer_details/refer-patient-screen-in-patient.dart @@ -55,7 +55,9 @@ class _PatientMakeInPatientReferralScreenState extends State