diff --git a/lib/config/config.dart b/lib/config/config.dart index ce30d36b..0530f611 100755 --- a/lib/config/config.dart +++ b/lib/config/config.dart @@ -11,7 +11,9 @@ const DOCTOR_ROTATION = 'https://doctorrota.hmg.com/'; // const BASE_URL = 'https://hmgwebservices.com/'; // const BASE_URL = 'http://10.20.200.111:1010/'; -const BASE_URL = 'https://uat.hmgwebservices.com/'; +// const BASE_URL = 'https://uat.hmgwebservices.com/'; + +const BASE_URL = 'https://rsgwebservices.hmg.com/'; //rsg // const BASE_URL = 'https://hmgwebservices.com/'; diff --git a/lib/config/localized_values.dart b/lib/config/localized_values.dart index e556211a..836b9eec 100644 --- a/lib/config/localized_values.dart +++ b/lib/config/localized_values.dart @@ -1286,5 +1286,8 @@ const Map> localizedValues = { "en": "Intended Length Of Stay", "ar": "المدة المتوقعة للإقامة" }, - + "sickLeaveAdded": { + "en": "Sick Leave Added Successfully", + "ar": "تمت إضافة إجازة مرضية بنجاح" + }, }; diff --git a/lib/screens/patient-sick-leave/add_patient_sick_leave_screen.dart b/lib/screens/patient-sick-leave/add_patient_sick_leave_screen.dart index e3322f98..18cb78cd 100644 --- a/lib/screens/patient-sick-leave/add_patient_sick_leave_screen.dart +++ b/lib/screens/patient-sick-leave/add_patient_sick_leave_screen.dart @@ -298,7 +298,7 @@ class _AddPatientSickLeaveScreenState extends State { Utils.showErrorToast(model.error); } else { await widget.previousModel!.getSickLeaveForPatient(widget.patient!, isLocalBusy: true); - DrAppToastMsg.showSuccesToast(TranslationBase.of(context).replySuccessfully); + DrAppToastMsg.showSuccesToast(TranslationBase.of(context).sickLeaveAdded); Navigator.of(context).pop(); } diff --git a/lib/utils/translations_delegate_base_utils.dart b/lib/utils/translations_delegate_base_utils.dart index dea52a9b..31098fa8 100644 --- a/lib/utils/translations_delegate_base_utils.dart +++ b/lib/utils/translations_delegate_base_utils.dart @@ -2008,6 +2008,8 @@ class TranslationBase { String get intendedLengthStay => localizedValues['intendedLengthStay']![locale.languageCode]!; + String get sickLeaveAdded => + localizedValues['sickLeaveAdded']![locale.languageCode]!; }