f210b05beb9ff118fea8bf352311df554fe5d283
The forecast was counting money twice: operating used asset accounts while reserve used equity accounts, but both sides of the opening balance journal entry represent the same funds. Changed all cash balance queries (current, opening, and historical) to use asset accounts (debit - credit) for both operating and reserve. Also fixed a LEFT JOIN bug where date filters on journal_entries didn't prevent journal_entry_lines from being summed, causing opening balances to include all entries regardless of date. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
HOA Financial Intelligence Platform - Multi-tenant financial management for homeowner associations
Languages
TypeScript
97.6%
Shell
1.8%
PLpgSQL
0.2%
Dockerfile
0.2%
HTML
0.1%