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

Feature request: define amount by member type in new and renewal form #17292

Closed
daraelmin opened this issue Apr 16, 2021 · 0 comments · Fixed by #17451
Closed

Feature request: define amount by member type in new and renewal form #17292

daraelmin opened this issue Apr 16, 2021 · 0 comments · Fixed by #17451
Labels
Feature request This is a feature request

Comments

@daraelmin
Copy link
Contributor

daraelmin commented Apr 16, 2021

Feature Request

[Short description]

Use case

Send a member a link to renew his subscription. If the amount has changed the amount should be the new one not the latest.
If the member change his type, the new amount should be set to for this type.

Suggested implementation

#17194 NEW option to select membership type on the online payment page for membership subscription or renewal

was canceled by commit

ce1a257 Fix remove a setup that should not exists. Info is already into a table

So I suggest to add add a new field "amount" in llx_adherent_type as the info doesn't really exist in table llx_subscription.
htdocs/install/mysql/tables/llx_adherent_type.sql

Trying to retrieve the amount fron llx_subscription won't always work as the amount from subscription is a record from the past. How should we process when we offer new adherent type ? Or when the subscription amount is changed ?
htdocs/install/mysql/tables/llx_asubscription.sql

@daraelmin daraelmin added the Feature request This is a feature request label Apr 16, 2021
eldy added a commit that referenced this issue May 3, 2021
NEW #17292 default subscription amount by adherent type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request This is a feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant