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 (charge models): adjust volume charge model logic #1699

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

lovrocolic
Copy link
Collaborator

Context

If aggregation amount is the number between two tiers, currently the error is thrown.

Description

Tiers:
0 -> 5
6 -> 10
11 -> nil

If aggregation result is 5.5, we should apply second tier values.

@lovrocolic lovrocolic changed the title fix volume charge model logic fix (charge models): adjust volume charge model logic Feb 15, 2024
@lovrocolic lovrocolic merged commit ff33025 into main Feb 16, 2024
6 checks passed
@lovrocolic lovrocolic deleted the fix-volume-charge-model-logic branch February 16, 2024 09:10
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