Monthly Actuals — Option A:
- Replace operating cash account offset with per-fund equity account clearing
- Equity accounts 3000/3100 now absorb the net P&L from actuals entries
- Cash account is never touched by monthly actuals, eliminating the balance
discrepancy that required manual cash adjustments
- Per-fund routing: operating income/expense clears to 3000, reserve to 3100
- Falls back gracefully if only one equity account exists
Scenario Activation (Issue 4):
- updateScenario now accepts userId and triggers materialisation when
status transitions to 'active'
- Each pending scenario investment is created as a real investment_accounts
record dated to its purchase_date (future dates are supported)
- Journal entries are posted at the purchase_date using the fund's primary
cash account and equity offset (matching manual account creation)
- Rollover detection: if an existing active investment matures within 7 days
of the new investment's purchase_date and shares the same fund_type, the
system creates a maturity JE (proceeds → cash) and a reinvestment JE
(cash → new CD) rather than a fresh cash deduction, then retires the
source investment
- Per-investment failures are logged but do not abort the rest of the batch
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Refresh Recommendations now shows inline processing banner with
animated progress bar while keeping existing results visible (dimmed).
Auto-scrolls to AI section and shows titled notification on completion.
- Investment recommendations now auto-calculate purchase and maturity
dates from a configurable start date (defaults to today) in the
"Add to Plan" modal, so scenarios build projections immediately.
- Projection engine computes per-investment and total interest earned,
ROI percentage, and total principal invested. Summary cards on the
Investment Scenario detail page display these metrics prominently.
- Replaced dropdown action menu with inline Edit/Execute/Remove
icon buttons matching the assessment scenarios pattern.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When adding a multi-stage investment strategy (e.g. CD ladder) from AI
recommendations to a board planning scenario, all component investments
are now created as separate rows instead of collapsing into a single
investment. The AI prompt now instructs inclusion of a components array,
the backend loops through components to create individual scenario
investments, and the frontend passes and displays component details.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>