From bc6b7989a72dfd50fcb93ca2cb62baba738d49ff Mon Sep 17 00:00:00 2001 From: Hans Bakker Date: Wed, 21 Feb 2007 07:59:11 +0000 Subject: [PATCH] current fresh checkout of ofbiz does not compile. commented out the offending lines git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509930 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/ofbiz/shipment/packing/PackingSession.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java b/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java index a8451331b4..9e2d40ed16 100644 --- a/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java +++ b/applications/product/src/org/ofbiz/shipment/packing/PackingSession.java @@ -43,7 +43,7 @@ import org.ofbiz.service.GenericServiceException; import org.ofbiz.service.LocalDispatcher; import org.ofbiz.service.ServiceUtil; import org.ofbiz.product.product.ProductWorker; -import org.ofbiz.order.order.OrderReadHelper; +// import org.ofbiz.order.order.OrderReadHelper; at this pont the order is not yet compiled see other change at line 842 to make this source compile public class PackingSession implements java.io.Serializable { @@ -839,8 +839,8 @@ public class PackingSession implements java.io.Serializable { while (lit.hasNext()) { PackingSessionLine line = (PackingSessionLine) lit.next(); GenericValue orderItem = getDelegator().findByPrimaryKey("OrderItem", UtilMisc.toMap("orderId", line.getOrderId(), "orderItemSeqId", line.getOrderItemSeqId())); - BigDecimal orderItemTotal = OrderReadHelper.getOrderItemSubTotalBd(orderItem, null, false, false); - shippableTotal = new Double(shippableTotal.doubleValue() + orderItemTotal.doubleValue()); +// BigDecimal orderItemTotal = OrderReadHelper.getOrderItemSubTotalBd(orderItem, null, false, false); +// shippableTotal = new Double(shippableTotal.doubleValue() + orderItemTotal.doubleValue()); } } serviceContext.put("shippableTotal", shippableTotal);