Author: hansbak
Date: Mon Jul 5 09:43:48 2010
New Revision: 960502
URL:
http://svn.apache.org/viewvc?rev=960502&view=revLog:
change the type bigdecimal to double to avoid conversion errors in the log
Modified:
ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml
Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml?rev=960502&r1=960501&r2=960502&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml Mon Jul 5 09:43:48 2010
@@ -185,12 +185,12 @@ under the License.
<if-not-empty field="partyRates">
<first-from-list entry="partyRate" list="partyRates"/>
<if-not-empty field="partyRate.percentageUsed">
- <calculate field="timeEntry.hours" type="BigDecimal">
+ <calculate field="timeEntry.hours" type="Double">
<calcop operator="multiply" field="timeEntry.hours">
<calcop operator="get" field="partyRate.percentageUsed"/>
</calcop>
</calculate>
- <calculate field="timeEntry.hours" type="BigDecimal">
+ <calculate field="timeEntry.hours" type="Double">
<calcop operator="divide" field="timeEntry.hours">
<number value="100"/>
</calcop>