From eeaf56a1f77936e08c7aefc7cfe0b7e9053f1101 Mon Sep 17 00:00:00 2001 From: tristan Date: Wed, 24 Jun 2026 18:25:32 +0200 Subject: [PATCH] =?UTF-8?q?feat(front)=20:=20refonte=20=C3=A0=20plat=20des?= =?UTF-8?q?=20blocs=20Information=20(commercial)=20et=20Prix=20(transporte?= =?UTF-8?q?ur)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Complète la refonte ERP-196 (blocs à plat sans box-shadow, titre noir, filet noir 1px) qui avait oublié deux blocs : - bloc « Information » des écrans Client et Fournisseur (consultation / édition / création) : suppression du fond blanc, du box-shadow et du padding latéral → grille à plat pleine largeur. - bloc « Prix » du transporteur (CarrierPriceBlock) : aligné sur les blocs contact/adresse — à plat, en-tête « Prix N » en noir + poubelle (button-class p-0), filet noir 1px entre blocs (sauf le dernier via prop last). Câblage title/last dans les écrans Ajouter/Modifier + i18n price.title. --- frontend/i18n/locales/fr.json | 1 + .../commercial/pages/clients/[id]/edit.vue | 2 +- .../commercial/pages/clients/[id]/index.vue | 2 +- .../modules/commercial/pages/clients/new.vue | 2 +- .../commercial/pages/suppliers/[id]/edit.vue | 2 +- .../commercial/pages/suppliers/[id]/index.vue | 2 +- .../commercial/pages/suppliers/new.vue | 2 +- .../components/CarrierPriceBlock.vue | 351 +++++++++--------- .../transport/pages/carriers/[id]/edit.vue | 2 + .../modules/transport/pages/carriers/new.vue | 2 + 10 files changed, 193 insertions(+), 175 deletions(-) diff --git a/frontend/i18n/locales/fr.json b/frontend/i18n/locales/fr.json index 5b0bc25..d0ac263 100644 --- a/frontend/i18n/locales/fr.json +++ b/frontend/i18n/locales/fr.json @@ -663,6 +663,7 @@ "confirm": "Supprimer" }, "price": { + "title": "Prix {n}", "direction": "Sens", "directionClient": "Client", "directionSupplier": "Fournisseur", diff --git a/frontend/modules/commercial/pages/clients/[id]/edit.vue b/frontend/modules/commercial/pages/clients/[id]/edit.vue index a672600..768dacd 100644 --- a/frontend/modules/commercial/pages/clients/[id]/edit.vue +++ b/frontend/modules/commercial/pages/clients/[id]/edit.vue @@ -93,7 +93,7 @@