mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
f9c1b8af44
Root cause: accounting.transactions (deposits, transfers, bank payments) never posted to the GL, and the GL's cash came only from synthesized legs that hard-coded Undeposited Funds. So the balance sheet ignored transfers (#1) and showed directly-deposited funds as Undeposited (#2), with banks going negative. - Post the bank register to the GL: customer receipt -> Dr bank/Cr A/R, vendor payment -> Dr A/P/Cr bank, categorized -> Dr/Cr bank+COA, transfer -> Dr dest/ Cr source, deposit -> Dr bank/Cr Undeposited; payments_received -> Undeposited. Retire the synthesized invoice/bill cash legs (acmacc_invpay/billpay) so cash is sourced once, from the register. Triggers on transactions/deposits keep it live. - Fix gl_managed: make it an explicit accounting.companies.gl_auto_post flag instead of inferring from null-source journal entries (a single manual journal entry had silently disabled all automation for Ashley Manor). Verified (Ashley Manor): transfer reflected (Cogent +47,127 vs prior -3,521), deposits land in BOA (Undeposited cleared), R1=0, R7=0, no negative banks. Imported companies (Bridgewater/Bent Oak) untouched; their residuals stay surfaced in the Reconciliation report. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>