alberto-art3ch commented on PR #6201: URL: https://github.com/apache/fineract/pull/6201#issuecomment-6102148836
> @alberto-art3ch Gentle reminder @adamsaghy sorry for the delay, agreed and done: interest calculation no longer lives in the entities. SavingsAccountInterestCalculationService (savings) and DepositAccountInterestCalculationService (fixed/recurring maturity, premature closure and maturity interest) compute the posting periods from the account's state and hand the results to the entity, which only stores them; SavingsHelper is no longer passed into any entity method. The transaction-summary totals (SavingsAccountSummary → SavingsAccountTransactionSummaryWrapper) follow the same pattern but touch every entity mutation that refreshes the summary (deposit, withdraw, escheat, close…), so I'll address them in a follow-up PR to keep this one reviewable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
