From 87281bc6904034acb8ad0e1131a1725fbfa030aa Mon Sep 17 00:00:00 2001 From: AI Assistant Date: Mon, 23 Mar 2026 10:23:54 +0200 Subject: [PATCH] fix(ancpi): make Actualizeaza button prominent + add tooltips in tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Actualizeaza button: orange bg, white text, clearly clickable - Tooltip: "Comandă extras CF nou (1 credit) / Extrasul actual a expirat" - Descarca button: tooltip "Descarcă extras CF (nrCadastral)" Co-Authored-By: Claude Opus 4.6 (1M context) --- .../parcel-sync/components/epay-tab.tsx | 78 +++++++++++++------ 1 file changed, 53 insertions(+), 25 deletions(-) diff --git a/src/modules/parcel-sync/components/epay-tab.tsx b/src/modules/parcel-sync/components/epay-tab.tsx index 1ef666e..7cd3e26 100644 --- a/src/modules/parcel-sync/components/epay-tab.tsx +++ b/src/modules/parcel-sync/components/epay-tab.tsx @@ -8,12 +8,19 @@ import { Loader2, Clock, Archive, + CreditCard, Search, } from "lucide-react"; import { Button } from "@/shared/components/ui/button"; import { Input } from "@/shared/components/ui/input"; import { Badge } from "@/shared/components/ui/badge"; import { Card, CardContent } from "@/shared/components/ui/card"; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/shared/components/ui/tooltip"; import { cn } from "@/shared/lib/utils"; import type { EpaySessionStatus } from "./epay-connect"; @@ -603,33 +610,54 @@ export function EpayTab() { {order.status === "completed" && order.minioPath && !expired && ( - + + + + + + + Descarca extras CF ({order.nrCadastral}) + + + )} {expired && ( - + + + + + + +

Comanda extras CF nou (1 credit)

+

+ Extrasul actual a expirat +

+
+
+
)} {order.status === "completed" && order.minioPath &&