Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX suggested end for membership can be before subscription start #26351

Merged
merged 3 commits into from
Oct 26, 2023

Conversation

daraelmin
Copy link
Contributor

@daraelmin daraelmin commented Oct 24, 2023

MEMBER_SUBSCRIPTION_SUGGEST_END_OF_YEAR and MEMBER_SUBSCRIPTION_SUGGEST_END_OF_MONTH should be based on the subscription start date, not on the creation date

For example when a member renew his membership on december 2023 for year 2024, the adhesion date is set to the end of the last subscription (for instance 01.01.2024), but, with the actual code, the creation date is suggested to be the last of the current year (31.12.2023) wich is wrong

MEMBER_SUBSCRIPTION_SUGGEST_END_OF_YEAR and MEMBER_SUBSCRIPTION_SUGGEST_END_OF_MONTH should be based on the subscription start date, not on the creation date
@daraelmin daraelmin changed the title FIX suggested end for membership can be in the past FIX suggested end for membership can be before subscription start Oct 25, 2023
@eldy eldy merged commit a815c99 into Dolibarr:18.0 Oct 26, 2023
3 checks passed
@daraelmin daraelmin deleted the daraelmin-patch-1 branch October 26, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants