|
|
|
@ -298,7 +298,7 @@ class _AddPatientSickLeaveScreenState extends State<AddPatientSickLeaveScreen> {
|
|
|
|
Utils.showErrorToast(model.error);
|
|
|
|
Utils.showErrorToast(model.error);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
await widget.previousModel!.getSickLeaveForPatient(widget.patient!, isLocalBusy: true);
|
|
|
|
await widget.previousModel!.getSickLeaveForPatient(widget.patient!, isLocalBusy: true);
|
|
|
|
DrAppToastMsg.showSuccesToast(TranslationBase.of(context).replySuccessfully);
|
|
|
|
DrAppToastMsg.showSuccesToast(TranslationBase.of(context).sickLeaveAdded);
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|