diff --git a/src/pages/accounting/AccountingDashboardPage.tsx b/src/pages/accounting/AccountingDashboardPage.tsx index 80b92cc..b378b71 100644 --- a/src/pages/accounting/AccountingDashboardPage.tsx +++ b/src/pages/accounting/AccountingDashboardPage.tsx @@ -71,7 +71,7 @@ export default function AccountingDashboardPage({ association }: { association?: accounting.from("bills").select("total,status,issue_date").eq("company_id", cid), accounting .from("transactions") - .select("amount,type,date,description,category,reference") + .select("amount,type,date,description,category,reference,payee_name,vendors(name),customers(name)") .eq("company_id", cid) .gte("date", from) .lte("date", to) @@ -376,6 +376,7 @@ export default function AccountingDashboardPage({ association }: { association?: Date Description + Payee / Payor Category Reference Amount @@ -386,6 +387,7 @@ export default function AccountingDashboardPage({ association }: { association?: {fmtDate(t.date)} {t.description} + {t.vendors?.name ?? t.customers?.name ?? t.payee_name ?? "—"} {t.category ?? "—"} {t.reference ?? "—"}