fix(quality): request was missing the forced selection
This commit is contained in:
@@ -45,6 +45,12 @@ export default function RequestPallet() {
|
|||||||
"You did not change the running number, please add a valid running number",
|
"You did not change the running number, please add a valid running number",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (value.moveTo === "") {
|
||||||
|
return toast.error(
|
||||||
|
"Please select where you would like the pallets taken to.",
|
||||||
|
);
|
||||||
|
}
|
||||||
const postData = {
|
const postData = {
|
||||||
runningNr: Number(value.runningNr),
|
runningNr: Number(value.runningNr),
|
||||||
moveTo: value.moveTo,
|
moveTo: value.moveTo,
|
||||||
|
|||||||
Reference in New Issue
Block a user