Skip to content

Commit

Permalink
feat(ListItem): Add licenseNumber and confidentialNumber in ExpandedAttr
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Apr 3, 2024
1 parent 221a66f commit 4de21ff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react/ListItem/ExpandedAttributes/helpers.js
Expand Up @@ -32,6 +32,8 @@ export const defaultExpandedAttributes = {
'io.cozy.contacts': ['email', 'phone', 'address', 'birthday'],
'io.cozy.files': [
'metadata.number',
'metadata.vehicle.licenseNumber',
'metadata.vehicle.confidentialNumber',
'metadata.bicNumber',
'metadata.netSocialAmount',
'metadata.noticePeriod',
Expand Down
4 changes: 4 additions & 0 deletions react/ListItem/locales/en.json
Expand Up @@ -30,6 +30,10 @@
"bicNumber": "BIC number",
"passportNumber": "Passport number",
"netSocialAmount": "Net social amount",
"vehicle": {
"licenseNumber": "Vehicle registration number",
"confidentialNumber": "Confidential code"
},
"number": {
"pay_sheet": "Gross remuneration",
"tax_return": "Reference tax number",
Expand Down
4 changes: 4 additions & 0 deletions react/ListItem/locales/fr.json
Expand Up @@ -30,6 +30,10 @@
"bicNumber": "Numéro BIC",
"passportNumber": "Numéro du passeport",
"netSocialAmount": "Montant net social",
"vehicle": {
"licenseNumber": "Plaque d'immatriculation",
"confidentialNumber": "Code confidentiel"
},
"number": {
"pay_sheet": "Rémunération brute",
"tax_return": "Numéro fiscal de référence",
Expand Down

0 comments on commit 4de21ff

Please sign in to comment.