Files
acmcc/supabase
admin 3ab016fc57 Accounting: post locally-entered bank transactions to the GL (import mode)
Import-mode companies pull their GL from Buildium, so transactions entered
directly in Banking/Reconciliation never reached the GL — they reconciled but
were missing from GL-based reports (P&L etc.). This is why Bent Oak's May P&L
was missing Bank Interest and understated expenses.

- post_transaction_gl no longer gates on gl_managed; it posts any transaction
  that isn't voided, Buildium-sourced (journal_entry_line_id set), frozen
  (exclude_from_gl), a transfer/deposit leg, or missing an account/counter
- New accounting.transactions.exclude_from_gl flag freezes pre-existing manual /
  duplicate register rows on already-tied books so they can't double-post
- One-time data ops: linked all Buildium-sourced register rows to their GL bank
  line; froze remaining pre-existing manual rows for Bridgewater/Casuarina/
  Village Grove (ambiguous, would risk double-count); posted Bent Oak's 4
  verified-missing operating items. Bent Oak GL stays balanced.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 12:15:59 -04:00
..