Currently, CiviCRM does not set membership start date automatically when the form is loaded. When the payment plan is selected without membership start date entered, today date will be used by default, but membership start date is still left empty, and it can be confused. This PR fixes that.
This PR also changes the API request on the payment plan template to exclude the end date from the request because the end date shall be calculated automatically based on membership type and to avoid, user to input incorrect membership end date.
Before
Start date is not set when the payment schedule is generated.
End date can be passed to API.
After
Start date is always set when the payment schedule is generated.
Overview
Currently, CiviCRM does not set membership start date automatically when the form is loaded. When the payment plan is selected without membership start date entered, today date will be used by default, but membership start date is still left empty, and it can be confused. This PR fixes that.
This PR also changes the API request on the payment plan template to exclude the end date from the request because the end date shall be calculated automatically based on membership type and to avoid, user to input incorrect membership end date.
Before
After