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

📄 picklist.ftl

📁 国外的一套开源CRM
💻 FTL
📖 第 1 页 / 共 2 页
字号:
                  <#else>
                    <td colspan="2" valign="top">
                      <#if statusItem?exists>
                        <div class="tabletext">${statusItem.description}</div>
                      <#else>
                        <div class="tabletext">${inventoryItem.statusId?if_exists}</div>
                      </#if>
                    </td>
                  </#if>
                  -->
                </tr>
                <#-- toggle the row color -->
                <#if rowClass == "viewManyTR2">
                  <#assign rowClass = "viewManyTR1">
                <#else>
                  <#assign rowClass = "viewManyTR2">
                </#if>
              </#if>
          </#list>
        <#else>
          <tr>
            <td colspan="4"><div class="head3">${uiLabelMap.ProductNoInventoryFoundToPick}.</div></td>
          </tr>        
        </#if>
      </table>
    </td>
  </tr>
</table>
<br>
<table border=0 width="100%" cellspacing="0" cellpadding="0" class="boxoutside">
  <tr>
    <td width="100%">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">
        <tr>
          <td width="50%"><div class="boxhead">${uiLabelMap.OrderOrdersToPack}</div></td>
          <td width="50%"><div class="boxhead" align=right>&nbsp;</div></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="2" class="boxbottom">
        <tr>
          <td width="10%" align="left"><div class="tableheadtext">${uiLabelMap.OrderOrderItem}</div></td>
          <td width="40%" align="left"><div class="tableheadtext">${uiLabelMap.ProductProductId}</div></td>
          <td width="20%" align="left"><div class="tableheadtext">${uiLabelMap.ProductQuantity}</div></td>
          <td width="20%" align="left"><div class="tableheadtext">${uiLabelMap.ProductInventoryAvailNotAvail}</div></td>
        </tr>
        <tr>
          <td colspan="10"><hr class="sepbar"></td>
        </tr>
        <#if orderHeaderInfoList?has_content>
          <#assign rowClass = "viewManyTR2">
          <#list orderHeaderInfoList as orderHeaderInfo>
    	    <#-- orderHeaderInfoList: List of Maps with orderHeader and orderItemInfoList which is List of Maps with orderItem, product and orderItemInventoryResList -->
            <#assign orderHeader = orderHeaderInfo.orderHeader>
            <#assign orderItemInfoList = orderHeaderInfo.orderItemInfoList>
            <#list orderItemInfoList as orderItemInfo>
              <#assign orderItem = orderItemInfo.orderItem>
              <#assign product = orderItemInfo.product>
              <#assign orderItemInventoryResList = orderItemInfo.orderItemInventoryResList>
              <tr class="${rowClass}">
                <td valign="top">
                  <div class="tabletext"><b>${orderHeaderInfo_index+1}</b>-${orderItem.orderId}:${orderItem.orderItemSeqId}</div>
                </td>
                <td valign="top">
                  <#if product?has_content>
                    <div class="tabletext">${product.internalName} [${product.productId}]</div>
                  <#else>
                    <div class="tabletext">&nbsp;</div>
                  </#if>
                </td>
                <td valign="top">
                  <div class="tabletext">${orderItem.quantity}</div>
                </td>
                <td valign="top">
                  <#list orderItemInventoryResList as orderItemInventoryRes>
                    <div class="tabletext">${orderItemInventoryRes.inventoryItemId}:${orderItemInventoryRes.quantity}:${orderItemInventoryRes.quantityNotAvailable?if_exists}</div>
                  </#list>
                </td>
              </tr>
            </#list>
              <#-- toggle the row color -->
              <#if rowClass == "viewManyTR2">
                <#assign rowClass = "viewManyTR1">
              <#else>
                <#assign rowClass = "viewManyTR2">
              </#if>        
          </#list>          
        <#else>
          <tr>
            <td colspan="4"><div class="head3">${uiLabelMap.ProductNoInventoryFoundToPick}.</div></td>
          </tr>        
        </#if>
      </table>
    </td>
  </tr>
</table>

<#if insufficientQohList?has_content || wrongQuantityReservedList?has_content>
<br>
<table border=0 width="100%" cellspacing="0" cellpadding="0" class="boxoutside">
  <tr>
    <td width="100%">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">
        <tr>
          <td width="50%"><div class="boxhead">${uiLabelMap.ProductPickPackWarnings}</div></td>
          <td width="50%"><div class="boxhead" align=right>&nbsp;</div></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="2" class="boxbottom">
    	<#-- wrongQuantityReservedList: List of Maps with reservedQuantity and orderItem -->
    	<#-- insufficientQohList: List of Maps with inventoryItem and quantityNeeded -->
        <#assign rowClass = "viewManyTR2">
          <#list insufficientQohList?if_exists as insufficientQoh>
            <#assign inventoryItem = insufficientQoh.inventoryItem>
            <#assign quantityNeeded = insufficientQoh.quantityNeeded>
              <tr class="${rowClass}">
                <td>
                  <div class="tabletext">Inventory item with ID [${inventoryItem.inventoryItemId}] has ${inventoryItem.quantityOnHand?if_exists} on hand but needs ${quantityNeeded} for a full pick.</div>
                </td>
              </tr>
              <#-- toggle the row color -->
              <#if rowClass == "viewManyTR2">
                <#assign rowClass = "viewManyTR1">
              <#else>
                <#assign rowClass = "viewManyTR2">
              </#if>        
          </#list>          
          <#list wrongQuantityReservedList?if_exists as wrongQuantityReserved>
            <#assign orderItem = wrongQuantityReserved.orderItem>
            <#assign reservedQuantity = wrongQuantityReserved.reservedQuantity>
            <#assign issuedQuantity = wrongQuantityReserved.issuedQuantity>
            <#assign reservedIssuedQuantity = wrongQuantityReserved.reservedIssuedQuantity>
              <tr class="${rowClass}">
                <td>
                  <div class="tabletext">Order Item ${orderItem.orderId}:${orderItem.orderItemSeqId} is for ${orderItem.quantity} of product ID [${orderItem.productId}] but ${reservedQuantity} was reserved and ${issuedQuantity} has been issued. The total reserved and issued is ${reservedIssuedQuantity} which does not equal: ${orderItem.quantity} the order item quantity.</div>
                </td>
              </tr>
              <#-- toggle the row color -->
              <#if rowClass == "viewManyTR2">
                <#assign rowClass = "viewManyTR1">
              <#else>
                <#assign rowClass = "viewManyTR2">
              </#if>        
          </#list>          
      </table>
    </td>
  </tr>
</table>
</#if>

<#else>
  <h3>${uiLabelMap.ProductFacilityViewPermissionError}</h3>
</#if>

⌨️ 快捷键说明

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