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 .updateProcedure
.toUpperCase(), .toUpperCase(),
onPressed: () { onPressed: () {
if (entityList.isEmpty == true && // if (entityList.isEmpty == true &&
widget.remarksController.text == // widget.remarksController.text ==
widget.remarks) { // widget.remarks) {
DrAppToastMsg.showErrorToast( // DrAppToastMsg.showErrorToast(
"Fill the mandatory procedure details"); // "Fill the mandatory procedure details");
return; // return;
} // }
Navigator.pop(context); Navigator.pop(context);
updateProcedure( updateProcedure(
limetNO: widget.limetNo, limetNO: widget.limetNo,

Loading…
Cancel
Save