diff --git a/src/pages/accounting/AccountingDashboardPage.tsx b/src/pages/accounting/AccountingDashboardPage.tsx index b378b71..34d07b6 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,payee_name,vendors(name),customers(name)") + .select("amount,type,date,description,category,reference,vendors(name),customers(name)") .eq("company_id", cid) .gte("date", from) .lte("date", to) diff --git a/src/pages/accounting/AccountingReconcileDetailPage.tsx b/src/pages/accounting/AccountingReconcileDetailPage.tsx index 110b139..57a1d5e 100644 --- a/src/pages/accounting/AccountingReconcileDetailPage.tsx +++ b/src/pages/accounting/AccountingReconcileDetailPage.tsx @@ -150,7 +150,7 @@ export default function AccountingReconcileDetailPage() { // and not voided. const { data } = await accounting .from("transactions") - .select("id,date,description,reference,amount,type,cleared,reconciliation_id,voided,payee_name,vendors(name),customers(name)") + .select("id,date,description,reference,amount,type,cleared,reconciliation_id,voided,vendors(name),customers(name)") .eq("account_id", accountId) .is("reconciliation_id", null) .eq("voided", false)