From 4de21ffa53a2b36d8021c34b282a870ae7fbcf44 Mon Sep 17 00:00:00 2001 From: JF-Cozy Date: Wed, 3 Apr 2024 15:20:04 +0200 Subject: [PATCH] feat(ListItem): Add licenseNumber and confidentialNumber in ExpandedAttr --- react/ListItem/ExpandedAttributes/helpers.js | 2 ++ react/ListItem/locales/en.json | 4 ++++ react/ListItem/locales/fr.json | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/react/ListItem/ExpandedAttributes/helpers.js b/react/ListItem/ExpandedAttributes/helpers.js index de5584621d..053f5d25f6 100644 --- a/react/ListItem/ExpandedAttributes/helpers.js +++ b/react/ListItem/ExpandedAttributes/helpers.js @@ -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', diff --git a/react/ListItem/locales/en.json b/react/ListItem/locales/en.json index aaae224052..6beb967f94 100644 --- a/react/ListItem/locales/en.json +++ b/react/ListItem/locales/en.json @@ -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", diff --git a/react/ListItem/locales/fr.json b/react/ListItem/locales/fr.json index 9c64773587..689a195750 100644 --- a/react/ListItem/locales/fr.json +++ b/react/ListItem/locales/fr.json @@ -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",