From dc2bc6c70a2fb4a0e1753b34346cea682c17426a Mon Sep 17 00:00:00 2001 From: Matthieu Date: Fri, 31 Oct 2025 10:02:27 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20afficher=20fournisseur=20dans=20les=20l?= =?UTF-8?q?ibell=C3=A9s=20front?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app.vue | 4 ++-- app/components/ComponentItem.vue | 2 +- app/components/ConstructeurSelect.vue | 12 +++++------ app/components/MachinePrintSelectionModal.vue | 2 +- app/components/PieceItem.vue | 4 ++-- app/composables/useConstructeurs.js | 20 +++++++++---------- app/pages/component/[id]/edit.vue | 6 +++--- app/pages/component/create.vue | 6 +++--- app/pages/constructeurs.vue | 14 ++++++------- app/pages/machine/[id].vue | 4 ++-- app/pages/machines/new.vue | 4 ++-- app/pages/pieces/[id]/edit.vue | 6 +++--- app/pages/pieces/create.vue | 6 +++--- app/utils/printTemplates/machineReport.js | 4 ++-- 14 files changed, 47 insertions(+), 47 deletions(-) diff --git a/app/app.vue b/app/app.vue index d2dc2ee..6fba465 100644 --- a/app/app.vue +++ b/app/app.vue @@ -233,7 +233,7 @@ : 'text-base-content hover:bg-primary/10 hover:text-primary' " > - Constructeurs + Fournisseurs @@ -488,7 +488,7 @@ : 'text-base-content hover:bg-primary/10 hover:text-primary' " > - Constructeurs + Fournisseurs diff --git a/app/components/ComponentItem.vue b/app/components/ComponentItem.vue index 905feab..1ef67b7 100644 --- a/app/components/ComponentItem.vue +++ b/app/components/ComponentItem.vue @@ -98,7 +98,7 @@
- + - Aucun constructeur trouvé + Aucun fournisseur trouvé
@@ -46,11 +46,11 @@
- Chargement des constructeurs... + Chargement des fournisseurs...
- Aucun constructeur trouvé. + Aucun fournisseur trouvé.
@@ -90,7 +90,7 @@
diff --git a/app/pages/pieces/create.vue b/app/pages/pieces/create.vue index 7952368..8167f00 100644 --- a/app/pages/pieces/create.vue +++ b/app/pages/pieces/create.vue @@ -62,19 +62,19 @@ type="text" class="input input-bordered input-sm md:input-md" :disabled="submitting || !selectedType" - placeholder="Référence interne ou constructeur" + placeholder="Référence interne ou fournisseur" >
diff --git a/app/utils/printTemplates/machineReport.js b/app/utils/printTemplates/machineReport.js index 5e0077e..0e3b898 100644 --- a/app/utils/printTemplates/machineReport.js +++ b/app/utils/printTemplates/machineReport.js @@ -68,7 +68,7 @@ const renderPrintPieces = ( const constructeurBadges = (piece.constructeurs || []) .map((constructeur, badgeIdx) => { const suffix = piece.constructeurs.length > 1 ? ` ${badgeIdx + 1}` : '' - return `Constructeur${suffix}: ${constructeur.name}` + return `Fournisseur${suffix}: ${constructeur.name}` }) .join('') @@ -107,7 +107,7 @@ const renderPrintPieces = ( ${piece.description ? `` : ''}