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

Only make check for minimum price if activity is ending in the future #1059

Conversation

mhewel
Copy link
Contributor

@mhewel mhewel commented Jun 5, 2024

No description provided.

Copy link
Contributor

@rasmusselsmark rasmusselsmark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ser korrekt ud

@lakridserne
Copy link
Contributor

Dejligt at denne er lavet på modellen, sådan at vi altid kan bruge denne funktion.

Copy link

what-the-diff bot commented Jun 17, 2024

PR Summary

  • Enhanced Minimum Amount Calculation
    The changes made in this pull request address an oversight in our minimum amount calculations for activities. Previously, the ending date of an activity wasn't taken into account while determining minimum amounts. With the updated changes, the system will now check if an activity's ending date has crossed and adjust the minimum required amount based on the type of the activity. This helps ensure that the minimum amounts are accurately calculated according to the current status of the activity.

@lakridserne lakridserne merged commit 3d04e5b into master Jun 17, 2024
5 checks passed
@lakridserne lakridserne deleted the 1058-bugerror-500-ved-ændring-af-en-addresse-for-en-aktivitet-der-har-for-lav-pris branch June 17, 2024 18:42
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.

[BUG]Error 500 ved ændring af en addresse for en aktivitet der har for lav pris
3 participants