mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
Trous d'assortiment : la référence à côté du code interne
Le code interne identifie l'article chez nous, la référence l'identifie chez le fournisseur : c'est elle qu'on recopie sur une commande. La fenêtre ne donnait que le premier, obligeant à revenir à la Grille pour retrouver le second — l'export, lui, portait déjà les deux. Référence absente affichée « — » plutôt que laissée vide : une cellule vide se lit comme une colonne qui n'a pas fini de charger. Vérifié sur build de production, avec des références longues et absentes : colonne lisible, aucun débordement horizontal de la fenêtre. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYGgoQCG1VCe42HzbzhAXR
This commit is contained in:
1 file changed
+5
-1
@@ -400,11 +400,12 @@ export function AssortmentGapsModal({ classement, critereId, mois, magasinInitia
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className="rounded-xl overflow-x-auto min-w-0" style={{ border: "1px solid var(--border)" }}>
|
<div className="rounded-xl overflow-x-auto min-w-0" style={{ border: "1px solid var(--border)" }}>
|
||||||
<table className="w-full text-[12px]" style={{ minWidth: 720 }}>
|
<table className="w-full text-[12px]" style={{ minWidth: 820 }}>
|
||||||
<thead>
|
<thead>
|
||||||
<tr style={{ background: "var(--bg-elevated)" }}>
|
<tr style={{ background: "var(--bg-elevated)" }}>
|
||||||
<th className="text-right px-2.5 py-1.5 font-semibold" style={{ color: "var(--text-secondary)" }}>#</th>
|
<th className="text-right px-2.5 py-1.5 font-semibold" style={{ color: "var(--text-secondary)" }}>#</th>
|
||||||
<th className="text-left px-2.5 py-1.5 font-semibold" style={{ color: "var(--text-secondary)" }}>Code</th>
|
<th className="text-left px-2.5 py-1.5 font-semibold" style={{ color: "var(--text-secondary)" }}>Code</th>
|
||||||
|
<th className="text-left px-2.5 py-1.5 font-semibold" style={{ color: "var(--text-secondary)" }}>Référence</th>
|
||||||
<th className="text-left px-2.5 py-1.5 font-semibold" style={{ color: "var(--text-secondary)" }}>Désignation</th>
|
<th className="text-left px-2.5 py-1.5 font-semibold" style={{ color: "var(--text-secondary)" }}>Désignation</th>
|
||||||
<th className="text-right px-2.5 py-1.5 font-semibold whitespace-nowrap" style={{ color: "var(--text-secondary)" }}>
|
<th className="text-right px-2.5 py-1.5 font-semibold whitespace-nowrap" style={{ color: "var(--text-secondary)" }}>
|
||||||
{libelleCritere(critereId)}
|
{libelleCritere(critereId)}
|
||||||
@@ -419,6 +420,9 @@ export function AssortmentGapsModal({ classement, critereId, mois, magasinInitia
|
|||||||
<tr key={row.codein} style={{ borderTop: "1px solid var(--border)" }}>
|
<tr key={row.codein} style={{ borderTop: "1px solid var(--border)" }}>
|
||||||
<td className="px-2.5 py-1.5 text-right tabular-nums" style={{ color: "var(--text-muted)" }}>{rang}</td>
|
<td className="px-2.5 py-1.5 text-right tabular-nums" style={{ color: "var(--text-muted)" }}>{rang}</td>
|
||||||
<td className="px-2.5 py-1.5 tabular-nums font-semibold whitespace-nowrap" style={{ color: "var(--text-secondary)" }}>{row.codein}</td>
|
<td className="px-2.5 py-1.5 tabular-nums font-semibold whitespace-nowrap" style={{ color: "var(--text-secondary)" }}>{row.codein}</td>
|
||||||
|
<td className="px-2.5 py-1.5 font-mono text-[11.5px] whitespace-nowrap" style={{ color: "var(--text-secondary)" }}>
|
||||||
|
{row.reference || "—"}
|
||||||
|
</td>
|
||||||
<td className="px-2.5 py-1.5" style={{ color: "var(--text-primary)" }} title={row.libelle1}>
|
<td className="px-2.5 py-1.5" style={{ color: "var(--text-primary)" }} title={row.libelle1}>
|
||||||
<span className="font-semibold">{row.libelle1}</span>
|
<span className="font-semibold">{row.libelle1}</span>
|
||||||
{row.libelle3 && (
|
{row.libelle3 && (
|
||||||
|
|||||||
Reference in new issue
Block a user