Payment Distribution Options Feature Summary
Overview
The feature enhances the "Apply Account Credits" modal within the Payment Plan Details view to include a payment distribution modal. Admins can control how credits are applied across the plan.
Behavior
When applying account credit, admins see a payment distribution modal with two options:+ Distribute evenly across plan
+ Distribute chronologically
The selected distribution logic is applied correctly to the payment plan.The modal is accessible only when account credit is available and credit mode is enabled.Scenarios
Admin selects "Distribute evenly across plan" from the dropdown, and the system applies the credit evenly across all installments.Admin selects "Distribute chronologically" from the dropdown, and the system applies the credit starting from the earliest unpaid installment.