mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
aa94622a78
The auto-provision effect could fire twice and create duplicate "Current Year Earnings" accounts (seen on Village Grove). Use the idempotent coa_get_or_create RPC with a once-per-company ref guard, and match existing name variants (Current Year Income / Net Income / Retained Earnings) so it won't create redundant accounts. Balance sheet now also folds "Current Year Income"/"Net Income" equity accounts into the Net Income line. Removed the existing Village Grove duplicate (zero activity). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>