fix(transport) : tableau prix — bord droit Transport noir uniforme (couleur de bordure bas side-specific) (ERP-193)
This commit is contained in:
@@ -450,10 +450,12 @@ function dataBorder(gi: number, i: number): string {
|
|||||||
const group = priceGroups.value[gi]
|
const group = priceGroups.value[gi]
|
||||||
const isLastRow = i === group.rows.length - 1
|
const isLastRow = i === group.rows.length - 1
|
||||||
const isLastGroup = gi === priceGroups.value.length - 1
|
const isLastGroup = gi === priceGroups.value.length - 1
|
||||||
|
// Couleur de bordure SIDE-SPECIFIC (border-b-*) : un `border-{color}` global
|
||||||
|
// ecraserait la couleur du bord droit noir de la colonne Transport.
|
||||||
if (!isLastRow) {
|
if (!isLastRow) {
|
||||||
return 'border-b border-m-muted/30'
|
return 'border-b border-b-m-muted/30'
|
||||||
}
|
}
|
||||||
return isLastGroup ? '' : 'border-b-2 border-black'
|
return isLastGroup ? '' : 'border-b-2 border-b-black'
|
||||||
}
|
}
|
||||||
|
|
||||||
// ── Export XLSX des prix ─────────────────────────────────────────────────────
|
// ── Export XLSX des prix ─────────────────────────────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user