wip(qa): preserve package one pending functional acceptance
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import { displayValue } from './display-value.ts';
|
||||
import {
|
||||
buildIntegralFinancialTables,
|
||||
type InvestmentReportTable,
|
||||
} from './integral-financial-report.ts';
|
||||
import { restoreBusinessPlanSnapshot } from './business-financial-plan.ts';
|
||||
import { fiscalQaRows } from './fiscal-qa-preview.ts';
|
||||
import { pathStates } from './investor-path.ts';
|
||||
import {
|
||||
@@ -60,6 +65,7 @@ export type DossierReportRow = {
|
||||
classification: string;
|
||||
};
|
||||
export type DossierReportSection = {
|
||||
tables?: InvestmentReportTable[];
|
||||
id: DossierReportSectionId;
|
||||
title: string;
|
||||
private: boolean;
|
||||
@@ -512,6 +518,11 @@ function makeSections(
|
||||
}
|
||||
|
||||
const finance = sections.get('finance');
|
||||
const financialPlan = restoreBusinessPlanSnapshot(
|
||||
text(draft, 'business_plan_snapshot'),
|
||||
);
|
||||
if (finance && financialPlan?.reportAssumptions)
|
||||
finance.tables = buildIntegralFinancialTables(financialPlan);
|
||||
if (
|
||||
finance &&
|
||||
['fiscal_rule_qa_preview', 'fiscal_rule_published'].includes(
|
||||
|
||||
Reference in New Issue
Block a user