When renewing an existing membership - the user is given an input field for "Date Renewal Entered" (renewal_date). This field defaults to current date. It is used to calculate new Start and End Dates for the membership IF the membership status is NOT is_current = TRUE.
Currently - the date value submitted by the form is IGNORED - and the current date is always used. This is a bug. If the user enters a prior date - that date should be used to calculate the new membership period for expired memberships.
- Find an expired membership
- Click renew, and modify "Date Renewal Entered" to be the day after the End Date displayed on the form.
You will see that the new calculated End Date will be Today + membership period. It SHOULD be "Date Renewal Entered" + membership period.