Apply Credits Feature Summary
Overview
The Apply Credits feature allows admins to apply account credits to single event purchases.
Behavior
+ Ensure all other customer information is populated in surrounding inputs.
+ If the customer has available account credits, display the Apply Account Credits section with balance displayed.
+ Ensure admins can select credits and enter a flat value.
+ Validate that the selected credit amount does not exceed the available account credit balance.
+ Ensure the Apply Credits button becomes active when selecting or entering credits.
+ Populate the selected credits line item with the selected amount and maximum applicable line item with the max amount that can be applied to the order.
+ Re-contained UI.
+ Populate the credits applied line item under the order summary.
Transaction Flow