-
Notifications
You must be signed in to change notification settings - Fork 0
ItEr77S07PersonalTimesheetsPeriodictyConfiguration
TWiki> LibrePlan Web>ItEr77S07PersonalTimesheetsPeriodictyConfiguration (11 Sep 2012, ManuelRego)EditAttach
Story summary | Personal Timesheets Periodicty Configuration |
Iteration | ItEr77Week34To44 |
FEA | ItEr77S07PersonalTimesheetsPeriodictyConfiguration |
Story Lead | |
Next Story | |
Passed acceptance test | No |
Acceptance Criteria
Additional Specification Comments
Implementation Notes
Created a remote branch called personal-timesheets-periodicity
to work in these tasks.
From now on in the UI the users will see personal timesheet instead of monthly timesheet as they could change the periodicity.
Liquibase change for the work report type has been added too.
No refactorings in the source code names have been done so far.
Add new attribute in Configuration
class, using a enum to store the different periodicity options.
Add option in configuration window.
Disable option if there's any personal timehseet already stored in the DB.
-- ManuelRego - 27 Aug 2012
The list of personal timesheets in the user dashboard has been changed to take into account the periodicity.
The format to represent a personal timesheet depending on the periodicity is:
- Monthly: July 2012, August 2012, ..., January 2013, ...
- Twice monthly: July 2012 1st fortnight, July 2012 2nd fortnight, August 2012 1st fortnight, ..., January 2013 1st fortnight, ...
- Weekly: Week 30 (July 2012), Week 31 (July - August 2012), ..., Week 1 (December 2012 - January 2013), ...
Most of the methods that need to be changed delegates its behavior in the new enum PersonalTimesheetsPeriodicityEnum
, which is in charge to calculate the start and end of a personal timesheet depending on the periodicity and so on.
The UI to edit a personal timesheet has been adapted to work correctly depending on the periodicity. Again trying to delegate as much as possible in PersonalTimesheetsPeriodicityEnum
.
Also the option to create a personal timesheet from work reports window has been reviewed and adapted accordingly.
Moreover, the source code has been refactored in order to change monthly timesheet for personal timesheet in order to avoid misunderstandings in the future.
-- ManuelRego - 28 Aug 2012
Delay Causes
Final or Pending Considerations
%RPSHOWGITCOMMITS%
Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.