Skip to content

Commit

Permalink
feat(mespapiers): Add information step for custom name to fidelity card
Browse files Browse the repository at this point in the history
  • Loading branch information
Merkur39 committed Feb 15, 2024
1 parent 18eaa97 commit 5f6fce7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/cozy-mespapiers-lib/src/constants/papersDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2754,6 +2754,7 @@
"icon": "people",
"featureDate": "referencedDate",
"maxDisplay": 4,
"filenameModel": ["labelGivenByUser"],
"acquisitionSteps": [
{
"model": "scan",
Expand All @@ -2767,6 +2768,19 @@
"illustration": "IlluGenericNewPage.svg",
"text": "PaperJSON.card.back.text"
},
{
"model": "information",
"text": "PaperJSON.generic.fileLabel.text",
"attributes": [
{
"name": "labelGivenByUser",
"type": "text",
"required": true,
"maxLength": 255,
"inputLabel": "PaperJSON.generic.fileLabel.inputLabel"
}
]
},
{
"model": "information",
"illustration": "IlluGenericInputDate.svg",
Expand Down

0 comments on commit 5f6fce7

Please sign in to comment.