feat(payments): track household payment confirmations

This commit is contained in:
2026-03-10 17:00:45 +04:00
parent fb85219409
commit 1988521931
31 changed files with 4795 additions and 19 deletions

View File

@@ -61,6 +61,7 @@ function repository(
createdAt: instantFromIso('2026-03-12T12:00:00.000Z')
}
],
listPaymentRecordsForCycle: async () => [],
listParsedPurchasesForRange: async () => [
{
id: 'purchase-1',
@@ -71,6 +72,12 @@ function repository(
occurredAt: instantFromIso('2026-03-12T11:00:00.000Z')
}
],
getSettlementSnapshotLines: async () => [],
savePaymentConfirmation: async () =>
({
status: 'needs_review',
reviewReason: 'settlement_not_ready'
}) as const,
replaceSettlementSnapshot: async () => {}
}
}