|
|
|
|
@ -261,10 +261,16 @@ class _UpdateNoteOrderState extends State<UpdateNoteOrder> {
|
|
|
|
|
}
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
DrAppToastMsg.showSuccesToast(
|
|
|
|
|
"Your Order added Successfully");
|
|
|
|
|
"${widget.visitType == 3?
|
|
|
|
|
TranslationBase.of(context).orderSheet+ (widget.isUpdate
|
|
|
|
|
? TranslationBase.of(context).updatedSuccessfully
|
|
|
|
|
: TranslationBase.of(context).addedSuccessfully)
|
|
|
|
|
: TranslationBase.of(context).progressNote + (widget.isUpdate
|
|
|
|
|
? TranslationBase.of(context).updatedSuccessfully
|
|
|
|
|
: TranslationBase.of(context).addedSuccessfully) }");
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
} else {
|
|
|
|
|
Helpers.showErrorToast("You cant add only spaces");
|
|
|
|
|
Helpers.showErrorToast(TranslationBase.of(context).youCantAddSpaceOnly);
|
|
|
|
|
}
|
|
|
|
|
})),
|
|
|
|
|
],
|
|
|
|
|
|