Author: jleroux
Date: Sun Jan 18 01:56:21 2009
New Revision: 735418
URL:
http://svn.apache.org/viewvc?rev=735418&view=revLog:
Should fix an error reported by Wicus on user ML
Modified:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy
Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy?rev=735418&r1=735417&r2=735418&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy (original)
+++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy Sun Jan 18 01:56:21 2009
@@ -68,7 +68,7 @@
quantityRejected = productionRun.getGenericValue().quantityRejected ?: 0.0;
lastTask = productionRun.getLastProductionRunRoutingTask();
- quantityDeclared = (lastTask ? (lastTask.quantityProduced ?: 0.0) : 0.0 ;
+ quantityDeclared = lastTask ? (lastTask.quantityProduced ?: 0.0) : 0.0 ;
if (lastTask && ("PRUN_RUNNING".equals(lastTask.currentStatusId) || "PRUN_COMPLETED".equals(lastTask.currentStatusId))) {
context.canDeclareAndProduce = "Y";