Adds budget planning capability under Board Planning, allowing HOA boards to model future year budgets with configurable per-year inflation rates. Backend: - New budget_plans + budget_plan_lines tables (migration 014) - BudgetPlanningService: CRUD, inflation generation (per-month preservation), status workflow (planning → approved → ratified), ratify-to-official copy - 8 new API endpoints on board-planning controller - Projection engine (both board-planning and reports) now falls back to planned budgets via UNION ALL query when no official budget exists - Extended year range from 3 to dynamic based on projection months Frontend: - BudgetPlanningPage with monthly grid table (mirrors BudgetsPage pattern) - Year selector, inflation rate control, status progression buttons - Inline editing with save, confirmation modals for status changes - Manual edit tracking with visual indicator - Summary cards for income/expense totals Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
572 B
TypeScript
13 lines
572 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { BoardPlanningController } from './board-planning.controller';
|
|
import { BoardPlanningService } from './board-planning.service';
|
|
import { BoardPlanningProjectionService } from './board-planning-projection.service';
|
|
import { BudgetPlanningService } from './budget-planning.service';
|
|
|
|
@Module({
|
|
controllers: [BoardPlanningController],
|
|
providers: [BoardPlanningService, BoardPlanningProjectionService, BudgetPlanningService],
|
|
exports: [BoardPlanningService, BudgetPlanningService],
|
|
})
|
|
export class BoardPlanningModule {}
|