Project

General

Profile

Actions

Patch #24005

closed

Settings to accept 0 hours time entries and for maximum hours per user and day

Added by Helder Manuel Torres Vieira over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Time tracking
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

This patch modifies the existing limitation on the TimeEntry model to enable the introduction of hours with values 0 or superior to 24 hours.

About the limitation for values superior to 24 hours, this is due to having 1 time value based on a concrete day, whereby the maximum hours that are usable per day are 24.

About the limitation to introduce hours with value 0, this is due to the objective of a time entry is to be able to enter a time dedication superior to 0 minutes, for what makes no sense for the users to be able to create this kind of entries.

The patch has been tested on the last Trunk version (15839)


Files

time_entries_day.diff (2.77 KB) time_entries_day.diff Helder Manuel Torres Vieira, 2016-10-05 20:09
time_2.png (36.2 KB) time_2.png Helder Manuel Torres Vieira, 2016-10-05 20:10
time_1.png (46 KB) time_1.png Helder Manuel Torres Vieira, 2016-10-05 20:10
time_3.png (40.2 KB) time_3.png Helder Manuel Torres Vieira, 2016-10-05 20:10
time_4.png (62.6 KB) time_4.png Helder Manuel Torres Vieira, 2016-10-05 20:10
exceed time entry 2nd entry.PNG (42.1 KB) exceed time entry 2nd entry.PNG max time 2nd entry Randa Bustami, 2017-07-26 10:52
exceed time entry.png (23.6 KB) exceed time entry.png max time first entry Randa Bustami, 2017-07-26 10:52

Related issues

Has duplicate Redmine - Defect #26450: user can enter more than 24 hours in the same dayClosed

Actions
Has duplicate Redmine - Feature #1300: Log time control Closed2008-05-26

Actions
Actions

Also available in: Atom PDF