diff --git a/src/routes/invoices.index.tsx b/src/routes/invoices.index.tsx index 30f3653..95d3718 100644 --- a/src/routes/invoices.index.tsx +++ b/src/routes/invoices.index.tsx @@ -604,7 +604,7 @@ function InvoicesIndex() { No matching expenses. )} - {visibleExp.map((e) => { + {pagedExp.map((e) => { const marked = isPlaceholder(e.invoice_id); return ( @@ -646,6 +646,18 @@ function InvoicesIndex() { + {visibleExp.length > TAB_PAGE_SIZE && ( +
+ + Showing {expPage * TAB_PAGE_SIZE + 1}–{Math.min((expPage + 1) * TAB_PAGE_SIZE, visibleExp.length)} of {visibleExp.length} + +
+ + Page {expPage + 1} of {expTotalPages} + +
+
+ )}