Introduction
The declarable property of timesheet events should be a percentage rather then the boolean it is now. The timesheet reports that show declarable versus undeclarable events should now instead show the resulting declarable time: time * declarable%.
Implementation
The assumption is that <X-OPS-DECLARABLE> in <VEVENT> is either a
boolean (legacy) or a
integer [0,100].
Legacy boolean values are rewritten to an integer in
ops_project.TimesheetXMLReader.parse() (this is where project names are added).
Also in
ops_project.TimesheetXMLReader a extra element
X-OPS-DECLARABLE-DURATION is added, making computation easier. The value for X-OPS-DECLARABLE-DURATION is duration * declarable * 0.01
The full description of the report before styling:
ReportSchema.
Reports
Project:
Person:
timeframe:
| Type |
Hours |
| Declarable |
1822:20 |
| Undeclarable |
200:00 |
| Total |
2022:20 |
Project:
Person:
timeframe:
Also a summary servicedesk report should be generated like this:
Estimates
| task |
hours |
todo |
| rewrite legacy declarable to percentage |
4 |
0 |
| basic |
4 |
0 |
| projects total |
4 |
0 |
| project + project refactor |
4 |
0 |
| servicedesk |
4 |
0 |
| Total |
20 |
0 |
Discussion
- For 'project', that is the detailled project report see EnableProjectReportWithEstimates, double column per week: declarable & undeclarable (this week, this task)?
--
IvanaCace - 23 Oct 2008
Topic revision: r10 - 10 Nov 2008 - 17:07:50 -
IvanaCace