[OFBiz] SVN: r6617 - trunk/applications/product/webapp/facility/shipment

jaz@svn.ofbiz.org jaz at svn.ofbiz.org
Mon Jan 30 23:19:13 CST 2006


Author: jaz
Date: 2006-01-30 23:19:12 -0600 (Mon, 30 Jan 2006)
New Revision: 6617

Modified:
   trunk/applications/product/webapp/facility/shipment/PackOrder.ftl
Log:
updated to take cancelled items into consideration when rendering display


Modified: trunk/applications/product/webapp/facility/shipment/PackOrder.ftl
===================================================================
--- trunk/applications/product/webapp/facility/shipment/PackOrder.ftl	2006-01-31 05:15:22 UTC (rev 6616)
+++ trunk/applications/product/webapp/facility/shipment/PackOrder.ftl	2006-01-31 05:19:12 UTC (rev 6617)
@@ -203,16 +203,17 @@
             </tr>
 
             <#list itemInfos as orderItem>
+              <#assign orderItemQuantity = orderItem.quantity - orderItem.cancelQuantity>
               <tr>
                 <td><input type="checkbox" name="sel_${orderItem.orderItemSeqId}" value="Y"/></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">${orderItem.quantity}</td>
+                <td align="right"><div class="tabletext">${orderItemQuantity}</td>
                 <td align="right"><div class="tabletext">${packingSession.getPackedQuantity(orderId, orderItem.orderItemSeqId, shipGroupSeqId)}</td>
                 <td>&nbsp;&nbsp;</td>
                 <td align="center">
-                  <#assign inputQty = (orderItem.quantity - packingSession.getPackedQuantity(orderId, orderItem.orderItemSeqId, shipGroupSeqId))>
+                  <#assign inputQty = (orderItemQuantity - packingSession.getPackedQuantity(orderId, orderItem.orderItemSeqId, shipGroupSeqId))>
                   <input type="text" class="inputBox" size="7" name="qty_${orderItem.orderItemSeqId}" value="${inputQty}">
                 </td>
                 <td align="center">



More information about the Svn mailing list