diff --git a/applications/ecommerce/webapp/ecommerce/customer/SerializedInventorySummary.ftl b/applications/ecommerce/webapp/ecommerce/customer/SerializedInventorySummary.ftl new file mode 100644 index 0000000000..07dd4bd702 --- /dev/null +++ b/applications/ecommerce/webapp/ecommerce/customer/SerializedInventorySummary.ftl @@ -0,0 +1,62 @@ +<#-- +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. +--> + +
| ${uiLabelMap.ProductInventoryItemId} | +${uiLabelMap.ProductProductName} | +${uiLabelMap.ProductSerialNumber} | +${uiLabelMap.ProductSoftIdentifier} | +${uiLabelMap.ProductActivationNumber} | +${uiLabelMap.ProductActivationNumber} ${uiLabelMap.CommonValidThruDate} | +
| ${inventoryItem.inventoryItemId} | ++ <#if product?has_content> + <#if product.isVariant?default('N') == 'Y'> + <#assign product = Static['org.ofbiz.product.product.ProductWorker'].getParentProduct(product.productId, delegator)?if_exists> + #if> + <#if product?has_content> + <#assign productName = Static['org.ofbiz.product.product.ProductContentWrapper'].getProductContentAsText(product, 'PRODUCT_NAME', request)?if_exists> + ${productName?default(product.productId)} + #if> + #if> + | +${inventoryItem.serialNumber?if_exists} | +${inventoryItem.softIdentifier?if_exists} | +${inventoryItem.activationNumber?if_exists} | +${inventoryItem.activationValidThru?if_exists} | +
| ${uiLabelMap.ProductInventoryItemId} | +${uiLabelMap.ProductProductName} | +${uiLabelMap.ProductSerialNumber} | +${uiLabelMap.ProductSoftIdentifier} | +${uiLabelMap.ProductActivationNumber} | +${uiLabelMap.ProductActivationNumber} ${uiLabelMap.CommonValidThruDate} | +
| ${inventoryItem.inventoryItemId} | ++ <#if product?has_content> + <#if product.isVariant?default('N') == 'Y'> + <#assign product = Static['org.ofbiz.product.product.ProductWorker'].getParentProduct(product.productId, delegator)?if_exists> + #if> + <#if product?has_content> + <#assign productName = Static['org.ofbiz.product.product.ProductContentWrapper'].getProductContentAsText(product, 'PRODUCT_NAME', request)?if_exists> + ${productName?default(product.productId)} + #if> + #if> + | +${inventoryItem.serialNumber?if_exists} | +${inventoryItem.softIdentifier?if_exists} | +${inventoryItem.activationNumber?if_exists} | +${inventoryItem.activationValidThru?if_exists} | +