No Assigned Employee

main_design2.0
zaid_daoud 2 years ago
parent 4997e1e3df
commit 519d5a9f42

@ -310,6 +310,10 @@ class CreateRequestPageState extends State<CreateRequestPage> {
Fluttertoast.showToast(msg: _subtitle.noDateFound);
return;
}
if (widget.serviceRequest != null && (_serviceRequest?.engineerId == null || (_serviceRequest?.engineerId?.isEmpty ?? false))) {
await Fluttertoast.showToast(msg: "No Assigned Employee");
return;
}
_formKey.currentState.save();
_serviceRequest.deviceId = _device?.id;
_isLoading = true;

Loading…
Cancel
Save