feat(qa): complete market milestones and personnel report tables
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { displayValue } from './display-value.ts';
|
||||
import { buildComplementaryTables } from './complementary-report.ts';
|
||||
import {
|
||||
buildIntegralFinancialTables,
|
||||
displayReportMoney,
|
||||
@@ -523,6 +524,11 @@ function makeSections(
|
||||
const financialPlan = restoreBusinessPlanSnapshot(
|
||||
text(draft, 'business_plan_snapshot'),
|
||||
);
|
||||
const complementaryTables = buildComplementaryTables(draft, financialPlan);
|
||||
for (const [i, id] of ['market', 'execution', 'team'].entries()) {
|
||||
const section = sections.get(id as DossierReportSectionId);
|
||||
if (section) section.tables = [complementaryTables[i]];
|
||||
}
|
||||
if (finance && financialPlan?.reportAssumptions) {
|
||||
finance.tables = buildIntegralFinancialTables(financialPlan);
|
||||
const periods = financialPlan.periods ?? 12;
|
||||
|
||||
Reference in New Issue
Block a user