Commit graph

450 commits

Author SHA1 Message Date
Jacobo Aragunde Pérez
2df0bac3d8 Rebase the code of the .zul pages for the templates screen.
I did it so it matches the three file structure we used in many other screens
(main, list, edit).
2012-03-28 20:11:58 +02:00
Manuel Rego Casasnovas
979ac144b1 Merge branch 'money-cost-monitoring-system' 2012-03-27 17:51:02 +02:00
Manuel Rego Casasnovas
8d37e716e6 Merge branch 'libreplan-1.2' into money-cost-monitoring-system 2012-03-27 17:26:21 +02:00
Manuel Rego Casasnovas
88e39eabd8 Show budget information in a read-only field inside task properties tab
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-27 10:07:31 +02:00
Manuel Rego Casasnovas
065acc4a29 Change color of money cost bar to a darker one to avoid accessibility issues
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-27 09:48:26 +02:00
Manuel Rego Casasnovas
e5f00bb8a1 Bug #1403: Only regenerate codes if isCodeAutogenerated() is true
FEA: ItEr76S04BugFixing
2012-03-26 18:32:57 +02:00
Manuel Rego Casasnovas
16e3d1860e Bug #1403: Only regenerate codes if isCodeAutogenerated() is true
FEA: ItEr76S04BugFixing
2012-03-26 18:30:33 +02:00
Manuel Rego Casasnovas
65fcc3e0f1 Add a map in MoneyCostCalculator to cache calculated values
This prevents to recalculate money cost when it was already calculated before.
The map with the cached values is reseted every time you enter in a project
(when PlanningState is created).

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-26 10:39:15 +02:00
Manuel Rego Casasnovas
120534e6ff Disable Money Cost Bar in company view to avoid performance issues
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-26 10:27:15 +02:00
Lorenzo Tilve Álvaro
f50806e51e Bug #1289: Added subcontractor name to tasks when showing resources is enabled
The name of the subcontractors are not being displayed when the container is collapsed. The
expected behaviour also might consider painting the parent node differently when it only contains
subcontracted elements.

FEA: ItEr76S04BugFixing
2012-03-24 13:00:06 +01:00
Lorenzo Tilve Álvaro
ff2f2298cf Bug #1289: Added subcontractor name to tasks when showing resources is enabled
The name of the subcontractors are not being displayed when the container is collapsed. The
expected behaviour also might consider painting the parent node differently when it only contains
subcontracted elements.

FEA: ItEr76S04BugFixing
2012-03-24 12:54:16 +01:00
Manuel Rego Casasnovas
73f883127f Improve sentence in "Imputed hours" tab editing a task 2012-03-21 16:02:23 +01:00
Manuel Rego Casasnovas
9819e0cad5 Improve sentence in "Imputed hours" tab editing a task 2012-03-21 16:01:28 +01:00
Manuel Rego Casasnovas
e11ebf485c Add information about budget in "Imputed hours" tab
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-21 15:47:58 +01:00
Manuel Rego Casasnovas
80011a0245 Remove unused parameters in CutyPrint.createCSSFile 2012-03-20 18:12:23 +01:00
Manuel Rego Casasnovas
36e14c5c6a Remove unused parameters in CutyPrint.createCSSFile 2012-03-20 18:10:56 +01:00
Manuel Rego Casasnovas
7500675a41 Add option to print money cost bar
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-20 17:58:13 +01:00
Manuel Rego Casasnovas
42ea25bd9f Reload budget field in "General data" of templates
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 18:07:47 +01:00
Manuel Rego Casasnovas
a2e07d0a9b Add field in "General data" tab to show the project budget
For the moment this is a new field called "Calculated budget" till we don't
decide what to do with the other budget related fields.

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 18:00:29 +01:00
Manuel Rego Casasnovas
aa7fb6dada Print Money Cost Bar proportinal to task size
Create two new methods in IntraDayDate:
* effortUntil
* addEffort

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 17:51:21 +01:00
Manuel Rego Casasnovas
cb55f928b6 Prevent NPE calculating money cost for a TaskElement
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:52:15 +01:00
Manuel Rego Casasnovas
0d1cff5feb Remove method getMoneyCostBarPercentage from ITaskFundamentalProperties
This method is not need as it's only used in a private method inside
TaskElementAdapter.

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:44:38 +01:00
Manuel Rego Casasnovas
79accc0c66 Improve tooltip message using budget, consumed money and percentage
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:23:18 +01:00
Manuel Rego Casasnovas
ac430aba6a Using the new MoneyCostCalculator to print the new Money Cost bar
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-19 12:23:18 +01:00
Manuel Rego Casasnovas
27579c0bfd Fix Money Cost Bar position in containers
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-16 13:21:36 +01:00
Manuel Rego Casasnovas
277ef6e947 Add money cost percentage in the tooltip
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-16 12:38:23 +01:00
Manuel Rego Casasnovas
c430f8e198 Change CSS for the money cost bar and reported hours bar
* Set a different color for money cost bar
* Configured positions to make both bars visible at the same time

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-16 11:57:15 +01:00
Manuel Rego Casasnovas
7626b02235 Change icon for the new money cost bar
It is the same icon like the one for reported hours but using a different color

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-16 11:55:34 +01:00
Manuel Rego Casasnovas
abb5851afb Add new money cost bar at this moment using value, icon and color of reported hours
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-16 11:51:32 +01:00
Manuel Rego Casasnovas
b3eec587da Merge branch 'libreplan-1.2' into money-cost-monitoring-system 2012-03-16 09:41:23 +01:00
Manuel Rego Casasnovas
9a612d15a1 Add no negative constraint in budget fields in edition forms
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-14 16:43:37 +01:00
Manuel Rego Casasnovas
a90f720dff Make bigger the description field in templates edition
FEA: ItEr76S04BugFixing
2012-03-14 16:31:50 +01:00
Manuel Rego Casasnovas
a6c90e1348 Make bigger the description field in templates edition
FEA: ItEr76S04BugFixing
2012-03-14 16:29:57 +01:00
Manuel Rego Casasnovas
0d01216cbd Add budget field in order element template edition form
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-14 16:25:09 +01:00
Manuel Rego Casasnovas
7bfdf5f04d Add budget field in order element details form
FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-14 16:00:31 +01:00
Manuel Rego Casasnovas
77d04d18e4 Add budget cell in WBS
It is very similar to hours cell behavior.

FEA: ItEr76S17MoneyCostMonitoringSystem
2012-03-14 15:39:32 +01:00
Manuel Rego Casasnovas
c778b92d5d Bug #1397: Revert a previous commit to avoid the problem
Commit 9e4b329791 is reverted and exception
IllegalStateException is cached to launch an OptimisticLockingFailureException.

FEA: ItEr76S04BugFixing
2012-03-14 13:54:51 +01:00
Manuel Rego Casasnovas
c5e6bbe8c4 Bug #1397: Revert a previous commit to avoid the problem
Commit 9e4b329791 is reverted and exception
IllegalStateException is cached to launch an OptimisticLockingFailureException.

FEA: ItEr76S04BugFixing
2012-03-14 13:50:41 +01:00
Manuel Rego Casasnovas
e24cb9ba7e Bug #1394: Fix problem because of deletedWorkReportLinesSet set was not reseted
FEA: ItEr76S04BugFixing
2012-03-13 20:01:49 +01:00
Manuel Rego Casasnovas
281ab6c67a Bug #1394: Fix problem because of deletedWorkReportLinesSet set was not reseted
FEA: ItEr76S04BugFixing
2012-03-13 19:54:03 +01:00
Ignacio Diaz Teijido
c5a621af2c Sorts the configuration units by name
FEA: ItEr76S07ConfigurationUnitInterfaceCorrections
2012-03-09 17:17:04 +01:00
Ignacio Diaz Teijido
67e51ab1e1 Sort workers by lastname, name
FEA: ItEr76S07ConfigurationUnitInterfaceCorrections
2012-03-09 17:17:04 +01:00
Jeroen Baten
3f92adb582 i18n: Add Dutch translation 2012-03-06 17:04:20 +01:00
Jeroen Baten
dfa099aacf i18n: Add Dutch translation 2012-03-06 17:02:20 +01:00
Lorenzo Tilve Álvaro
c0c5902456 Displayed project start vertical line with independency of project deadline
FEA: ItEr76S04BugFixing
2012-12-31 15:18:02 +01:00
Lorenzo Tilve Álvaro
d76cf5c69c Displayed project start vertical line with independency of project deadline
FEA: ItEr76S04BugFixing
2012-03-05 12:22:22 +01:00
Lorenzo Tilve Álvaro
01741d2de6 Added vertical line in scheduling perspective to display project start date
FEA: ItEr76S04BugFixing
2012-03-05 12:22:05 +01:00
Jacobo Aragunde Pérez
cce801ee1c Remove redundant call to scheduling algorithm from TaskPropertiesController.
The algorithm is already being called from ResourceAllocationController.

FEA: ItEr76S04BugFixing
2012-03-01 18:21:31 +01:00
Óscar González Fernández
59c8a98a72 Remove uneeded parameters to prevent redundant invocations to scheduling algorithm.
When a task is potentially modified is not needed to change the start
and the end date. This was causing two invokations of the
"dependencies" algorithm. Now only one is done.
2012-03-01 18:19:08 +01:00
Jacobo Aragunde Pérez
a355a0f324 Remove redundant call to scheduling algorithm from TaskPropertiesController.
The algorithm is already being called from ResourceAllocationController.

FEA: ItEr76S04BugFixing
2012-03-01 17:47:25 +01:00