15 lines
516 B
JavaScript
15 lines
516 B
JavaScript
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;
|
|
}
|