label fixed

ipd-changes-for-vida-plus
Sultan khan 19 hours ago
parent f235fd4e00
commit d10c871bc7

@ -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/';

@ -1286,5 +1286,8 @@ const Map<String, Map<String, String>> localizedValues = {
"en": "Intended Length Of Stay",
"ar": "المدة المتوقعة للإقامة"
},
"sickLeaveAdded": {
"en": "Sick Leave Added Successfully",
"ar": "تمت إضافة إجازة مرضية بنجاح"
},
};

@ -298,7 +298,7 @@ class _AddPatientSickLeaveScreenState extends State<AddPatientSickLeaveScreen> {
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();
}

@ -2008,6 +2008,8 @@ class TranslationBase {
String get intendedLengthStay =>
localizedValues['intendedLengthStay']![locale.languageCode]!;
String get sickLeaveAdded =>
localizedValues['sickLeaveAdded']![locale.languageCode]!;
}

Loading…
Cancel
Save