Author: lektran
Date: Sat Jun 16 02:44:10 2007
New Revision: 547896
URL:
http://svn.apache.org/viewvc?view=rev&rev=547896Log:
Applied fix from trunk for revision: 546041
Modified:
ofbiz/branches/release4.0/applications/order/webapp/ordermgr/WEB-INF/actions/quote/ViewQuoteProfit.bsh
Modified: ofbiz/branches/release4.0/applications/order/webapp/ordermgr/WEB-INF/actions/quote/ViewQuoteProfit.bsh
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/order/webapp/ordermgr/WEB-INF/actions/quote/ViewQuoteProfit.bsh?view=diff&rev=547896&r1=547895&r2=547896==============================================================================
--- ofbiz/branches/release4.0/applications/order/webapp/ordermgr/WEB-INF/actions/quote/ViewQuoteProfit.bsh (original)
+++ ofbiz/branches/release4.0/applications/order/webapp/ordermgr/WEB-INF/actions/quote/ViewQuoteProfit.bsh Sat Jun 16 02:44:10 2007
@@ -19,6 +19,7 @@
import java.util.Date;
import java.sql.Timestamp;
+import org.ofbiz.base.util.UtilDateTime;
import org.ofbiz.base.util.UtilMisc;
import org.ofbiz.entity.util.EntityUtil;
@@ -39,7 +40,7 @@
Timestamp issueDate = quote.getTimestamp("issueDate");
if (issueDate == null) {
- issueDate = new Timestamp((new Date()).getTime());
+ issueDate = UtilDateTime.nowTimestamp();
}
double totalCost = 0.0;
double totalPrice = 0.0;