airajena opened a new pull request, #5340:
URL: https://github.com/apache/fineract/pull/5340

   ## Description
   
   Allow annual charge payments to be made on or after the due date instead of 
only on the exact due date.
   
   ## Changes
   
   - Modified `SavingsAccount.payCharge()` validation to allow transactions on 
or after due date
   - Updated error code from `invalid.date` to `transaction.before.dueDate` for 
clarity
   
   ## Rationale
   
   In reality, charges are often deposited on savings accounts after their due 
date due to weekends, holidays, or processing delays. The system should allow 
payment at or after the due date, while still preventing early payments.
   
   ## Testing
   
   - Verified compilation succeeds
   - Logic change is minimal and targeted
   
   Fixes FINERACT-2155


-- 
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]

Reply via email to