feat(front) : refonte à plat des blocs Information (commercial) et Prix (transporteur)
Pull Request — Quality gate / Frontend (lint + Vitest + build) (pull_request) Successful in 48s
Pull Request — Quality gate / Backend (PHP CS + PHPUnit) (pull_request) Successful in 5m22s

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.
This commit is contained in:
2026-06-24 18:25:32 +02:00
parent fd430bc123
commit eeaf56a1f7
10 changed files with 193 additions and 175 deletions
@@ -182,10 +182,12 @@
v-for="(price, index) in prices"
:key="index"
:model-value="price"
:title="t('transport.carriers.form.price.title', { n: index + 1 })"
:client-options="clientOptions"
:supplier-options="supplierOptions"
:site-options="siteOptions"
removable
:last="index === prices.length - 1"
:errors="priceErrors[index]"
@update:model-value="(v) => prices[index] = v"
@remove="askRemovePrice(index)"
@@ -244,11 +244,13 @@
v-for="(price, index) in prices"
:key="index"
:model-value="price"
:title="t('transport.carriers.form.price.title', { n: index + 1 })"
:client-options="clientOptions"
:supplier-options="supplierOptions"
:site-options="siteOptions"
:removable="!isValidated('prices')"
:disabled="isValidated('prices')"
:last="index === prices.length - 1"
:errors="priceErrors[index]"
@update:model-value="(v) => prices[index] = v"
@remove="askRemovePrice(index)"