Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
eb3df7be14
commit
4aac55853c
@@ -56,6 +56,7 @@ function InvoicesIndex() {
|
||||
let query = supabase
|
||||
.from("invoices")
|
||||
.select("*, client:clients(id, name), case:cases(id, case_number, title)", { count: "exact" })
|
||||
.order("issue_date", { ascending: false, nullsFirst: false })
|
||||
.order("created_at", { ascending: false });
|
||||
|
||||
if (status !== "all") query = query.eq("status", status as any);
|
||||
|
||||
Reference in New Issue
Block a user