Author: sichen
Date: Tue Sep 5 09:38:12 2006
New Revision: 440390
URL:
http://svn.apache.org/viewvc?view=rev&rev=440390Log:
Fix bug where shipped quantity is missing in pack order screen
Modified:
incubator/ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl
Modified: incubator/ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl?view=diff&rev=440390&r1=440389&r2=440390==============================================================================
--- incubator/ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl (original)
+++ incubator/ofbiz/trunk/applications/product/webapp/facility/shipment/PackOrder.ftl Tue Sep 5 09:38:12 2006
@@ -204,13 +204,14 @@
<#else>
<#assign orderItemQuantity = orderItem.quantity>
</#if>
+ <#assign shippedQuantity = orderReadHelper.getItemShippedQuantityBd(orderItem)?if_exists>
<tr>
<td><input type="checkbox" name="sel_${orderItem.orderItemSeqId}" value="Y" checked=""/></td>
<td><div class="tabletext">${orderItem.orderItemSeqId}</td>
<td><div class="tabletext">${orderItem.productId?default("N/A")}</td>
<td><div class="tabletext">${orderItem.itemDescription?if_exists}</td>
<td align="right"><div class="tabletext">${orderItemQuantity}</td>
- <td align="right"><div class="tabletext">${shippedQuantity}</td>
+ <td align="right"><div class="tabletext">${shippedQuantity?default(0)}</td>
<td align="right"><div class="tabletext">${packingSession.getPackedQuantity(orderId, orderItem.orderItemSeqId, shipGroupSeqId)}</td>
<td> </td>
<td align="center">