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

📄 trialbalance.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 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--><br/><table border="0" cellpadding="0">  <tr>     <td colspan="3" class="tableheadtext" align="center">${uiLabelMap.AccountingTrialBalance} for ${parameters.organizationName?if_exists} (${organizationPartyId})</td>  </tr>   <tr><td colspan="3" class="tabletext" align="center">${uiLabelMap.CommonFor} ${Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp()?string("EEEE, MMMM dd, yyyy")}</td></tr>   <tr><td colspan="3">&nbsp;</td></tr>   <tr> <th class="tableheadtext">Account</th> <th class="tableheadtext">Debit</th> <th class="tableheadtext">Credit</th></tr><#assign currencyUomId = parameters.orgCurrencyUomId>  <!-- for some reason, putting this in context in main-decorator.bsh does not work --><#assign debitTotal=0/><#assign creditTotal=0/><#list trialBalances as balance>  <#if (balance.postedBalance > 0.01) || (balance.postedBalance < -0.01)> <#-- skip the "gremlin" entries -->  <tr>   <td class="tabletext" width="70%" nowrap>     <a href="<@ofbizUrl>AccountActivitiesDetail?glAccountId=${balance.glAccountId}&organizationPartyId=${organizationPartyId}</@ofbizUrl>">${balance.getRelatedOne("GlAccount").getString("accountCode")}</a>   ${balance.getRelatedOne("GlAccount").getString("accountName")}       <#if Static["org.ofbiz.accounting.util.UtilAccounting"].isDebitAccount(balance.getRelatedOne("GlAccount"))>        <td class="tabletext" align="right" width="15%"><@ofbizCurrency amount=balance.get("postedBalance") isoCode=currencyUomId/></td><td width="15%">&nbsp;</td>        <#assign debitTotal = debitTotal + balance.postedBalance?default(0.0)/>       <#else>        <td>&nbsp;</td><td class="tabletext" align="right"><@ofbizCurrency amount=balance.get("postedBalance") isoCode=currencyUomId/></td>        <#assign creditTotal = creditTotal + balance.postedBalance?default(0.0)/>    </#if>  </tr>  </#if></#list><tr><td colspan="5"><hr/></td></tr>  <tr>     <td>&nbsp;</td>     <td class="tabletext" align="right"><@ofbizCurrency amount=debitTotal isoCode=currencyUomId/></td>     <td class="tabletext" align="right"><@ofbizCurrency amount=creditTotal isoCode=currencyUomId/></td>  </tr></table>

⌨️ 快捷键说明

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