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

📄 quotereport.fo.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
                <fo:table-column column-width="50pt"/>                <fo:table-column column-width="50pt"/>                <fo:table-column column-width="50pt"/>                <fo:table-header>                    <fo:table-row font-weight="bold">                        <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.ProductItem}</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block>${uiLabelMap.EcommerceProduct}</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block text-align="right">${uiLabelMap.ProductQuantity}</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block text-align="right">${uiLabelMap.OrderAmount}</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block text-align="right">${uiLabelMap.OrderOrderQuoteUnitPrice}</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block text-align="right">${uiLabelMap.OrderAdjustments}</fo:block></fo:table-cell>                        <fo:table-cell border-bottom="thin solid grey"><fo:block text-align="right">${uiLabelMap.CommonSubtotal}</fo:block></fo:table-cell>                    </fo:table-row>                </fo:table-header>                <fo:table-body>                    <#assign rowColor = "white">                    <#assign totalQuoteAmount = 0.0>                    <#list quoteItems as quoteItem>                        <#if quoteItem.productId?exists>                            <#assign product = quoteItem.getRelatedOne("Product")>                        </#if>                        <#assign quoteItemAmount = quoteItem.quoteUnitPrice?default(0) * quoteItem.quantity?default(0)>                        <#assign quoteItemAdjustments = quoteItem.getRelated("QuoteAdjustment")>                        <#assign totalQuoteItemAdjustmentAmount = 0.0>                        <#list quoteItemAdjustments as quoteItemAdjustment>                            <#assign totalQuoteItemAdjustmentAmount = quoteItemAdjustment.amount?default(0) + totalQuoteItemAdjustmentAmount>                        </#list>                        <#assign totalQuoteItemAmount = quoteItemAmount + totalQuoteItemAdjustmentAmount>                        <#assign totalQuoteAmount = totalQuoteAmount + totalQuoteItemAmount>                        <fo:table-row>                            <fo:table-cell padding="2pt" background-color="${rowColor}">                                <fo:block>${quoteItem.quoteItemSeqId}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${rowColor}">                                <fo:block>${(product.internalName)?xml?if_exists} [${quoteItem.productId?if_exists}]</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${rowColor}">                                <fo:block text-align="right">${quoteItem.quantity?if_exists}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${rowColor}">                                <fo:block text-align="right">${quoteItem.selectedAmount?if_exists}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${rowColor}">                                <fo:block text-align="right"><@ofbizCurrency amount=quoteItem.quoteUnitPrice isoCode=quote.currencyUomId/></fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${rowColor}">                                <fo:block text-align="right"><@ofbizCurrency amount=totalQuoteItemAdjustmentAmount isoCode=quote.currencyUomId/></fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt" background-color="${rowColor}">                                <fo:block text-align="right"><@ofbizCurrency amount=totalQuoteItemAmount isoCode=quote.currencyUomId/></fo:block>                            </fo:table-cell>                        </fo:table-row>                        <#list quoteItemAdjustments as quoteItemAdjustment>                            <#assign adjustmentType = quoteItemAdjustment.getRelatedOne("OrderAdjustmentType")>                            <fo:table-row>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                    <fo:block font-size="7pt" text-align="right">${adjustmentType.description?if_exists}</fo:block>                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                    <fo:block font-size="7pt" text-align="right"><@ofbizCurrency amount=quoteItemAdjustment.amount isoCode=quote.currencyUomId/></fo:block>                                </fo:table-cell>                                <fo:table-cell padding="2pt" background-color="${rowColor}">                                </fo:table-cell>                            </fo:table-row>                        </#list>                        <#if rowColor == "white">                            <#assign rowColor = "#D4D0C8">                        <#else>                            <#assign rowColor = "white">                        </#if>                            </#list>                          </fo:table-body>            </fo:table>                                                            <fo:block space-after.optimum="10pt" font-size="8pt">                <fo:table>                    <fo:table-column column-width="390pt"/>                    <fo:table-column column-width="50pt"/>                    <fo:table-column column-width="50pt"/>                    <fo:table-body>                        <fo:table-row>                            <fo:table-cell></fo:table-cell>                            <fo:table-cell padding="2pt">                                <fo:block font-weight="bold" text-align="right">${uiLabelMap.CommonSubtotal}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt">                                <fo:block font-weight="bold" text-align="right"><@ofbizCurrency amount=totalQuoteAmount isoCode=quote.currencyUomId/></fo:block>                            </fo:table-cell>                        </fo:table-row>                        <#assign totalQuoteHeaderAdjustmentAmount = 0.0>                        <#list quoteAdjustments as quoteAdjustment>                            <#assign adjustmentType = quoteAdjustment.getRelatedOne("OrderAdjustmentType")>                            <#if !quoteAdjustment.quoteItemSeqId?exists>                                <#assign totalQuoteHeaderAdjustmentAmount = quoteAdjustment.amount?default(0) + totalQuoteHeaderAdjustmentAmount>                                <fo:table-row>                                    <fo:table-cell></fo:table-cell>                                    <fo:table-cell padding="2pt">                                        <fo:block font-weight="bold" text-align="right">${adjustmentType.description?if_exists}</fo:block>                                    </fo:table-cell>                                    <fo:table-cell padding="2pt">                                        <fo:block font-weight="bold" text-align="right"><@ofbizCurrency amount=quoteAdjustment.amount isoCode=quote.currencyUomId/></fo:block>                                    </fo:table-cell>                                </fo:table-row>                            </#if>                        </#list>                        <#assign grandTotalQuoteAmount = totalQuoteAmount + totalQuoteHeaderAdjustmentAmount>                        <fo:table-row>                            <fo:table-cell></fo:table-cell>                            <fo:table-cell padding="2pt">                                <fo:block font-weight="bold" text-align="right">${uiLabelMap.OrderGrandTotal}</fo:block>                            </fo:table-cell>                            <fo:table-cell padding="2pt">                                <fo:block font-weight="bold" text-align="right"><@ofbizCurrency amount=grandTotalQuoteAmount isoCode=quote.currencyUomId/></fo:block>                            </fo:table-cell>                        </fo:table-row>                    </fo:table-body>                </fo:table>            </fo:block>        </fo:block>        <#-- marks the end of the pages and used to identify page-number at the end -->        <fo:block id="theEnd"/>    </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">Quote Not Found.</fo:block>    </fo:flow></fo:page-sequence></#if></fo:root>

⌨️ 快捷键说明

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