Comments (4)
I fixed it (hopefully) in version 1.9.31.3536.
from timetracker.
Closing as the issue appears resolved.
from timetracker.
Seems like it worked perfectly! Thank you!
I'm just wondering, is it supposed to copy the value from Default Hourly Rate
field?
Because if that is empty when I toggle the project on/off the field for Project Rate
does not change. Only when the default rate has a value, and still then it's always zero.
from timetracker.
Look at the getRate() function in WEB-INF/templates/user_edit.tpl
// getRate - returns a rate for the project. If rate was set for user previously we'll get this old rate
// if project time entries for user exists. Otherwise return user default rate.
function getRate(project_id) {
var length = project_rates.length;
for(var i = 0; i < length; i++) {
if(project_rates[i][0] == project_id) {
return project_rates[i][1];
}
}
var default_rate = document.userForm.rate.value;
return default_rate;
}
from timetracker.
Related Issues (20)
- Line No. 409 in DateField.class.php is crashing the PHP/Apache Server (Reports Menu) HOT 1
- Suggestion: Move users between groups HOT 3
- Trying to get in touch regarding a security issue HOT 6
- Enable ',' input to the duration field HOT 3
- PHP7 since which version? HOT 1
- [BUG] Incorrect visualization in Reports with disabled projects HOT 1
- Suggestion: Chart whole group HOT 1
- [Feature Request] Flag to let disable projects be available in the Reports page HOT 2
- [BUG] Disabling projects deletes correlation to assigned client HOT 4
- [Feature Request] Remove flag "Costs" from Reports page for normal user
- [Feature Request] Allow diffrent hourly rate depending on task HOT 1
- [HELP]Can't find php.ini while trying to expand the upload file size HOT 1
- [Feature Request] Put client association into projects settings HOT 3
- Updating User cause Fatal Error (500) - Javascript handleClientRole issue on user_edit.php HOT 6
- [BUG] Unable to set hours on Monday while using Weekly view HOT 6
- [BUG] Access Denied as a top manager when switching user from Weekly View HOT 1
- [BUG] Favorite reports missing when selecting another user as a manager / top manager HOT 4
- Uncaught db error if task description is too long
- Clicking on reports give error 500 HOT 1
- Site dark? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timetracker.