You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2007/06/16 11:44:11 UTC
svn commit: r547896 -
/ofbiz/branches/release4.0/applications/order/webapp/ordermgr/WEB-INF/actions/quote/ViewQuoteProfit.bsh
Author: lektran
Date: Sat Jun 16 02:44:10 2007
New Revision: 547896
URL: http://svn.apache.org/viewvc?view=rev&rev=547896
Log:
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;