Skip to content

Commit

Permalink
feat: Add expiration date and notice period to fidelity card
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Sep 12, 2024
1 parent fb63c09 commit 58d6bd7
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/papersDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3235,6 +3235,51 @@
}
]
},
{
"model": "information",
"illustration": "IlluGenericInputDate.svg",
"text": "PaperJSON.driverLicense.expirationDate.text",
"attributes": [
{
"name": "expirationDate",
"type": "date",
"inputLabel": "PaperJSON.generic.expirationDate.inputLabel"
}
]
},
{
"model": "information",
"illustration": "IlluGenericAlert.svg",
"illustrationSize": "small",
"text": "PaperJSON.generic.noticePeriod.text",
"attributes": [
{
"name": "noticePeriod",
"type": "radio",
"options": [
[
{"value": 7, "label": "attributes.noticePeriod.oneWeek"},
{"value": 30, "label": "attributes.noticePeriod.oneMonth"},
{"value": 90, "label": "attributes.noticePeriod.threeMonth", "checked": true},
{"value": 365, "label": "attributes.noticePeriod.oneYear"},
{
"value": "custom",
"label": "attributes.noticePeriod.custom",
"textFieldAttrs": {
"type": "number",
"required": true,
"label": "PaperJSON.generic.noticePeriod.inputLabel",
"adornment": {"end": "PaperJSON.generic.noticePeriod.endAdornment"}
}
}
],
[
{"value": 0, "label": "attributes.noticePeriod.noAlert"}
]
]
}
]
},
{
"illustration": "Account.svg",
"model": "contact",
Expand Down

0 comments on commit 58d6bd7

Please sign in to comment.