Skip to content

Commit

Permalink
Merge pull request #474 from bcgov/mals2-26-fixes-3
Browse files Browse the repository at this point in the history
Mals2 26 fixes 3
  • Loading branch information
mgtennant authored Oct 10, 2024
2 parents 70c871a + fabcba9 commit ffad3f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/client/src/features/licences/LicenceDetailsEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -354,18 +355,20 @@ export default function LicenceDetailsEdit({
</Form.Control.Feedback>
</>
)}
name={'irmaNumber'}
name={"irmaNumber"}
control={control}
defaultValue={formatIrmaNumber(initialValues.irmaNumber)}
/>
</Form.Group>
) : (
) : licence.licenceTypeId !== LICENCE_TYPE_ID_DAIRY_TANK_TRUCK ? (
<CustomDatePicker
id="expiryDate"
label="Expiry Date"
notifyOnChange={handleFieldChange("expiryDate")}
defaultValue={initialValues.expiryDate}
/>
) : (
<></>
)}
</Col>
<Col lg={8}>
Expand Down
Binary file modified app/server/static/templates/certificates/Dairy-Tank-Truck.docx
Binary file not shown.

0 comments on commit ffad3f9

Please sign in to comment.