First Action Date

pull/1/head
zaid_daoud 2 years ago
parent ccf329798a
commit d4a1607392

@ -306,7 +306,7 @@ class CreateRequestPageState extends State<CreateRequestPage> {
Fluttertoast.showToast(msg: _subtitle.pickDevice);
return;
}
if (_serviceRequest.firstAction != null && _dateTime == null) {
if (_serviceRequest.firstAction.name == "Need a visit" && _dateTime == null) {
Fluttertoast.showToast(msg: _subtitle.noDateFound);
return;
}

Loading…
Cancel
Save