|
|
|
@@ -79,13 +79,13 @@ const ActionButtons: React.FC<Props> = ({ |
|
|
|
variant="outlined" |
|
|
|
startIcon={<PlayCircleFilledWhiteIcon />} |
|
|
|
onClick={handleStart} |
|
|
|
disabled={errors.qtyErr || errors.scanErr || errors.pickErr} |
|
|
|
// disabled={errors.qtyErr || errors.scanErr || errors.pickErr} |
|
|
|
> |
|
|
|
{t("Start Job Order")} |
|
|
|
</Button> |
|
|
|
{errors.pickErr && (<Typography variant="h3" color="error">{t("Please make sure all required items are picked")}</Typography>)} |
|
|
|
{/* {errors.pickErr && (<Typography variant="h3" color="error">{t("Please make sure all required items are picked")}</Typography>)} |
|
|
|
{errors.scanErr && (<Typography variant="h3" color="error">{t("Please scan the item qr code")}</Typography>)} |
|
|
|
{errors.qtyErr && (<Typography variant="h3" color="error">{t("Please make sure the qty is enough")}</Typography>)} |
|
|
|
{errors.qtyErr && (<Typography variant="h3" color="error">{t("Please make sure the qty is enough")}</Typography>)} */} |
|
|
|
</Box> |
|
|
|
)} |
|
|
|
</Stack> |
|
|
|
|