mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
Owner Ledger notes: show notes to homeowners
Reverts the homeowner-facing exclusion — ledger notes now appear on the homeowner ledger and statements views as intended. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,6 @@ export default function HomeownerLedgerPage() {
|
||||
.from("owner_ledger_entries")
|
||||
.select("*")
|
||||
.eq("is_archived", false)
|
||||
.neq("transaction_type", "note") // internal staff notes are not shown to owners
|
||||
.order("date", { ascending: false });
|
||||
|
||||
const [ledgerRes, ownersRes] = await Promise.all([
|
||||
|
||||
@@ -41,7 +41,6 @@ export default function HomeownerStatementsPage() {
|
||||
const ledgerQuery = supabase
|
||||
.from("owner_ledger_entries")
|
||||
.select("id, date, created_at, description, transaction_type, debit, credit")
|
||||
.neq("transaction_type", "note") // internal staff notes are not shown to owners
|
||||
.order("date", { ascending: true })
|
||||
.order("created_at", { ascending: true });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user