From 26a9f8cbb5a62597b9308176ce114ecf2c3b34c3 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 19 Apr 2026 18:59:06 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routes/invoices.index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/invoices.index.tsx b/src/routes/invoices.index.tsx index 400e71d..2157e94 100644 --- a/src/routes/invoices.index.tsx +++ b/src/routes/invoices.index.tsx @@ -58,7 +58,7 @@ function InvoicesIndex() { .select("*, client:clients(id, name), case:cases(id, case_number, title)", { count: "exact" }) .order("created_at", { ascending: false }); - if (status !== "all") query = query.eq("status", status); + if (status !== "all") query = query.eq("status", status as any); if (q.trim()) { const s = q.trim().replace(/[%,]/g, " "); query = query.or(`invoice_number.ilike.%${s}%`);