forked from arkhitech/redmine_timesheet_plugin
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
round timesheet totals to the nearest integer if the difference to th…
…e nearest integer is less than 0.05. sometimes users enter spent_time of 20 minutes, which is 0.33 hours and 3 times 0.33 otherwise sums to 0.99. also improved the summation algorithm by first collecting numbers in an array and using enumerable.sum. fix allowed projects nil error when deleting timesheet entry by adding return after redirect. reformat print style css
- Loading branch information
Showing
2 changed files
with
36 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters