📄 customervendorstatement.ftl
字号:
<#-- * Copyright (C) 2006 Open Source Strategies, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * --><#if transactions?exists><div style="border: 1px solid #999999; margin-top: 20px; margin-bottom: 20px;"></div><table style=""> <tr><td colspan="4"> </td></tr> <tr> <td class="tableheadtext" width="25%">${uiLabelMap.CommonDate}</td> <td class="tableheadtext" width="25%">${uiLabelMap.FinancialsTransaction}</td> <td class="tableheadtext" align="right">${uiLabelMap.AccountingAmount}</td> <td class="tableheadtext" align="right">${uiLabelMap.FinancialsStatementsBalance}</td> </tr> <tr> <td> </td> <td class="tabletext" colspan="2">${uiLabelMap.FinancialsStatementsBeginningBalance}</td> <td colspan="2" class="tabletext" align="right"><@ofbizCurrency amount=beginningBalance isoCode=orgCurrencyUomId/></td> </tr> <#assign runningBalance = beginningBalance?default(0)/> <#list transactions as transaction> <tr> <td class="tabletext">${transaction.transactionDate?string("MMMM dd, yyyy")}</td> <#if transaction.invoiceId?exists> <td class="tabletext"> ${uiLabelMap.AccountingInvoice} <a href="/accounting/control/invoiceOverview?invoiceId=${transaction.invoiceId}&externalLoginKey=${externalLoginKey?if_exists}" class="buttontext">${transaction.invoiceId}</a> </td> <#assign transactionAmount = transaction.amount> <#elseif transaction.paymentId?exists> <td class="tabletext"> ${uiLabelMap.AccountingPayment} <a href="<@ofbizUrl>/viewPayment?paymentId=${transaction.paymentId}</@ofbizUrl>" class="buttontext">${transaction.paymentId}</a> </td> <#assign transactionAmount = 0 - transaction.amount> </#if> <td class="tabletext" align="right"><@ofbizCurrency amount=transactionAmount isoCode=orgCurrencyUomId/></td> <#assign runningBalance = runningBalance + transactionAmount> <td class="tabletext" align="right"><@ofbizCurrency amount=runningBalance isoCode=orgCurrencyUomId/></td> </tr> </#list> <tr> <td> </td> <td class="tabletext" colspan="2">${uiLabelMap.FinancialsStatementsEndingBalance}</td> <td class="tabletext" align="right"><@ofbizCurrency amount=runningBalance isoCode=orgCurrencyUomId/></td> </tr></table></#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -