update procedure without entering any data

merge-requests/337/head
hussam al-habibeh 5 years ago
parent 8d8aa78ccb
commit b64a388a1d

@ -306,13 +306,13 @@ class _UpdateProcedureWidgetState extends State<UpdateProcedureWidget> {
.updateProcedure
.toUpperCase(),
onPressed: () {
if (entityList.isEmpty == true &&
widget.remarksController.text ==
widget.remarks) {
DrAppToastMsg.showErrorToast(
"Fill the mandatory procedure details");
return;
}
// if (entityList.isEmpty == true &&
// widget.remarksController.text ==
// widget.remarks) {
// DrAppToastMsg.showErrorToast(
// "Fill the mandatory procedure details");
// return;
// }
Navigator.pop(context);
updateProcedure(
limetNO: widget.limetNo,

Loading…
Cancel
Save