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

Activities with fixed rate are set to 0 € in timesheet #1221

Open
JayAige opened this Issue Jul 2, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@JayAige

JayAige commented Jul 2, 2018

System: 1 Admin, several Users (in the meaning of global roles)
This issue concerns activities with fixed rates. I made some activities with fixed rates (f.e. day rates) and assigned them to different projects.

Expected behaviour

When an user (global role) enters an activity with fixed rate in the timesheet, the amount is set to 0.00 € despite there is a fixed rate set for the activity and for the project correlated activity.

Actual behaviour

The formerly set fixed rate should show up at the amount field instead of 0.00 €.

Steps to reproduce

Enter a fixed rate activity with an global role "user" account for any kind of project.

Reproducible on demo.kimai.org? [yes|no]

yes

Kimai version [for example: dev 1.1.0.1389|github master|github develop]

Kimai 1.3.1.1394

Relevant log entries from log file (debug tab or temporary/logfile.txt)

none

@JayAige

This comment has been minimized.

JayAige commented Jul 2, 2018

I did some research about this problem and found some kind of a solution for this problem:

Go to 'Admin Panel' -> 'Global rules' -> Edit the 'User' global rule -> 'Timesheet'
Here a flag for 'edit rates' must be set.

After the user got the permission to edit rates, the formerly entered fixed value for the activity is correctly shown for future entries and stored for the amount value in the timesheet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment