From 9b66dd645266242c0aaa7710a849509a1d9e3aa8 Mon Sep 17 00:00:00 2001 From: Claude VM Date: Fri, 5 Jun 2026 20:49:18 +0300 Subject: [PATCH] =?UTF-8?q?fix(epay-ui):=20intern=20status=20pill=20'Dispo?= =?UTF-8?q?nibil'=20(not=20'Intern')=20=E2=80=94=20avoid=20duplicating=20t?= =?UTF-8?q?he=20source=20badge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The source badge next to the status already says 'intern'; a second 'Intern' status pill read as a duplicate. The status now states the document is available ('Disponibil', neutral) — no validity term, no duplication. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/modules/parcel-sync/components/epay-tab.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/modules/parcel-sync/components/epay-tab.tsx b/src/modules/parcel-sync/components/epay-tab.tsx index 468614f..7c6fedd 100644 --- a/src/modules/parcel-sync/components/epay-tab.tsx +++ b/src/modules/parcel-sync/components/epay-tab.tsx @@ -80,13 +80,14 @@ function statusBadge( type?: "epay" | "intern", ): StatusStyle { // Intern (copycf) extracts have NO validity term — never label them "Valid" - // or "Expirat" (which imply an ePay-style 30-day validity). Show a neutral - // "Intern" pill instead. + // or "Expirat" (which imply an ePay-style 30-day validity). The source + // badge next to this already says "intern", so the STATUS just states the + // document is available (no term). if (type === "intern" && status === "completed") { return { - label: "Intern", + label: "Disponibil", className: - "bg-sky-100 text-sky-700 border-sky-200 dark:bg-sky-950/40 dark:text-sky-400 dark:border-sky-800", + "bg-muted text-foreground/70 border-muted-foreground/20", }; }