applications/product/webapp/facility/shipment/ViewShipmentPackageInfo.ftl
<#--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<#if shipmentPackageDatas?has_content>
<@section>
<@table type="data-complex" class="+${styles.table_spacing_tiny_hint!}" autoAltRows=true>
<@thead>
<@tr class="header-row">
<@th>${uiLabelMap.ProductPackage}</@th>
<@th>${uiLabelMap.CommonCreated}</@th>
<@th> </@th>
<@th> </@th>
</@tr>
</@thead>
<#list shipmentPackageDatas as shipmentPackageData>
<#assign shipmentPackage = shipmentPackageData.shipmentPackage>
<#assign shipmentPackageContents = shipmentPackageData.shipmentPackageContents!>
<#assign shipmentPackageRouteSegs = shipmentPackageData.shipmentPackageRouteSegs!>
<#assign weightUom = shipmentPackageData.weightUom!>
<@tr valign="middle">
<@td>${shipmentPackage.shipmentPackageSeqId}</@td>
<@td>${(shipmentPackage.dateCreated.toString())!}</@td>
<@td><span>${uiLabelMap.ProductWeight}</span> ${shipmentPackage.weight!}</@td>
<@td><span>${uiLabelMap.ProductWeightUnit}</span> <#if weightUom?has_content>${weightUom.get("description",locale)}<#else>${shipmentPackage.weightUomId!}</#if></@td>
</@tr>
<#list shipmentPackageContents as shipmentPackageContent>
<@tr valign="middle" groupLast=true>
<@td> </@td>
<@td><span>${uiLabelMap.ProductItem}</span> ${shipmentPackageContent.shipmentItemSeqId}</@td>
<@td><span>${uiLabelMap.ProductQuantity}</span> ${shipmentPackageContent.quantity!}</@td>
<@td> </@td>
</@tr>
</#list>
<#list shipmentPackageRouteSegs as shipmentPackageRouteSeg>
<@tr valign="middle" groupLast=true>
<@td> </@td>
<@td><span>${uiLabelMap.ProductRouteSegment}</span> ${shipmentPackageRouteSeg.shipmentRouteSegmentId}</@td>
<@td><span>${uiLabelMap.ProductTracking}</span> ${shipmentPackageRouteSeg.trackingCode!}</@td>
<@td><span>${uiLabelMap.ProductBox}</span> ${shipmentPackageRouteSeg.boxNumber!}</@td>
</@tr>
</#list>
</#list>
</@table>
</@section>
</#if>