Skip to content

Commit

Permalink
feat(cb2-9597): add manufacture month for TRLs (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbardy2000 authored Nov 7, 2024
1 parent bbda541 commit b22690c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@angular/router": "^18.2.7",
"@azure/msal-angular": "^3.0.24",
"@azure/msal-browser": "^3.24.0",
"@dvsa/cvs-type-definitions": "^7.5.0",
"@dvsa/cvs-type-definitions": "^7.6.1",
"@ngrx/effects": "^18.0.2",
"@ngrx/entity": "^18.0.2",
"@ngrx/operators": "^18.1.0",
Expand Down
22 changes: 22 additions & 0 deletions src/app/forms/templates/trl/trl-tech-record.template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,28 @@ export const TrlTechRecordTemplate: FormNode = {
validators: [{ name: ValidatorNames.PastDate }],
isoDate: false,
},
{
name: 'techRecord_manufactureMonth',
label: 'Month of manufacture',
value: null,
width: FormNodeWidth.L,
type: FormNodeTypes.CONTROL,
editType: FormNodeEditTypes.SELECT,
options: [
{ value: 'January', label: 'January' },
{ value: 'February', label: 'Febraury' },
{ value: 'March', label: 'March' },
{ value: 'April', label: 'April' },
{ value: 'May', label: 'May' },
{ value: 'June', label: 'June' },
{ value: 'July', label: 'July' },
{ value: 'August', label: 'August' },
{ value: 'September', label: 'September' },
{ value: 'October', label: 'October' },
{ value: 'November', label: 'November' },
{ value: 'December', label: 'December' },
],
},
{
name: 'techRecord_manufactureYear',
label: 'Year of manufacture',
Expand Down

0 comments on commit b22690c

Please sign in to comment.