Completar combinação CBF15 com saldos anteriores e conferir PEC residual
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-11 07:35:04 +02:00
parent 67cd583b94
commit 9c067d6ae8
10 changed files with 357 additions and 18 deletions
@@ -0,0 +1,14 @@
import { economicCase } from "./irpc-economic-case.mjs";
import { investmentCarryCase } from "./irpc-investment-carry-case.mjs";
import {
prepareInvestmentCarry,
} from "../../../resources/js/lib/irpc-annual-settlement.ts";
export function combinedCase() {
const c = economicCase(true);
c.b = prepareInvestmentCarry(c.d, c.b);
c.b.investmentCredit = structuredClone(
investmentCarryCase().b.investmentCredit,
);
c.b.investmentCredit.assessmentKey = c.b.assessmentKey;
return c;
}