kushwanth-masupalli opened a new pull request, #5634: URL: https://github.com/apache/fineract/pull/5634
## Description This PR resolves a TODO comment in GLClosureWritePlatformServiceJpaRepositoryImpl. Previously the code used DateUtils.isDateInTheFuture() to validate the closure date. The TODO suggested replacing this with tenant specific business date validation. This change retrieves the tenant business date using DateUtils.getBusinessLocalDate() and validates that the closure date is not after the business date. The TODO comment has been removed after implementing the fix. ## JIRA Ticket FINERACT-2515 ## Steps to Test 1. Create a GL closure request with a future date. 2. Verify the system throws GLClosureInvalidException. 3. Verify closure dates after the tenant business date are rejected. ## Notes This change ensures date validation respects tenant business dates instead of relying on system date. -- 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]
