fix: preserve transversal regression contracts and lock budget during confirmation
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-11-15 19:12:36 +02:00
parent fb076c174f
commit bd000d04d2
8 changed files with 57 additions and 23 deletions
@@ -14,7 +14,10 @@ import { createProjectDossierReport } from '../../resources/js/lib/project-dossi
void test('cashflow draft recovery preserves unanswered months and invalid editable values without using zero', () => {
const inputs = {
...defaultCashflowDraftInputs(),
openingCash: '77.01',
monthlyOperatingCosts: '0', monthlyDebtService: '0',
vatCreditEstimated: '0', vatRefundRequested: '0',
vatRefundRecognized: '0', vatRefundExpectedReceipt: '0',
openingCash: '77.01', monthlyRevenue: '0',
monthlyTaxSchedule: ['10', '', '20', ...Array(9).fill('0')],
};
const stored = serializeCashflowDraftSnapshot('schedule', inputs, 'MZN');