Commit graph

8257 commits

Author SHA1 Message Date
Diego Pino
8f8d74cadc Refactoring: Create class CriticalPathBuilder
Move code in MonteCarlo for building CriticalPath to another file

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 21:31:08 +02:00
Diego Pino
1021a8770f Fix bug: Cannot render GlobalProgress Chart
String.format caused a syntax error in Javascript. Depending on
the locale settings a double could be formatted as "X,YY" instead
of "X.YY", as expected.

Use Local.ROOT to force doubles to be formatted as "X.YY"

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 19:28:05 +02:00
Diego Pino
33f39407bf Fix bug: Tomcat cannot load resource file
Tomcat cannot load resource file stored inside jqplot4java JAR. Used
Spring resource loader instead.

See:
http://stackoverflow.com/questions/4284014/java-getresourceasstream-jar-inside-war

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 19:28:05 +02:00
Manuel Rego Casasnovas
5506482e42 Bug #1454: Force update task size after reassignations
FEA: ItEr76S04BugFixing
2012-06-07 18:32:43 +02:00
Manuel Rego Casasnovas
b51814bc46 Bug #1459: Fix order of columns in OrderElementBandboxFinder renderer
FEA: ItEr76S04BugFixing
2012-06-07 16:59:35 +02:00
Manuel Rego Casasnovas
4864f50842 Add constraint to check that in a personal expense sheet the resource is the same in all the lines
A personal expense sheet is associated just to one resource and all the lines
have to be the same resource set.

Moreover, the resource cannot be null.

FEA: ItEr76S28UserDashboard
2012-06-07 16:44:19 +02:00
Manuel Rego Casasnovas
85c06275d4 Revert "Add restriction to prevent remove all the lines in a personal expense sheet"
This reverts commit 290c7dfb5b.

This is not needed as there's already an annotation @NotEmpty in
expenseSheetLines. So it's mandatory for all the ExpenseSheet having at least
one ExpenseSheetLine.

FEA: ItEr76S28UserDashboard
2012-06-07 16:41:46 +02:00
Manuel Rego Casasnovas
56c2c78344 Fix typo in GET parameter for saved timesheets
FEA: ItEr76S28UserDashboard
2012-06-07 12:13:08 +02:00
Manuel Rego Casasnovas
81fc87beb2 Add button to delete personal expense sheet
FEA: ItEr76S28UserDashboard
2012-06-07 12:02:37 +02:00
Manuel Rego Casasnovas
49ecc85aef Add type information in expenses sheet list and form
FEA: ItEr76S28UserDashboard
2012-06-07 11:33:13 +02:00
Manuel Rego Casasnovas
bf1553829f Allow to sort monthly timesheest in user dashboard
Moved internal class MonthlyTimesheet to a proper file and renamed to
MonthlyTimesheetDTO.

In MonthlyTimesheetDTO all the data showed in the list will be precalculated.

FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
bf0f733b90 Sort expenses area list
Allow to sort the list of personal expenses by the different columns.

FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
429a3b39d8 Add class to highlight clickable rows in user dashboard
FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
58e9a6d96c Add button to edit personal expense sheet from user dashboard
Modify behavior of ExpenseSheetCRUDController to redirect to user dashboard if
creation or edition comes from there.

FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
8b4707d829 Show list of personal expense sheets
FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
290c7dfb5b Add restriction to prevent remove all the lines in a personal expense sheet
A personal expense sheet is bound to a resource, and the resource is specified
in the lines. So, if user removes all the lines we'll be losing that
relationship.

FEA: ItEr76S28UserDashboard
2012-06-07 08:00:53 +02:00
Manuel Rego Casasnovas
1649e83479 Implement button to create a new personal expense sheet
Modified behavior of create and edit expense sheet form, to disable resource
fields if it is personal.

FEA: ItEr76S28UserDashboard
2012-06-07 07:57:30 +02:00
Manuel Rego Casasnovas
44f8c1fba6 Add new attribute personal in ExpenseSheet
FEA: ItEr76S28UserDashboard
2012-06-06 19:44:32 +02:00
Manuel Rego Casasnovas
8e742c57ae Add new section for expenses in user dashboard
FEA: ItEr76S28UserDashboard
2012-06-06 19:44:32 +02:00
Manuel Rego Casasnovas
14605d2ff7 Remove constant only used once and mark string to be internationalized
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
73cdf9463e Add currency symbol in value decimalbox
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
74f9515690 Simplify code of BandboxSearch in ExpenseSheetCRUDController
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
5c92f8098e Fix issues in ExpenseSheetCRUDController regarding to BaseCRUDController
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
a38e0e9948 Remove unused attribute in ExpenseSheetCRUDController
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
8d8bd12f85 Fix wrong sortDirection and width attributes in expenses sheet listings
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Susana Montes Pedreira
e06ebb6c4c fixes the functions which are used to check out if the cost category and
the hour cost are active in the specified work report line.

FEA: ItEr76S04BugFixing
2012-06-06 11:32:52 +01:00
Susana Montes Pedreira
193a4315b7 removed the class CostWorkReportLineDTO because it is not used.
FEA: ItEr76S04BugFixing
2012-06-06 11:32:52 +01:00
Manuel Rego Casasnovas
97da322b9c Using OrderElement id as key in the map to avoid problems
FEA: ItEr76S28UserDashboard
2012-06-06 11:48:21 +02:00
Manuel Rego Casasnovas
4d57057d74 Add timesheet summary box
FEA: ItEr76S28UserDashboard
2012-06-06 10:58:52 +02:00
Manuel Rego Casasnovas
981f1b2425 Add other row and column with information about other work reports
These new row and column are optional and only will be shown if there is other
work reports reporting hours for the monthly timesheet resource in the same
month.

FEA: ItEr76S28UserDashboard
2012-06-06 09:50:52 +02:00
Manuel Rego Casasnovas
cda89627f9 Sort tasks in my tasks area
FEA: ItEr76S28UserDashboard
2012-06-06 07:53:05 +02:00
Manuel Rego Casasnovas
72a5c04ff0 Hide user dashboard page from menu if current user is not bound
FEA: ItEr76S28UserDashboard
2012-06-06 07:27:32 +02:00
Manuel Rego Casasnovas
776d8a9401 Add message about monthly timesheet being saved
FEA: ItEr76S28UserDashboard
2012-06-05 18:35:38 +02:00
Manuel Rego Casasnovas
e9df0524d7 Add operations column in my tasks area
This will link to the monthly timesheet of the task.

FEA: ItEr76S28UserDashboard
2012-06-05 17:44:38 +02:00
Manuel Rego Casasnovas
ef19628690 Fix problem in constraint only one work report line per day and task
It was checking only one work report line per day, but it should allow to have
several work report lines in the same day if they are for different tasks.

FEA: ItEr76S28UserDashboard
2012-06-05 17:44:38 +02:00
Susana Montes Pedreira
342a1c32d2 updates the sum of expenses if the task associated to the
expense sheet line is changed.

FEA: ItEr76S22ExpenseTrackingSystem
2012-06-05 16:11:48 +01:00
Susana Montes Pedreira
488977188e import and export the expense sheets.
FEA: ItEr76S22ExpenseTrackingSystem
2012-06-05 15:40:47 +01:00
Manuel Rego Casasnovas
6bdf2fd045 Add constraints in WorkReport entity to prevent wrong modifications of monthly timesheets
FEA: ItEr76S28UserDashboard
2012-06-05 09:46:09 +02:00
Manuel Rego Casasnovas
57b90f49f7 Fix problem in work reports web services
If the resource was only set in the work-report and not in every line the
service returns an error while updating the work report.

FEA: ItEr76S04BugFixing
2012-06-05 09:46:09 +02:00
Manuel Rego Casasnovas
b3ea221f6d Fix issue in entry points renaming method
FEA: ItEr76S28UserDashboard
2012-06-05 08:34:15 +02:00
Manuel Rego Casasnovas
36e6952a80 Fix ResourceWorkedHoursDTO that was not working properly
FEA: ItEr76S04BugFixing
2012-06-04 15:35:15 +02:00
Manuel Rego Casasnovas
8cafa2ffde Bug #1452: Fix problem adding info about resource in work report lines
Adapted to any resource and not only workers.

FEA: ItEr76S04BugFixing
2012-06-04 15:35:15 +02:00
Manuel Rego Casasnovas
4fd26c7a0c Add total work column in work reports list
FEA: ItEr76S28UserDashboard
2012-06-01 13:33:16 +02:00
Manuel Rego Casasnovas
a6f8aae626 Add info about resource in monthly timesheets in work reports list
FEA: ItEr76S28UserDashboard
2012-06-01 13:33:02 +02:00
Manuel Rego Casasnovas
9a5c81e0bd Remove unneeded set methods in WorkReportDTO
FEA: ItEr76S28UserDashboard
2012-06-01 13:32:56 +02:00
Manuel Rego Casasnovas
72610b07f2 Add possibility to create monthly timesheets from work reports list
A pop-up asking for date and worker will be shown.

If the timesheet doesn't exist it will be created, if it already exists it will
be edited.

FEA: ItEr76S28UserDashboard
2012-06-01 13:21:39 +02:00
Manuel Rego Casasnovas
5f2d97e0b1 Use monthly timesheet page to edit work reports of this type
FEA: ItEr76S28UserDashboard
2012-06-01 12:19:30 +02:00
Manuel Rego Casasnovas
e5dda1f10f Add method in WorkReportType to check if it is a monthly timesheet
FEA: ItEr76S28UserDashboard
2012-06-01 11:47:19 +02:00
Diego Pino
6ebcf7f830 Bug #1457: Wrong value of labels CRITICAL_PATH_DURATION and CRITICAL_PATH_NUMHOURS
FEA: ItEr76S04BugFixing
2012-05-31 20:43:29 +02:00
Manuel Rego Casasnovas
e2eaf34bbb Mark with bold the special rows (capacity, total and extra) in the monthly timesheet
FEA: ItEr76S28UserDashboard
2012-05-31 11:48:50 +02:00