⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 additemsfromorder.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
<#-- *  Copyright (c) 2003-2005 The Open For Business Project - www.ofbiz.org * *  Permission is hereby granted, free of charge, to any person obtaining a  *  copy of this software and associated documentation files (the "Software"),  *  to deal in the Software without restriction, including without limitation  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,  *  and/or sell copies of the Software, and to permit persons to whom the  *  Software is furnished to do so, subject to the following conditions: * *  The above copyright notice and this permission notice shall be included  *  in all copies or substantial portions of the Software. * *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author     David E. Jones (jonesde@ofbiz.org) *@author     Catherine.Heintz@nereide.biz (migration to UiLabel) *@version    $Rev: 6118 $ *@since      2.2--><#if shipment?exists><form name="additemsfromorder" action="<@ofbizUrl>AddItemsFromOrder</@ofbizUrl>">	<input type="hidden" name="shipmentId" value="${shipmentId}"/>	<div class="tabletext">        ${uiLabelMap.ProductOrderId} : <input type="text" class='inputBox' size="20" name="orderId" value="${orderId?if_exists}"/>        <span class='tabletext'>            <a href="javascript:call_fieldlookup2(document.additemsfromorder.orderId,'LookupOrderHeaderAndShipInfo');">                <img src='/images/fieldlookup.gif' width='15' height='14' border='0' alt='Click here For Field Lookup'>            </a>        </span>        ${uiLabelMap.ProductOrderShipGroupId} : <input type="text" class='inputBox' size="20" name="shipGroupSeqId" value="${shipGroupSeqId?if_exists}"/>        <input type="submit" value="Select" class="smallSubmit"/>    </div></form><div class="head2">${uiLabelMap.ProductAddItemsShipment}: [${shipmentId?if_exists}]; ${uiLabelMap.OrderFromOrder}: [${orderId?if_exists}], ${uiLabelMap.OrderShipGroup}: [${shipGroupSeqId?if_exists}]</div><#if orderId?has_content && !orderHeader?exists>	<div class="head3" style="color: red;"><#assign uiLabelWithVar=uiLabelMap.ProductErrorOrderIdNotFound?interpret><@uiLabelWithVar/>.</div></#if><#if orderHeader?exists>    <#if orderHeader.orderTypeId == "SALES_ORDER" && shipment.shipmentTypeId?if_exists != "SALES_SHIPMENT">        <div class="head3" style="color: red;">${uiLabelMap.ProductWarningOrderType} ${(orderType.description)?default(orderHeader.orderTypeId?if_exists)}, ${uiLabelMap.ProductNotSalesShipment}.</div>    <#elseif orderHeader.orderTypeId == "PURCHASE_ORDER" && shipment.shipmentTypeId?if_exists != "PURCHASE_SHIPMENT">        <div class="head3" style="color: red;">${uiLabelMap.ProductWarningOrderType} ${(orderType.description)?default(orderHeader.orderTypeId?if_exists)}, ${uiLabelMap.ProductNotPurchaseShipment}.</div>    <#else>        <div class="head3">${uiLabelMap.ProductNoteOrderType} ${(orderType.description)?default(orderHeader.orderTypeId?if_exists)}.</div>    </#if>    <#if shipment.shipmentTypeId?if_exists == "SALES_SHIPMENT">		<div class="head3">${uiLabelMap.ProductOriginFacilityIs}: <#if originFacility?exists>${originFacility.facilityName?if_exists} [${originFacility.facilityId}]<#else><span style="color: red;">${uiLabelMap.ProductNotSet}</span></#if></div>    <#elseif shipment.shipmentTypeId?if_exists == "PURCHASE_SHIPMENT">		<div class="head3">${uiLabelMap.ProductDestinationFacilityIs}: <#if destinationFacility?exists>${destinationFacility.facilityName?if_exists} [${destinationFacility.facilityId}]<#else><span style="color: red;">${uiLabelMap.ProductNotSet}</span></#if></div>    </#if>    <#if "ORDER_APPROVED" == orderHeader.statusId || "ORDER_BACKORDERED" == orderHeader.statusId>        <div class="head3">${uiLabelMap.ProductNoteOrderStatus} ${(orderHeaderStatus.description)?default(orderHeader.statusId?if_exists)}.</div>    <#elseif "ORDER_COMPLETED" == orderHeader.statusId>        <div class="head3">${uiLabelMap.ProductNoteOrderStatus} ${(orderHeaderStatus.description)?default(orderHeader.statusId?if_exists)}, ${uiLabelMap.ProductNoItemsLeft}.</div>    <#else>        <div class="head3" style="color: red;">${uiLabelMap.ProductWarningOrderStatus} ${(orderHeaderStatus.description)?default(orderHeader.statusId?if_exists)}; ${uiLabelMap.ProductApprovedBeforeShipping}.</div>    </#if></#if><#if orderItemDatas?exists>    <#assign rowCount = 0>    <#if isSalesOrder>        <form action="<@ofbizUrl>issueOrderItemShipGrpInvResToShipment</@ofbizUrl>" name="selectAllForm">    <#else>        <form action="<@ofbizUrl>issueOrderItemToShipment</@ofbizUrl>" name="selectAllForm">    </#if>    <input type="hidden" name="shipmentId" value="${shipmentId}">    <input type="hidden" name="_useRowSubmit" value="Y">    <table width="100%" cellpadding="2" cellspacing="0" border="1">        <tr>            <td><div class="tableheadtext">${uiLabelMap.ProductOrderId}/Ship Group/${uiLabelMap.ProductOrderItem}</div></td>            <td><div class="tableheadtext">${uiLabelMap.ProductProduct}</div></td>            <#if isSalesOrder>                <td><div class="tableheadtext">${uiLabelMap.ProductItemsIssuedReserved}</div></td>                <td><div class="tableheadtext">${uiLabelMap.ProductIssuedReservedTotalOrdered}</div></td>                <td><div class="tableheadtext">${uiLabelMap.ProductReserved}</div></td>                <td><div class="tableheadtext">${uiLabelMap.ProductNotAvailable}</div></td>            <#else>                <td><div class="tableheadtext">${uiLabelMap.ProductItemsIssued}</div></td>                <td><div class="tableheadtext">${uiLabelMap.ProductIssedOrdered}</div></td>            </#if>            <td><div class="tableheadtext">${uiLabelMap.ProductIssue}</div></td>            <td align="right">                <div class="tableheadtext">${uiLabelMap.CommonSubmit} ?</div>                <div class="tableheadtext">${uiLabelMap.CommonAll}<input type="checkbox" name="selectAll" value="${uiLabelMap.CommonY}" onclick="javascript:toggleAll(this, 'selectAllForm');"></div>            </td>        </tr>        <#list orderItemDatas?if_exists as orderItemData>            <#assign orderItemAndShipGroupAssoc = orderItemData.orderItemAndShipGroupAssoc>            <#assign product = orderItemData.product?if_exists>            <#assign itemIssuances = orderItemData.itemIssuances>            <#assign totalQuantityIssued = orderItemData.totalQuantityIssued>            <#assign orderItemShipGrpInvResDatas = orderItemData.orderItemShipGrpInvResDatas?if_exists>            <#assign totalQuantityReserved = orderItemData.totalQuantityReserved?if_exists>            <#assign totalQuantityIssuedAndReserved = orderItemData.totalQuantityIssuedAndReserved?if_exists>            <tr>                <td><div class="tabletext">${orderItemAndShipGroupAssoc.orderId} / ${orderItemAndShipGroupAssoc.shipGroupSeqId} / ${orderItemAndShipGroupAssoc.orderItemSeqId}</div></td>                <td><div class="tabletext">${(product.internalName)?if_exists} [${orderItemAndShipGroupAssoc.productId?default("N/A")}]</div></td>                <td>                    <#if itemIssuances?has_content>                        <#list itemIssuances as itemIssuance>                            <div class="tabletext"><b>[${itemIssuance.quantity?if_exists}]</b>${itemIssuance.shipmentId?if_exists}:${itemIssuance.shipmentItemSeqId?if_exists} ${uiLabelMap.CommonOn} [${(itemIssuance.issuedDateTime.toString())?if_exists}] ${uiLabelMap.CommonBy} [${(itemIssuance.issuedByUserLoginId)?if_exists}]</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -