feat: implement F22 period financing and asset agendas in isolated QA

This commit is contained in:
2026-11-21 11:55:43 +02:00
parent 6b91fd2bcd
commit 1950bb69ec
35 changed files with 2298 additions and 61 deletions
+3 -1
View File
@@ -121,7 +121,9 @@ function assertForecastReconciles(forecast: Forecast): void {
cents(String(row.operatingPayments)) -
cents(String(row.payrollPayments)) -
cents(String(row.interestPayment)) -
cents(String(row.principalRepayment));
cents(String(row.principalRepayment)) +
cents(row.newBorrowings ?? '0') -
cents(row.assetAcquisitions ?? '0');
if (netCashFlow !== cents(String(row.netCashFlow)))
throw new Error(
'O fluxo líquido mensal não reconcilia com recebimentos e pagamentos.',