From 5aa748c12cff96e5dea0fa7fa268e45b7fea1ac5 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 02:07:12 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/cases/status-tab.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/cases/status-tab.tsx b/src/components/cases/status-tab.tsx index d5bd569..1b08177 100644 --- a/src/components/cases/status-tab.tsx +++ b/src/components/cases/status-tab.tsx @@ -6,11 +6,12 @@ import { Label } from "@/components/ui/label"; import { Textarea } from "@/components/ui/textarea"; import { supabase } from "@/integrations/supabase/client"; import { useAuth } from "@/lib/auth"; -import { Plus, Trash2, Loader2 } from "lucide-react"; +import { Plus, Trash2, Loader2, FileDown } from "lucide-react"; import { formatDateTime } from "@/lib/format"; import { toast } from "sonner"; +import { downloadStatusReport } from "@/lib/status-pdf"; -export function CaseStatusTab({ caseId }: { caseId: string }) { +export function CaseStatusTab({ caseId, caseLabel }: { caseId: string; caseLabel?: string }) { const { user, isAdmin } = useAuth(); const [items, setItems] = useState([]); const [showForm, setShowForm] = useState(false);