|
|
|
|
@ -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;
|
|
|
|
|
|