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

📄 cuttinglistreport.fo.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
字号:
<?xml version="1.0" encoding="UTF-8" ?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"><#-- *  Copyright (c) 2004 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) *@version    $Rev: 5462 $ *@since      3.2--><#-- do not display columns associated with values specified in the request, ie constraint values --><#--<#assign showProductStore = !parameters.productStoreId?has_content>--><fo:layout-master-set>    <fo:simple-page-master master-name="main" page-height="11in" page-width="8.5in"            margin-top="0.5in" margin-bottom="1in" margin-left="0.5in" margin-right="0.5in">        <fo:region-body margin-top="1in"/>        <fo:region-before extent="1in"/>        <fo:region-after extent="1in"/>    </fo:simple-page-master></fo:layout-master-set><#if security.hasEntityPermission("MANUFACTURING", "_VIEW", session)><#if cuttingList?has_content>        <fo:page-sequence master-reference="main">        <fo:flow flow-name="xsl-region-body" font-family="Helvetica">            <fo:block font-size="16pt">Cutting List</fo:block>            <fo:block font-size="12pt">Shipment Plan: ${shipmentId} Delivery date: ${shipment.estimatedShipDate?if_exists}</fo:block>            <fo:block space-after.optimum="10pt" font-size="10pt">            <fo:table>                <fo:table-column column-width="60pt"/>                <fo:table-column column-width="60pt"/>                <fo:table-column column-width="80pt"/>                <fo:table-column column-width="120pt"/>                <fo:table-column column-width="180pt"/>                <fo:table-header>                    <fo:table-row font-weight="bold">                        <fo:table-cell border-bottom="thin solid grey"><fo:block>Width</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block>Height</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block>Quantity</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block>ProductId</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block>Description</fo:block></fo:table-cell>                    </fo:table-row>                </fo:table-header>                <fo:table-body>                    <#assign dimColor = "#D4D0C8">                    <#assign rowColor = "white">                    <#list cuttingList as dimension>                        <fo:table-row>                            <fo:table-cell padding="2pt" background-color="${dimColor}">                                <fo:block>${dimension.width?if_exists}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${dimColor}">                                <fo:block>${dimension.height?if_exists}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${dimColor}">                                <fo:block>${dimension.quantity?if_exists}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${dimColor}">                                <fo:block></fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${dimColor}">                                <fo:block></fo:block>                            </fo:table-cell>                        </fo:table-row>                        <#assign products = dimension.products>                            <#list products as product>                                <fo:table-row>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                    <fo:block></fo:block>                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                    <fo:block></fo:block>                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                    <fo:block>${product.quantity?if_exists}</fo:block>                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                    <fo:block>${product.product.productId?if_exists}</fo:block>                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                    <fo:block>${product.product.internalName?if_exists}</fo:block>                                </fo:table-cell>                            </fo:table-row>                            </#list>                    </#list>                          </fo:table-body>            </fo:table>            </fo:block>        </fo:flow>        </fo:page-sequence><#else>    <fo:page-sequence master-reference="main">    <fo:flow flow-name="xsl-region-body" font-family="Helvetica">        <fo:block font-size="14pt">            No Data Available.        </fo:block>    </fo:flow>    </fo:page-sequence></#if><#else>    <fo:block font-size="14pt">        ${uiLabelMap.ManufacturingViewPermissionError}    </fo:block></#if></fo:root>

⌨️ 快捷键说明

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