<#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <#escape x as x?xml> <#list shipGroups as shipGroup> <#assign data = groupData.get(shipGroup.shipGroupSeqId)> <#-- print the order ID, ship group, and their bar codes --> ${uiLabelMap.OrderOrder} #${shipGroup.orderId} 8mm ${uiLabelMap.OrderShipGroup} #${shipGroup.shipGroupSeqId} 8mm <#-- print the address, carrier, and shipment dates --> <#assign address = data.address!> ${uiLabelMap.CommonTo}: ${address.toName!} <#if address.attnName?has_content> ${uiLabelMap.CommonAttn}: ${address.attnName!} ${address.address1!} ${address.address2!} ${address.city!}<#if address.stateProvinceGeoId?has_content>, ${address.stateProvinceGeoId} ${address.postalCode!} ${address.countryGeoId!} <#if data.phoneNumber??> <#if data.phoneNumber.areaCode??>(${data.phoneNumber.areaCode}) ${data.phoneNumber.contactNumber} ${uiLabelMap.ProductShipmentMethod} <#if data.carrierShipmentMethod??>${data.carrierShipmentMethod.partyId} ${data.shipmentMethodType.description} ${uiLabelMap.OrderShipBeforeDate} ${shipGroup.shipByDate?default("N/A")} ${uiLabelMap.OrderShipAfterDate} ${shipGroup.shipAfterDate?default("N/A")} <#assign lines = data.lines> ${uiLabelMap.ProductProduct} ${uiLabelMap.CommonDescription} ${uiLabelMap.OrderQuantityInShipGroup} ${uiLabelMap.OrderQuantityShipped} ${uiLabelMap.ProductOpenQuantity} <#list lines as line> <#if ((line_index % 2) == 0)> <#assign rowColor = "white"> <#else> <#assign rowColor = "#CCCCCC"> ${line.product.productId} ${line.orderItem.itemDescription!} ${line.quantityInGroup?default(0)} ${line.quantityShipped?default(0)} ${line.quantityOpen?default(0)} <#list line.expandedList! as expandedLine> ${expandedLine.product.productId} ${expandedLine.product.internalName} ${expandedLine.quantityInGroup?default(0)} ${expandedLine.quantityShipped?default(0)} ${expandedLine.quantityOpen?default(0)} <#if shipGroup_has_next>