diff --git a/frontend/src/views/Seedlot/SeedlotRegFormClassA/RegPage.tsx b/frontend/src/views/Seedlot/SeedlotRegFormClassA/RegPage.tsx index fa5728d8d..a881226fb 100644 --- a/frontend/src/views/Seedlot/SeedlotRegFormClassA/RegPage.tsx +++ b/frontend/src/views/Seedlot/SeedlotRegFormClassA/RegPage.tsx @@ -60,6 +60,12 @@ const RegPage = () => { const { isTscAdmin } = useContext(AuthContext); + const disableSubmit = !allStepCompleted + || saveStatus === 'conflict' + || !seedlotData + || (seedlotData.seedlotStatus.seedlotStatusCode !== 'PND' + && seedlotData.seedlotStatus.seedlotStatusCode !== 'INC'); + return (