Content
View differences
Updated by Marc Alcobé over 1 year ago
**As a project team member**
**I want to** enter a start and end time when creating time entries
**so that** my company can deliver detailed time sheets for the project controlling and invoicing.
**Use case**
Some customers require detailed time sheets when I bill them. They do not only want to see how long I have been working on a task, but also when I started and ended. Start and end-time can be very important for interventions outside normal business hours, because they are sometimes billed at a higher rate.
**Acceptance criteria**
* Start/End time can be made mandatory per project in Project settings -> Time tracking (renamed)
* There is a default setting for all new projects defined in Administration -> Time and costs -> Settings
* Transform the dialog to Primer and add primer forms.
* Add the fields for start date, start time, finish date and finish time, break time and total worked time.
* The total worked time should be automatically calculated if start and finish time are introduced.
* Break time should always be extracted from the total.
* The user can still manually enter work time by filling the mandatory fields (User, Start date and Total worked time).
* The selection of dates will remain the date flatpicker. For the selection of time the 24h time flatpicker will be user.
* Ensure the dialog includes the fields in all cases:
* Log time from work package
* Log time from _My time spent_ widget in _My page_
* Editing a time logged from the _Time and costs_ reports
* When using the track time functionality inside of a work package add the time when the user clicked the start button as Start time and the stop time when the user Stops the tracking.
* A user can not log time multiple times on the same minute.
* The function will include this new settings:
* Project settings -> Time tracking (renamed from _Time tracking activities_):
* Primarise the page and rename it
* Divide the content in this sections:
* Mandatory fields: settings for allow multi-day log, require exact times and require comments.
* Activities: select which activities can be used
* Maximum log times: input the hour limit per day to log per user.
* Administration settings -> Time and costs -> Defaults (renamed from _Settings_):
* Primarise the page and rename it
* Ensure the title of the page is the same as in the side menu
* Divide the content in two tabs:
* Time: establish the defaults for costs in new projects
* Costs: establish the defaults for costs in new projects
**Out of scope**
* Redesign or improve the times and costs pages.
**Implementation**
* Store start and end date-time in the database (easy for finding double-bookings for a single employee) or store start date-time and duration (easier implementation when start and end time is not used and for migration of existing data) \[?\]
**Figma and visuals**
https://www.figma.com/design/xRFTkBJYxQJxwAf9fd3oM1/Log-time?node-id=310-6194
**I want to** enter a start and end time when creating time entries
**so that** my company can deliver detailed time sheets for the project controlling and invoicing.
**Use case**
Some customers require detailed time sheets when I bill them. They do not only want to see how long I have been working on a task, but also when I started and ended. Start and end-time can be very important for interventions outside normal business hours, because they are sometimes billed at a higher rate.
**Acceptance criteria**
*
* There is a default setting for all new projects defined in Administration -> Time and costs -> Settings
*
* Add the fields for start date, start time, finish date and finish time, break time and total worked time.
* The total worked time should be automatically calculated if start and finish time are introduced.
* Break time should always be extracted from the total.
* The user can still manually enter work time by filling the mandatory fields (User, Start date and Total worked time).
* The selection of dates will remain the date flatpicker. For the selection of time the 24h time flatpicker will be user.
* Ensure the dialog includes the fields in all cases:
* Log time from work package
* Log time from _My time spent_ widget in _My page_
* Editing a time logged from the _Time and costs_ reports
* When using the track time functionality inside of a work package add the time when the user clicked the start button as Start time and the stop time when the user Stops the tracking.
* A user can not log time multiple times on the same minute.
* The function will include this new settings:
* Project settings -> Time tracking (renamed from _Time tracking activities_):
* Primarise the page and rename it
* Divide the content in this sections:
* Mandatory fields: settings for allow multi-day log, require exact times and require comments.
* Activities: select which activities can be used
* Maximum log times: input the hour limit per day to log per user.
* Administration settings -> Time and costs -> Defaults (renamed from _Settings_):
* Primarise the page and rename it
* Ensure the title of the page is the same as in the side menu
* Divide the content in two tabs:
* Time: establish the defaults for costs in new projects
* Costs: establish the defaults for costs in new projects
* Redesign or improve the times and costs pages.
**Implementation**
* Store start and end date-time in the database (easy for finding double-bookings for a single employee) or store start date-time and duration (easier implementation when start and end time is not used and for migration of existing data) \[?\]
**Figma and visuals**
https://www.figma.com/design/xRFTkBJYxQJxwAf9fd3oM1/Log-time?node-id=310-6194