feat(accounts): preview and confirm cross-year balance corrections (U12)

This commit is contained in:
2026-11-02 19:28:30 +01:00
parent 4d0d5c8d88
commit 45fe327840
13 changed files with 158 additions and 57 deletions
@@ -8,8 +8,10 @@ public interface IAccountService
Task<List<AccountSummaryDto>> GetAllAccountsAsync(int? year);
Task<AccountSummaryDto> GetAccountAsync(int accountId);
Task<AccountSummaryDto> CreateAccountAsync(string name);
Task<AccountSummaryDto> CreateAccountAsync(string name, decimal initialBalance);
Task RenameAccountAsync(int accountId, string newName);
Task UpdateCarryoverAsync(int accountId, decimal carryoverBalance);
Task UpdateCarryoverAsync(int accountId, decimal carryoverBalance, int? year);
Task CorrectCarryoverAsync(int accountId, decimal value, int? year, decimal expectedCarryover, decimal expectedInitial);
Task DeleteAccountAsync(int accountId);
}