When editing a membership with no existing payments, checking the box to record payments results in a total amount of NaN.N
Overview
When editing a membership with no existing payments, checking the box to record payments results in a total amount of NaN.N
Reproduction steps
- Find or create a new membership of a paid type without recording any payment / contribution
- As an admin, edit the membership
- Check the box "Record Membership Payment?"
Current behaviour
The "Amount" Text box shows NaN.N
Expected behaviour
Based on the most likely use case we could come up with (unapproved membership is being paid for and moved to an approved status), should show the amount for 1 term of the current membership
Environment information
- Browser: Any browser
- CiviCRM: 5.36.0+ (Worked in 5.35.1)
Comments
Reproduced on dmaster before reporting
Related issue #2543 (closed) (#632 (closed) shows the same symptom, but has an entirely different cause that should already be working)
PR is incoming. Agileware Ref CIVICRM-1718