|
|
|
|
@ -299,11 +299,13 @@ class _UpdateProcedureWidgetState extends State<UpdateProcedureWidget> {
|
|
|
|
|
.updateProcedure
|
|
|
|
|
.toUpperCase(),
|
|
|
|
|
onPressed: () {
|
|
|
|
|
// if (entityList.isEmpty == true) {
|
|
|
|
|
// 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(
|
|
|
|
|
orderNo: widget.orderNo,
|
|
|
|
|
|