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

Internal price of a time record with a duration of 0 minutes should be € 0 but equals the internal hourly (!) rate instead. #4801

Open
3 tasks done
EduNetEurope opened this issue Apr 17, 2024 · 0 comments
Labels

Comments

@EduNetEurope
Copy link

Describe the issue

Since filtering between timesheets and expenses is currently not possible, we follow @kevinpapst's advice and use a specific activity for expenses.

As a result, we have records with a duration of 0 minutes and a fixed price.
Unfortunately, kimai miscalculates the internal price if the duration is 0 minutes. It uses the internal rate of a full hour and we have not found a way to change it.

If the duration is one minute or more, the internal price is calculated correctly as a fraction of the internal hourly rate.

I already tried

Kimai version

2.96

How do you run Kimai?

Other (please mention below)

Which PHP version are you using?

Unknown

Logfile

No response

Screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant