Author: mor
Date: Fri Jul 10 10:15:06 2009 New Revision: 792864 URL: http://svn.apache.org/viewvc?rev=792864&view=rev Log: No functional changes. Formatting changes only over my last commit including indentation from 4 to 2. Modified: ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl Modified: ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl?rev=792864&r1=792863&r2=792864&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl (original) +++ ofbiz/trunk/applications/product/webapp/facility/facility/PicklistOptions.ftl Fri Jul 10 10:15:06 2009 @@ -18,284 +18,282 @@ --> <div class="screenlet"> - <div class="screenlet-title-bar"> - <ul> - <li class="h3">${uiLabelMap.FacilitySelectOptionsToGroupBy}</li> - </ul> - <br class="clear"/> + <div class="screenlet-title-bar"> + <ul> + <li class="h3">${uiLabelMap.FacilitySelectOptionsToGroupBy}</li> + </ul> + <br class="clear"/> + </div> + <form method="post" name="selectFactors" action="<@ofbizUrl>PicklistOptions</@ofbizUrl>"> + <input type="hidden" name="facilityId" value="${facilityId}"/> + <table class="basic-table" cellspacing='0'> + <tr> + <td class='label'>${uiLabelMap.FacilityGroupByShippingMethod}</td> + <td><input type="checkbox" name="groupByShippingMethod" value="Y" <#if "${requestParameters.groupByShippingMethod?if_exists}" == "Y">checked</#if>/></td> + <td class='label'>${uiLabelMap.FacilityGroupByWarehouseArea}</td> + <td><input type="checkbox" name="groupByWarehouseArea" value="Y" <#if "${requestParameters.groupByWarehouseArea?if_exists}" == "Y">checked</#if>/></td> + <td class='label'>${uiLabelMap.FacilityGroupByNoOfOrderItems}</td> + <td><input type="checkbox" name="groupByNoOfOrderItems" value="Y" <#if "${requestParameters.groupByNoOfOrderItems?if_exists}" == "Y">checked</#if>/></td> + </tr> + <tr> </tr> + </table> + <div align ='right'> + <input type="submit" value="Submit" class="buttontext" align='right'/> </div> - <form method="post" name="selectFactors" action="<@ofbizUrl>PicklistOptions</@ofbizUrl>"> - <input type="hidden" name="facilityId" value="${facilityId}"/> - <table class="basic-table" cellspacing='0'> - <tr> - <td class='label'>${uiLabelMap.FacilityGroupByShippingMethod}</td> - <td><input type="checkbox" name="groupByShippingMethod" value="Y" <#if "${requestParameters.groupByShippingMethod?if_exists}" == "Y">checked</#if>/></td> - - <td class='label'>${uiLabelMap.FacilityGroupByWarehouseArea}</td> - <td><input type="checkbox" name="groupByWarehouseArea" value="Y" <#if "${requestParameters.groupByWarehouseArea?if_exists}" == "Y">checked</#if>/></td> - - <td class='label'>${uiLabelMap.FacilityGroupByNoOfOrderItems}</td> - <td><input type="checkbox" name="groupByNoOfOrderItems" value="Y" <#if "${requestParameters.groupByNoOfOrderItems?if_exists}" == "Y">checked</#if>/></td> - </tr> - <tr> </tr> - </table> - <div align ='right'> - <input type="submit" value="Submit" class="buttontext" align='right'/> - </div> - </form> - <div class="screenlet-title-bar"> - <ul> - <li class="h3">${uiLabelMap.ProductFindOrdersToPick}</li> - </ul> - <br class="clear"/> + </form> + <div class="screenlet-title-bar"> + <ul> + <li class="h3">${uiLabelMap.ProductFindOrdersToPick}</li> + </ul> + <br class="clear"/> + </div> + <div class="screenlet-body"> + <div align ='right'> + <a class="buttontext" align='right' href="<@ofbizUrl>ReviewOrdersNotPickedOrPacked?facilityId=${facilityId}</@ofbizUrl>">${uiLabelMap.FormFieldTitle_reviewOrdersNotPickedOrPacked}</a> </div> - <div class="screenlet-body"> - <div align ='right'> - <a class="buttontext" align='right' href="<@ofbizUrl>ReviewOrdersNotPickedOrPacked?facilityId=${facilityId}</@ofbizUrl>">${uiLabelMap.FormFieldTitle_reviewOrdersNotPickedOrPacked}</a> - </div> - <table cellspacing="0" class="basic-table"> - <#if pickMoveInfoList?has_content> - <tr class="header-row"> - <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> - <td>${uiLabelMap.OrderOrder} #</td> - <#else> - <td>${uiLabelMap.ProductShipmentMethod}</td> - <td>${uiLabelMap.ProductWarehouseArea}</td> - <td>${uiLabelMap.ProductNumberOfOrderItems}</td> - </#if> - <td>${uiLabelMap.ProductReadyToPick}</td> - <td>${uiLabelMap.ProductNeedStockMove}</td> - <td> </td> - <td> </td> - <td> </td> - </tr> - </#if> - <#if rushOrderInfo?has_content> - <#assign orderReadyToPickInfoList = rushOrderInfo.orderReadyToPickInfoList?if_exists> - <#assign orderNeedsStockMoveInfoList = rushOrderInfo.orderNeedsStockMoveInfoList?if_exists> - <#assign orderReadyToPickInfoListSize = (orderReadyToPickInfoList.size())?default(0)> - <#assign orderNeedsStockMoveInfoListSize = (orderNeedsStockMoveInfoList.size())?default(0)> - <tr> - <td>[Rush Orders, all Methods]</td> - <td>${orderReadyToPickInfoListSize}</td> - <td>${orderNeedsStockMoveInfoListSize}</td> - <td> - <#if orderReadyToPickInfoList?has_content> - <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>"> - <input type="hidden" name="facilityId" value="${facilityId}"/> - <input type="hidden" name="isRushOrder" value="Y"/> - ${uiLabelMap.ProductPickFirst}:<input type="text" size="4" name="maxNumberOfOrders" value="20"/> - <input type="submit" value="${uiLabelMap.ProductCreatePicklist}"/> - </form> - <#else> - - </#if> - </td> - </tr> - </#if> - <#if pickMoveInfoList?has_content> - <#assign orderReadyToPickInfoListSizeTotal = 0> - <#assign orderNeedsStockMoveInfoListSizeTotal = 0> - <#assign alt_row = false> - <#list pickMoveInfoList as pickMoveInfo> - <#assign groupName = pickMoveInfo.groupName?if_exists> - <#assign groupName1 = pickMoveInfo.groupName1?if_exists> - <#assign groupName2 = pickMoveInfo.groupName2?if_exists> - <#assign groupName3 = pickMoveInfo.groupName3?if_exists> - <#assign orderReadyToPickInfoList = pickMoveInfo.orderReadyToPickInfoList?if_exists> - <#assign orderNeedsStockMoveInfoList = pickMoveInfo.orderNeedsStockMoveInfoList?if_exists> - <#assign orderReadyToPickInfoListSize = (orderReadyToPickInfoList.size())?default(0)> - <#assign orderNeedsStockMoveInfoListSize = (orderNeedsStockMoveInfoList.size())?default(0)> - <#assign orderReadyToPickInfoListSizeTotal = orderReadyToPickInfoListSizeTotal + orderReadyToPickInfoListSize> - <#assign orderNeedsStockMoveInfoListSizeTotal = orderNeedsStockMoveInfoListSizeTotal + orderNeedsStockMoveInfoListSize> - <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> - <form name="viewGroupDetail_${pickMoveInfo_index}" action="<@ofbizUrl>PicklistOptions</@ofbizUrl>" method="post"> - <input type ="hidden" name="viewDetail" value= "${groupName?if_exists}"/> - <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/> - <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/> - <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/> - <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> - <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> - <td> - <#if groupName1?has_content> - <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName1}</a> - </#if> - </td> - <td> - <#if groupName2?has_content> - <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName2}</a> - </#if> - </td> - <td> - <#if groupName3?has_content> - <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName3}</a></td> - </#if> - </td> - <#else> - <td> - <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName?if_exists}</a> - </td> - </#if> - </form> - <td> - <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> - <#if orderReadyToPickInfoListSize == 0 >${uiLabelMap.CommonN}<#else>${uiLabelMap.CommonY}</#if> - <#else> - ${orderReadyToPickInfoListSize} - </#if> - </td> - <td> - <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> - <#if orderNeedsStockMoveInfoListSize == 0>${uiLabelMap.CommonN}<#else>${uiLabelMap.CommonY}</#if> - <#else> - ${orderNeedsStockMoveInfoListSize} - </#if> - </td> - <td> - <#if orderReadyToPickInfoList?has_content> - <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>"> - <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> - <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/> - <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/> - <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/> - <input type="hidden" name="orderIdList" value=""/> - <#assign orderIdsForPickList = orderReadyToPickInfoList?if_exists> - <#list orderIdsForPickList as orderIdForPickList> - <input type="hidden" name="orderIdList" value="${orderIdForPickList.orderHeader.orderId}"/> - </#list> - <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> - <span class="label">${uiLabelMap.ProductPickFirst}</span> - <input type="text" size="4" name="maxNumberOfOrders" value="20"/> - </#if> - <input type="submit" value="${uiLabelMap.ProductCreatePicklist}"/> - </form> - <#else> - - </#if> - </td> - <td> - <#if orderReadyToPickInfoList?has_content> - <form method="post" action="<@ofbizUrl>printPickSheets</@ofbizUrl>"> - <input type="hidden" name="printGroupName" value="${groupName?if_exists}"/> - <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> - <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/> - <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/> - <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/> - <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> - <input type="hidden" name="maxNumberOfOrdersToPrint" value="1"/> - <input type="hidden" name="orderId" value="${groupName?if_exists}"/> - <#else> - <span class="label">${uiLabelMap.FormFieldTitle_printPickSheetFirst}</span> - <input type="text" size="4" name="maxNumberOfOrdersToPrint" value="20"/> - </#if> - <input type="submit" value="${uiLabelMap.FormFieldTitle_printPickSheet}"/> - </form> - <#else> - - </#if> - </td> - </tr> - <#-- toggle the row color --> - <#assign alt_row = !alt_row> - </#list> - <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> - <tr<#if alt_row> class="alternate-row"</#if>> - <th>${uiLabelMap.CommonAllMethods}</div></th> - <td> </td> - <td> </td> - <th>${orderReadyToPickInfoListSizeTotal}</div></th> - <th>${orderNeedsStockMoveInfoListSizeTotal}</div></th> - <td> - <#if (orderReadyToPickInfoListSizeTotal > 0)> - <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>"> - <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> - <span class="label">${uiLabelMap.ProductPickFirst}</span> - <input type="text" size="4" name="maxNumberOfOrders" value="20"/> - <input type="submit" value="${uiLabelMap.ProductCreatePicklist}"/> - </form> - <#else> - - </#if> - </td> - <td> - <#if (orderReadyToPickInfoListSizeTotal > 0)> - <form method="post" action="<@ofbizUrl>printPickSheets</@ofbizUrl>"> - <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> - <span class="label">${uiLabelMap.FormFieldTitle_printPickSheetFirst}</span> - <input type="text" size="4" name="maxNumberOfOrdersToPrint" value="20"/> - <input type="submit" value="${uiLabelMap.FormFieldTitle_printPickSheet}"/> - </form> - <#else> - - </#if> - </td> - </tr> - </#if> + <table cellspacing="0" class="basic-table"> + <#if pickMoveInfoList?has_content> + <tr class="header-row"> + <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> + <td>${uiLabelMap.OrderOrder} #</td> + <#else> + <td>${uiLabelMap.ProductShipmentMethod}</td> + <td>${uiLabelMap.ProductWarehouseArea}</td> + <td>${uiLabelMap.ProductNumberOfOrderItems}</td> + </#if> + <td>${uiLabelMap.ProductReadyToPick}</td> + <td>${uiLabelMap.ProductNeedStockMove}</td> + <td> </td> + <td> </td> + <td> </td> + </tr> + </#if> + <#if rushOrderInfo?has_content> + <#assign orderReadyToPickInfoList = rushOrderInfo.orderReadyToPickInfoList?if_exists> + <#assign orderNeedsStockMoveInfoList = rushOrderInfo.orderNeedsStockMoveInfoList?if_exists> + <#assign orderReadyToPickInfoListSize = (orderReadyToPickInfoList.size())?default(0)> + <#assign orderNeedsStockMoveInfoListSize = (orderNeedsStockMoveInfoList.size())?default(0)> + <tr> + <td>[Rush Orders, all Methods]</td> + <td>${orderReadyToPickInfoListSize}</td> + <td>${orderNeedsStockMoveInfoListSize}</td> + <td> + <#if orderReadyToPickInfoList?has_content> + <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>"> + <input type="hidden" name="facilityId" value="${facilityId}"/> + <input type="hidden" name="isRushOrder" value="Y"/> + ${uiLabelMap.ProductPickFirst}: + <input type="text" size="4" name="maxNumberOfOrders" value="20"/> + <input type="submit" value="${uiLabelMap.ProductCreatePicklist}"/> + </form> <#else> - <tr><td colspan="4"><h3>${uiLabelMap.ProductNoOrdersFoundReadyToPickOrNeedStockMoves}.</h3></td></tr> + </#if> - </table> - </div> + </td> + </tr> + </#if> + <#if pickMoveInfoList?has_content> + <#assign orderReadyToPickInfoListSizeTotal = 0> + <#assign orderNeedsStockMoveInfoListSizeTotal = 0> + <#assign alt_row = false> + <#list pickMoveInfoList as pickMoveInfo> + <#assign groupName = pickMoveInfo.groupName?if_exists> + <#assign groupName1 = pickMoveInfo.groupName1?if_exists> + <#assign groupName2 = pickMoveInfo.groupName2?if_exists> + <#assign groupName3 = pickMoveInfo.groupName3?if_exists> + <#assign orderReadyToPickInfoList = pickMoveInfo.orderReadyToPickInfoList?if_exists> + <#assign orderNeedsStockMoveInfoList = pickMoveInfo.orderNeedsStockMoveInfoList?if_exists> + <#assign orderReadyToPickInfoListSize = (orderReadyToPickInfoList.size())?default(0)> + <#assign orderNeedsStockMoveInfoListSize = (orderNeedsStockMoveInfoList.size())?default(0)> + <#assign orderReadyToPickInfoListSizeTotal = orderReadyToPickInfoListSizeTotal + orderReadyToPickInfoListSize> + <#assign orderNeedsStockMoveInfoListSizeTotal = orderNeedsStockMoveInfoListSizeTotal + orderNeedsStockMoveInfoListSize> + <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> + <form name="viewGroupDetail_${pickMoveInfo_index}" action="<@ofbizUrl>PicklistOptions</@ofbizUrl>" method="post"> + <input type ="hidden" name="viewDetail" value= "${groupName?if_exists}"/> + <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/> + <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/> + <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/> + <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> + <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> + <td> + <#if groupName1?has_content> + <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName1}</a> + </#if> + </td> + <td> + <#if groupName2?has_content> + <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName2}</a> + </#if> + </td> + <td> + <#if groupName3?has_content> + <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName3}</a></td> + </#if> + </td> + <#else> + <td> + <a href="javascript:document.viewGroupDetail_${pickMoveInfo_index}.submit()" class="buttontext">${groupName?if_exists}</a> + </td> + </#if> + </form> + <td> + <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> + <#if orderReadyToPickInfoListSize == 0 >${uiLabelMap.CommonN}<#else>${uiLabelMap.CommonY}</#if> + <#else> + ${orderReadyToPickInfoListSize} + </#if> + </td> + <td> + <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> + <#if orderNeedsStockMoveInfoListSize == 0>${uiLabelMap.CommonN}<#else>${uiLabelMap.CommonY}</#if> + <#else> + ${orderNeedsStockMoveInfoListSize} + </#if> + </td> + <td> + <#if orderReadyToPickInfoList?has_content> + <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>"> + <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> + <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/> + <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/> + <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/> + <input type="hidden" name="orderIdList" value=""/> + <#assign orderIdsForPickList = orderReadyToPickInfoList?if_exists> + <#list orderIdsForPickList as orderIdForPickList> + <input type="hidden" name="orderIdList" value="${orderIdForPickList.orderHeader.orderId}"/> + </#list> + <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> + <span class="label">${uiLabelMap.ProductPickFirst}</span> + <input type="text" size="4" name="maxNumberOfOrders" value="20"/> + </#if> + <input type="submit" value="${uiLabelMap.ProductCreatePicklist}"/> + </form> + <#else> + + </#if> + </td> + <td> + <#if orderReadyToPickInfoList?has_content> + <form method="post" action="<@ofbizUrl>printPickSheets</@ofbizUrl>"> + <input type="hidden" name="printGroupName" value="${groupName?if_exists}"/> + <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> + <input type="hidden" name="groupByShippingMethod" value="${requestParameters.groupByShippingMethod?if_exists}"/> + <input type="hidden" name="groupByWarehouseArea" value="${requestParameters.groupByWarehouseArea?if_exists}"/> + <input type="hidden" name="groupByNoOfOrderItems" value="${requestParameters.groupByNoOfOrderItems?if_exists}"/> + <#if !((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> + <input type="hidden" name="maxNumberOfOrdersToPrint" value="1"/> + <input type="hidden" name="orderId" value="${groupName?if_exists}"/> + <#else> + <span class="label">${uiLabelMap.FormFieldTitle_printPickSheetFirst}</span> + <input type="text" size="4" name="maxNumberOfOrdersToPrint" value="20"/> + </#if> + <input type="submit" value="${uiLabelMap.FormFieldTitle_printPickSheet}"/> + </form> + <#else> + + </#if> + </td> + </tr> + <#-- toggle the row color --> + <#assign alt_row = !alt_row> + </#list> + <#if ((requestParameters.groupByShippingMethod?exists && requestParameters.groupByShippingMethod == "Y") || (requestParameters.groupByWarehouseArea?exists && requestParameters.groupByWarehouseArea == "Y") || (requestParameters.groupByNoOfOrderItems?exists && requestParameters.groupByNoOfOrderItems == "Y"))> + <tr<#if alt_row> class="alternate-row"</#if>> + <th>${uiLabelMap.CommonAllMethods}</div></th> + <td> </td> + <td> </td> + <th>${orderReadyToPickInfoListSizeTotal}</div></th> + <th>${orderNeedsStockMoveInfoListSizeTotal}</div></th> + <td> + <#if (orderReadyToPickInfoListSizeTotal > 0)> + <form method="post" action="<@ofbizUrl>createPicklistFromOrders</@ofbizUrl>"> + <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> + <span class="label">${uiLabelMap.ProductPickFirst}</span> + <input type="text" size="4" name="maxNumberOfOrders" value="20"/> + <input type="submit" value="${uiLabelMap.ProductCreatePicklist}"/> + </form> + <#else> + + </#if> + </td> + <td> + <#if (orderReadyToPickInfoListSizeTotal > 0)> + <form method="post" action="<@ofbizUrl>printPickSheets</@ofbizUrl>"> + <input type="hidden" name="facilityId" value="${facilityId?if_exists}"/> + <span class="label">${uiLabelMap.FormFieldTitle_printPickSheetFirst}</span> + <input type="text" size="4" name="maxNumberOfOrdersToPrint" value="20"/> + <input type="submit" value="${uiLabelMap.FormFieldTitle_printPickSheet}"/> + </form> + <#else> + + </#if> + </td> + </tr> + </#if> + <#else> + <tr><td colspan="4"><h3>${uiLabelMap.ProductNoOrdersFoundReadyToPickOrNeedStockMoves}.</h3></td></tr> + </#if> + </table> + </div> </div> <#assign viewDetail = requestParameters.viewDetail?if_exists> <#if viewDetail?has_content> - <#list pickMoveInfoList as pickMoveInfo> - <#assign groupName = pickMoveInfo.groupName?if_exists> - <#if groupName?if_exists == viewDetail> - <#assign toPickList = pickMoveInfo.orderReadyToPickInfoList?if_exists> - </#if> - </#list> + <#list pickMoveInfoList as pickMoveInfo> + <#assign groupName = pickMoveInfo.groupName?if_exists> + <#if groupName?if_exists == viewDetail> + <#assign toPickList = pickMoveInfo.orderReadyToPickInfoList?if_exists> + </#if> + </#list> </#if> <#if toPickList?has_content> -<div class="screenlet"> + <div class="screenlet"> <div class="screenlet-title-bar"> - <ul> - <li class="h3">${uiLabelMap.ProductPickingDetail}</li> - </ul> - <br class="clear"/> + <ul> + <li class="h3">${uiLabelMap.ProductPickingDetail}</li> + </ul> + <br class="clear"/> </div> <div class="screenlet-body"> - <table cellspacing="0" class="basic-table"> - <tr class="header-row"> - <td>${uiLabelMap.ProductOrderId}</td> - <td>${uiLabelMap.FormFieldTitle_orderDate}</td> - <td>${uiLabelMap.ProductChannel}</td> - <td>${uiLabelMap.ProductOrderItem}</td> - <td>${uiLabelMap.ProductProductDescription}</td> - <td>${uiLabelMap.ProductOrderShipGroupId}</td> - <td>${uiLabelMap.ProductQuantity}</td> - <td>${uiLabelMap.ProductQuantityNotAvailable}</td> + <table cellspacing="0" class="basic-table"> + <tr class="header-row"> + <td>${uiLabelMap.ProductOrderId}</td> + <td>${uiLabelMap.FormFieldTitle_orderDate}</td> + <td>${uiLabelMap.ProductChannel}</td> + <td>${uiLabelMap.ProductOrderItem}</td> + <td>${uiLabelMap.ProductProductDescription}</td> + <td>${uiLabelMap.ProductOrderShipGroupId}</td> + <td>${uiLabelMap.ProductQuantity}</td> + <td>${uiLabelMap.ProductQuantityNotAvailable}</td> + </tr> + <#assign alt_row = false> + <#list toPickList as toPick> + <#assign oiasgal = toPick.orderItemShipGrpInvResList> + <#assign header = toPick.orderHeader> + <#assign channel = header.getRelatedOne("SalesChannelEnumeration")?if_exists> + <#list oiasgal as oiasga> + <#assign orderProduct = oiasga.getRelatedOne("OrderItem").getRelatedOne("Product")?if_exists> + <#assign product = oiasga.getRelatedOne("InventoryItem").getRelatedOne("Product")?if_exists> + <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> + <td><a href="/ordermgr/control/orderview?orderId=${oiasga.orderId}${externalKeyParam}" class="buttontext" target="_blank">${oiasga.orderId}</a></td> + <td>${header.orderDate?string}</td> + <td>${(channel.description)?if_exists}</td> + <td>${oiasga.orderItemSeqId}</td> + <td> + <a href="/catalog/control/EditProduct?productId=${orderProduct.productId?if_exists}${externalKeyParam}" class="buttontext" target="_blank">${(orderProduct.internalName)?if_exists}</a> + <#if orderProduct.productId != product.productId> + [<a href="/catalog/control/EditProduct?productId=${product.productId?if_exists}${externalKeyParam}" class="buttontext" target="_blank">${(product.internalName)?if_exists}</a>] + </#if> + </td> + <td>${oiasga.shipGroupSeqId}</td> + <td>${oiasga.quantity}</td> + <td>${oiasga.quantityNotAvailable?if_exists}</td> </tr> - <#assign alt_row = false> - <#list toPickList as toPick> - <#assign oiasgal = toPick.orderItemShipGrpInvResList> - <#assign header = toPick.orderHeader> - <#assign channel = header.getRelatedOne("SalesChannelEnumeration")?if_exists> - - <#list oiasgal as oiasga> - <#assign orderProduct = oiasga.getRelatedOne("OrderItem").getRelatedOne("Product")?if_exists> - <#assign product = oiasga.getRelatedOne("InventoryItem").getRelatedOne("Product")?if_exists> - <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> - <td><a href="/ordermgr/control/orderview?orderId=${oiasga.orderId}${externalKeyParam}" class="buttontext" target="_blank">${oiasga.orderId}</a></td> - <td>${header.orderDate?string}</td> - <td>${(channel.description)?if_exists}</td> - <td>${oiasga.orderItemSeqId}</td> - <td> - <a href="/catalog/control/EditProduct?productId=${orderProduct.productId?if_exists}${externalKeyParam}" class="buttontext" target="_blank">${(orderProduct.internalName)?if_exists}</a> - <#if orderProduct.productId != product.productId> - [<a href="/catalog/control/EditProduct?productId=${product.productId?if_exists}${externalKeyParam}" class="buttontext" target="_blank">${(product.internalName)?if_exists}</a>] - </#if> - </td> - <td>${oiasga.shipGroupSeqId}</td> - <td>${oiasga.quantity}</td> - <td>${oiasga.quantityNotAvailable?if_exists}</td> - </tr> - </#list> - <#-- toggle the row color --> - <#assign alt_row = !alt_row> - </#list> - </table> + </#list> + <#-- toggle the row color --> + <#assign alt_row = !alt_row> + </#list> + </table> </div> -</div> -</#if> + </div> +</#if> \ No newline at end of file |
Free forum by Nabble | Edit this page |