diff --git a/app/client/src/features/licences/LicenceDetailsEdit.jsx b/app/client/src/features/licences/LicenceDetailsEdit.jsx index d6b1317..de820f8 100644 --- a/app/client/src/features/licences/LicenceDetailsEdit.jsx +++ b/app/client/src/features/licences/LicenceDetailsEdit.jsx @@ -36,6 +36,7 @@ import Species from "../lookups/Species"; import { LICENCE_TYPE_ID_GAME_FARM, LICENCE_TYPE_ID_FUR_FARM, + LICENCE_TYPE_ID_DAIRY_TANK_TRUCK, } from "./constants"; import { selectLicenceSpecies } from "../lookups/licenceSpeciesSlice"; @@ -354,18 +355,20 @@ export default function LicenceDetailsEdit({ )} - name={'irmaNumber'} + name={"irmaNumber"} control={control} defaultValue={formatIrmaNumber(initialValues.irmaNumber)} /> - ) : ( + ) : licence.licenceTypeId !== LICENCE_TYPE_ID_DAIRY_TANK_TRUCK ? ( + ) : ( + <> )} diff --git a/app/server/static/templates/certificates/Dairy-Tank-Truck.docx b/app/server/static/templates/certificates/Dairy-Tank-Truck.docx index 8413f3a..dbe9b76 100644 Binary files a/app/server/static/templates/certificates/Dairy-Tank-Truck.docx and b/app/server/static/templates/certificates/Dairy-Tank-Truck.docx differ