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

Automatically detect the meaning of a payment. #27

Open
VauteerU opened this issue Oct 20, 2024 · 1 comment
Open

Automatically detect the meaning of a payment. #27

VauteerU opened this issue Oct 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@VauteerU
Copy link

Currently a payment of 300 kr can have two meanings: a quarter payment for labb membership which requires existing ordinary membership, or ordinary family membership. umsme always interprets it as family membership payment which is wrong most of the times.
It would be good if umsme can detect the meaning automatically by checking if an ordinary membership already exists. In that case the 300 kr payment would be a quarter of labb membership. However, the logical condition might be a bit more complicated to be reliable.

@VauteerU VauteerU added the enhancement New feature or request label Oct 20, 2024
@blikstad
Copy link
Member

I think there may be a bug in

true;

should probably be return true;

blikstad added a commit that referenced this issue Dec 6, 2024
Fix to hopefully make detectPotentialLabPayment work properly. 

#27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants