mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
2fd311c8a2
- Opening balances now post a single "Opening Balances" journal entry to the GL (migration applied to prod), scoped to managed companies (imported-GL associations already carry theirs). Triggers on opening_balances / opening_balances_setup keep it in sync; Ashley Manor backfilled. - Balance Sheet: read balances from the GL only (drop the separate opening add, which also double-counted imported companies). - Trial Balance: compute balances from journal_entry_lines as of the report date (was accounts.balance). - General Ledger report: read from journal_entry_lines (was transactions); opening rolls in from the GL. All four reports now share one source. Verified Ashley Manor TB balances (debits = credits = $90,073.23) with opening cash (BOA +$47,304.31) flowing through. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>