From cf7fd8d99790873fc158e8eff222508ec753a83c 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:43:25 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routes/invoices.index.tsx | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/src/routes/invoices.index.tsx b/src/routes/invoices.index.tsx index a9ff543..37503ea 100644 --- a/src/routes/invoices.index.tsx +++ b/src/routes/invoices.index.tsx @@ -299,9 +299,32 @@ function InvoicesIndex() { + {selectedInvoices.size > 0 && ( +
+ {selectedInvoices.size} selected +
+ + + + +
+
+ )} + @@ -312,9 +335,9 @@ function InvoicesIndex() { - {loading && } + {loading && } {!loading && filtered.length === 0 && ( - @@ -323,6 +346,12 @@ function InvoicesIndex() { const balance = Number(i.total) - Number(i.amount_paid); return ( +
+ 0 && selectedInvoices.size === filtered.length} + onCheckedChange={(c) => setSelectedInvoices(c ? new Set(filtered.map((i) => i.id)) : new Set())} + /> + Invoice # Client Issued
Loading…
Loading…
+
No invoices yet. Click New invoice to generate one.
e.stopPropagation()}> + setSelectedInvoices((s) => toggleSel(s, i.id))} + /> + {i.invoice_number}