Files
Investidor-V2/tests/frontend/helpers/irpc-investment-carry-case.mjs
T
2026-11-10 16:17:48 +02:00

35 lines
1.2 KiB
JavaScript

import { investmentCase } from './irpc-investment-case.mjs';
import { prepareInvestmentCarry } from '../../../resources/js/lib/irpc-annual-settlement.ts';
export function investmentCarryCase() {
const c = investmentCase();
c.b = prepareInvestmentCarry(c.d, c.b);
const t = c.b.investmentCredit;
t.startDate = '2022-01-01';
t.carryForward = {
reference:
'SYNTHETIC historical investment/credit record,same project,qualification and rate',
useReconciled: 'yes',
currentState: 'absent',
currentReference: 'SYNTHETIC no realised2026 investment',
};
t.assets = [
{
...t.assets[0],
date: '2025-05-01',
originYear: '2025',
originNuit: t.subjectNuit,
originProject: t.projectReference,
originRate: '5',
originReference:
'SYNTHETIC 2025 CBF15 qualifying credit,same approved project and Maputo city; original value and tax origin',
},
];
t.previousUse = {
state: 'known',
amount: '100',
reference:
'SYNTHETIC actual tax credit use100,all origins reconciled; not simulation history',
};
return c;
}