Issue #238 Membership Discount not applied.
Created by: chamilwijesooriya
- Create a discount for membership
- Go to Membership > New Membership
- Select contact and set membership type to that used in 1.
- Note the amount under the Membership Payment and Receipt section
- Enter the discount code and Apply
- Note that membership type changes to eg "General (Includes applied discount code SummerSpecial: 25%)" but the Amount is unchanged
Observed on dmaster.demo (5.5.alpha1) and 5.2.1
Discount is applied and changed in Amount text field.
Unset submitted form value 'total_amount' in membershipTypeValues hook.