| <#-- |
| 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. |
| --> |
| <#if shipmentItemDatas?has_content> |
| <div class="screenlet"> |
| <div class="screenlet-body"> |
| <table cellspacing="0" cellpadding="2" class="basic-table"> |
| <tr class="header-row"> |
| <td>${uiLabelMap.ProductItem}</td> |
| <td> </td> |
| <td> </td> |
| <td>${uiLabelMap.ProductQuantity}</td> |
| <td> </td> |
| <td> </td> |
| </tr> |
| <#assign alt_row = false> |
| <#list shipmentItemDatas as shipmentItemData> |
| <#assign shipmentItem = shipmentItemData.shipmentItem> |
| <#assign itemIssuances = shipmentItemData.itemIssuances> |
| <#assign orderShipments = shipmentItemData.orderShipments> |
| <#assign shipmentPackageContents = shipmentItemData.shipmentPackageContents> |
| <#assign product = shipmentItemData.product!> |
| <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> |
| <td>${shipmentItem.shipmentItemSeqId}</td> |
| <td colspan="2">${(product.internalName)!} <a href="/catalog/control/EditProduct?productId=${shipmentItem.productId!}" class="buttontext">${shipmentItem.productId!}</a></td> |
| <td>${shipmentItem.quantity?default(" ")}</td> |
| <td colspan="2">${shipmentItem.shipmentContentDescription?default(" ")}</td> |
| </tr> |
| <#list orderShipments as orderShipment> |
| <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> |
| <td> </td> |
| <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${orderShipment.orderId!}&externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${orderShipment.orderId!}</a>${orderShipment.orderItemSeqId!}</td> |
| <td> </td> |
| <td>${orderShipment.quantity!}</td> |
| <td> </td> |
| <td> </td> |
| </tr> |
| </#list> |
| <#list itemIssuances as itemIssuance> |
| <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> |
| <td> </td> |
| <td><span class="label">${uiLabelMap.ProductOrderItem}</span> <a href="/ordermgr/control/orderview?orderId=${itemIssuance.orderId!}&externalLoginKey=${requestAttributes.externalLoginKey}" class="buttontext">${itemIssuance.orderId!}</a>${itemIssuance.orderItemSeqId!}</td> |
| <td><span class="label">${uiLabelMap.ProductInventory}</span> <a href="<@ofbizUrl>EditInventoryItem?inventoryItemId=${itemIssuance.inventoryItemId!}</@ofbizUrl>" class="buttontext">${itemIssuance.inventoryItemId!}</a></td> |
| <td>${itemIssuance.quantity!}</td> |
| <td>${itemIssuance.issuedDateTime!}</td> |
| <td class="label">${uiLabelMap.ProductFuturePartyRoleList}</td> |
| </tr> |
| </#list> |
| <#list shipmentPackageContents as shipmentPackageContent> |
| <tr valign="middle"<#if alt_row> class="alternate-row"</#if>> |
| <td> </td> |
| <td colspan="2"><span class="label">${uiLabelMap.ProductPackage}</span> ${shipmentPackageContent.shipmentPackageSeqId}</td> |
| <td>${shipmentPackageContent.quantity!}</td> |
| <td colspan="2"> </td> |
| </tr> |
| </#list> |
| <#-- toggle the row color --> |
| <#assign alt_row = !alt_row> |
| </#list> |
| </table> |
| </div> |
| </div> |
| </#if> |