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

📄 viewpayment.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--><#--If you have come this far, paymentValue should be a valid Payment Object.--><#if paymentValue?has_content><#assign paymentStatusChangeAction = ""><#assign paymentStatusChangeAction = "<a class='buttontext' href='editPayment?paymentTypeId=" + addPaymentTypeId + "'>" + uiLabelMap.CommonCreateNew + "</a>"><#if paymentValue.statusId.equals("PMNT_NOT_PAID")>  <#assign paymentStatusChangeAction = paymentStatusChangeAction + "<a class='buttontext' href='editPayment?paymentId=" + paymentValue.paymentId + "'>" + uiLabelMap.CommonEdit + "</a>"></#if><#if isDisbursement && paymentValue.statusId.equals("PMNT_NOT_PAID")>  <#assign paymentStatusChangeAction = paymentStatusChangeAction + "<a class='buttontext' href='setPaymentStatus?paymentId=" + paymentValue.paymentId + "&statusId=PMNT_SENT" + "'>" + uiLabelMap.FinancialsPaymentStatusToSent + "</a>"></#if><#if !isDisbursement && paymentValue.statusId.equals("PMNT_NOT_PAID")>  <#assign paymentStatusChangeAction = paymentStatusChangeAction + "<a class='buttontext' href='setPaymentStatus?paymentId=" + paymentValue.paymentId + "&statusId=PMNT_RECEIVED" + "'>" + uiLabelMap.FinancialsPaymentStatusToReceived + "</a>"></#if><#if paymentValue.statusId.equals("PMNT_NOT_PAID")>  <#assign paymentStatusChangeAction = paymentStatusChangeAction + "<a class='buttontext' href='setPaymentStatus?paymentId=" + paymentValue.paymentId + "&statusId=PMNT_CANCELLED" + "'>" + uiLabelMap.FinancialsPaymentStatusToCanceled + "</a>"></#if><#if paymentValue.statusId.equals("PMNT_RECEIVED") || paymentValue.statusId.equals("PMNT_SENT")>  <#assign paymentStatusChangeAction = paymentStatusChangeAction + "<a class='buttontext' href='setPaymentStatus?paymentId=" + paymentValue.paymentId + "&statusId=PMNT_CONFIRMED" + "'>" + uiLabelMap.FinancialsPaymentStatusToConfirmed + "</a>"></#if><div class="screenlet-header">    <div style="float: right;">      ${paymentStatusChangeAction?if_exists}<a href="/accounting/control/printChecks.pdf?paymentId=${paymentValue.paymentId}" class="buttontext">${uiLabelMap.AccountingPrintAsCheck}</a>     </div>        <div class="boxhead">    <#if isDisbursement>      ${uiLabelMap.FinancialsPayablesPayment}    <#else>        ${uiLabelMap.FinancialsReceivablesPayment}    </#if>      </div></div><table border="0" cellpadding="2" cellspacing="0" width="100%">   <tr>     <td width="20%" align="right"><div class="tableheadtext">${uiLabelMap.AccountingPaymentType} </div></td>     <td width="2%">&nbsp;</td>     <td>       <div class="tabletext">${paymentType.get("description")}</div>     </td>   </tr>      <tr>     <td width="25%" align="right">       <div class="tableheadtext">         <#if isDisbursement>           ${uiLabelMap.FinancialsPayToParty}          <#else>             ${uiLabelMap.FinancialsReceiveFromParty}          </#if>       </div>     </td>     <td width="2%">&nbsp;</td>     <td nowrap>       <#if isDisbursement>         <div class="tabletext">${partyNameTo} (<a href="<@ofbizUrl>/vendorStatement?partyId=${paymentValue.partyIdTo}</@ofbizUrl>" class="buttontext">${paymentValue.partyIdTo}</a>)</div>       <#else>         <div class="tabletext">${partyNameFrom} (<a href="<@ofbizUrl>/customerStatement?partyId=${paymentValue.partyIdFrom}</@ofbizUrl>" class="buttontext">${paymentValue.partyIdFrom}</a>)</div>       </#if>     </td>   </tr>         <#if paymentValue?has_content>     <input type="hidden" name="statusId" value="${paymentValue.statusId?if_exists}">     <#assign statusValue = paymentValue.getRelatedOne("StatusItem")>     <tr>       <td width="20%" align="right"><div class="tableheadtext">${uiLabelMap.FinancialsStatusId} </div></td>       <td width="2%">&nbsp;</td>       <td><div class="tabletext">${statusValue.description?if_exists}</div></td>     </tr>      </#if>      <tr>     <#if isDisbursement >       <td width="20%" align="right"><div class="tableheadtext">${uiLabelMap.AccountingPaymentMethod} </div></td>       <td width="2%">&nbsp;</td>       <td nowrap>         <div class="tabletext"><#if paymentMethod?has_content>${paymentMethod.description?if_exists} (${paymentMethod.paymentMethodId})</#if></div>       </td>     <#else>       <td width="20%" align="right" nowrap><div class="tableheadtext">${uiLabelMap.AccountingPaymentMethodType} </div></td>       <td width="2%">&nbsp;</td>       <td nowrap>         <div class="tabletext">${paymentMethodType.description?if_exists}</div>       </td>     </#if>   </tr>      <tr>     <td width="20%" align="right"><div class="tableheadtext">${uiLabelMap.AccountingAmount} </div></td>     <td width="2%">&nbsp;</td>     <td nowrap><div class="tabletext"><@ofbizCurrency amount=paymentValue.amount?default("0.0") isoCode=paymentValue.currencyUomId/></div></td>   </tr>      <tr>     <td width="25%" align="right"><div class="tableheadtext">${uiLabelMap.AccountingEffectiveDate} </div></td>     <td width="2%">&nbsp;</td>     <td nowrap><div class="tabletext">${paymentValue.effectiveDate?if_exists}</div></td>   </tr>      <tr>     <td width="20%" align="right"><div class="tableheadtext">${uiLabelMap.CommonComments} </div></td>     <td width="2%">&nbsp;</td>     <td width="80%" colspan="4"><div class="tabletext">${paymentValue.comments?if_exists}</div></td>   </tr>      <tr>     <td width="20%" align="right"><div class="tableheadtext">${uiLabelMap.FinancialsPaymentRefNum} </div></td>     <td width="2%">&nbsp;</td>     <td nowrap><div class="tabletext">${paymentValue.paymentRefNum?if_exists}</div></td>   </tr>      <tr>     <td width="20%" align="right"><div class="tableheadtext">&nbsp;</div></td>     <td width="2%">&nbsp;</td>     <td colspan="4"></td>   </tr></table><#if paymentApplications?has_content>	<div class="screenlet-header">        <div class="boxhead">           ${uiLabelMap.FinancialsPaymentApplications}        </div>    </div>    <#if paymentValue.statusId.equals("PMNT_NOT_PAID")>        <#if isTaxPayment>             ${screens.render("component://financials/widget/financials/screens/accounts/PaymentScreens.xml#EditPaymentApplicationsTax")}        <#else>             ${screens.render("component://financials/widget/financials/screens/accounts/PaymentScreens.xml#EditPaymentApplications")}        </#if>    <#else>        <#if isTaxPayment>             ${screens.render("component://financials/widget/financials/screens/accounts/PaymentScreens.xml#ViewPaymentApplicationsTax")}        <#else>             ${screens.render("component://financials/widget/financials/screens/accounts/PaymentScreens.xml#ViewPaymentApplications")}        </#if>    </#if>  </#if>  <#if hasAmountToApply>    <#if isTaxPayment>        <table>            <tr><div class="screenlet-header"><div class="boxhead">${uiLabelMap.FinancialsApplyPaymentToTaxAuth}</div></div></tr>            <tr>${screens.render("component://financials/widget/financials/screens/accounts/PaymentScreens.xml#AddPaymentApplicationTax")}</tr>        </table>    <#else>          <table>            <tr><div class="screenlet-header"><div class="boxhead">${uiLabelMap.FinancialsApplyPaymentToInvoice}</div></div></tr>            <tr>${screens.render("component://financials/widget/financials/screens/accounts/PaymentScreens.xml#InvoicePaymentApplicationList")}</tr>        </table>    </#if>  </#if></#if>

⌨️ 快捷键说明

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