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

📄 checkoutpayment.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
                    <td width="1%" nowrap>                      <input type="checkbox" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if cart.isPaymentSelected(paymentMethod.paymentMethodId)>checked</#if>>                    </td>                    <td width="1%" nowrap>                      <span class="tabletext">${uiLabelMap.AccountingGift}:&nbsp;${giftCardNumber}                        <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>                      </span>                      <span class="tabletext" align="right">                        <a href="javascript:submitForm(document.checkoutInfoForm, 'EG', '${paymentMethod.paymentMethodId}');" class="buttontext">${uiLabelMap.CommonUpdate}</a>                      </span>                    </td>                    <td>                      &nbsp;                      <span class="tabletext">                        <b>${uiLabelMap.OrderBillUpTo}:</b> <input type="text" size="5" class="inputBox" name="amount_${paymentMethod.paymentMethodId}" value="<#if (cart.getPaymentAmount(paymentMethod.paymentMethodId)?default(0) > 0)>${cart.getPaymentAmount(paymentMethod.paymentMethodId)?double?string("##0.00")}</#if>">                      </span>                    </td>                  </tr>                 </#if>                <#elseif paymentMethod.paymentMethodTypeId == "CREDIT_CARD">                 <#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists>                  <#assign creditCard = paymentMethod.getRelatedOne("CreditCard")>                  <tr>                    <td width="1%" nowrap>                      <input type="checkbox" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if cart.isPaymentSelected(paymentMethod.paymentMethodId)>checked</#if>>                    </td>                    <td width="1%" nowrap>                      <span class="tabletext">CC:&nbsp;${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}                        <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>                      </span>                      <span class="tabletext" align="right">                        <a href="javascript:submitForm(document.checkoutInfoForm, 'EC', '${paymentMethod.paymentMethodId}');" class="buttontext">${uiLabelMap.CommonUpdate}</a>                      </span>                    </td>                    <td>                      &nbsp;                      <span class="tabletext">                        <b>${uiLabelMap.OrderBillUpTo}:</b> <input type="text" size="5" class="inputBox" name="amount_${paymentMethod.paymentMethodId}" value="<#if (cart.getPaymentAmount(paymentMethod.paymentMethodId)?default(0) > 0)>${cart.getPaymentAmount(paymentMethod.paymentMethodId)?double?string("##0.00")}</#if>">                      </span>                    </td>                  </tr>                 </#if>                <#elseif paymentMethod.paymentMethodTypeId == "EFT_ACCOUNT">                 <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT?exists>                  <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount")>                  <tr>                    <td width="1%" nowrap>                      <input type="radio" name="checkOutPaymentId" value="${paymentMethod.paymentMethodId}" <#if paymentMethod.paymentMethodId == checkOutPaymentId>checked</#if>>                    </td>                    <td width="1%" nowrap>                      <span class="tabletext">EFT:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}                        <#if paymentMethod.description?has_content>(${paymentMethod.description})</#if>                      </span>                      <a href="javascript:submitForm(document.checkoutInfoForm, 'EE', '${paymentMethod.paymentMethodId}');" class="buttontext">${uiLabelMap.CommonUpdate}</a>                    </td>                    <td>&nbsp;</td>                  </tr>                  <tr><td colspan="3"><hr class="sepbar"/></td></tr>                 </#if>                </#if>              </#list>            </#if>            <#-- special billing account functionality to allow use w/ a payment method -->            <#if productStorePaymentMethodTypeIdMap.EXT_BILLACT?exists>              <#if billingAccountList?has_content>                <tr><td colspan="3"><hr class="sepbar"/></td></tr>                <tr>                  <td width="1%" nowrap>                    <input type="radio" name="checkOutPaymentId" value="EXT_BILLACT" <#if "EXT_BILLACT" == checkOutPaymentId>checked</#if>></hr>                  </td>                  <td width="50%" nowrap>                    <span class="tabletext">${uiLabelMap.AccountingPayOnlyWithBillingAccount}</span>                  </td>                  <td>&nbsp;</td>                </tr>                <tr><td colspan="3"><hr class="sepbar"/></td></tr>                <#list billingAccountList as billingAccount>                  <#assign availableAmount = billingAccount.accountLimit?double - billingAccount.accountBalance?double>                  <tr>                    <td align="left" valign="top" width="1%" nowrap>                      <input type="radio" onClick="javascript:toggleBillingAccount(this);" name="billingAccountId" value="${billingAccount.billingAccountId}" <#if (billingAccount.billingAccountId == selectedBillingAccountId?default(""))>checked</#if>>                    </td>                    <td align="left" valign="top" width="99%" nowrap>                      <div class="tabletext">                       ${billingAccount.description?default("Bill Account")} [${uiLabelMap.OrderNbr}<b>${billingAccount.billingAccountId}</b>]&nbsp;(<@ofbizCurrency amount=availableAmount isoCode=billingAccount.accountCurrencyUomId?default(cart.getCurrency())/>)<br/>                       <b>${uiLabelMap.OrderBillUpTo}:</b> <input type="text" size="8" class="inputBox" name="amount_${billingAccount.billingAccountId}" value="${availableAmount?double?string("##0.00")}" <#if !(billingAccount.billingAccountId == selectedBillingAccountId?default(""))>disabled</#if>>                      </div>                    </td>                    <td>&nbsp;</td>                  </tr>                </#list>                <tr>                  <td align="left" valign="top" width="1%" nowrap>                    <input type="radio" onClick="javascript:toggleBillingAccount(this);" name="billingAccountId" value="_NA_" <#if (selectedBillingAccountId?default("") == "N")>checked</#if>>                    <input type="hidden" name="_NA_amount" value="0.00">                  </td>                  <td align="left" valign="top" width="99%" nowrap>                    <div class="tabletext">${uiLabelMap.AccountingNoBillingAccount}</div>                   </td>                   <td>&nbsp;</td>                </tr>              </#if>            </#if>            <#-- end of special billing account functionality -->            <#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists>              <tr><td colspan="3"><hr class="sepbar"/></td></tr>              <tr>                <td width="1%" nowrap>                  <input type="checkbox" name="addGiftCard" value="Y">                  <input type="hidden" name="singleUseGiftCard" value="Y">                </td>                <td colspan="2"nowrap>                  <span class="tabletext">${uiLabelMap.AccountingUseGiftCardNotOnFile}</span>                </td>              </tr>              <tr>                <td>&nbsp;</td>                <td width="1%" nowrap>                  <div class="tabletext">${uiLabelMap.AccountingNumber}</div>                </td>                <td width="50%" nowrap>                  <input type="text" size="15" class="inputBox" name="giftCardNumber" value="${(requestParameters.giftCardNumber)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;">                </td>              </tr>              <#if cart.isPinRequiredForGC(delegator)>              <tr>                <td>&nbsp;</td>                <td width="1%" nowrap>                  <div class="tabletext">${uiLabelMap.AccountingPIN}</div>                </td>                <td width="50%" nowrap>                  <input type="text" size="10" class="inputBox" name="giftCardPin" value="${(requestParameters.giftCardPin)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;">                </td>              </tr>              </#if>              <tr>                <td>&nbsp;</td>                <td width="1%" nowrap>                  <div class="tabletext">${uiLabelMap.AccountingAmount}</div>                </td>                <td width="50%" nowrap>                  <input type="text" size="6" class="inputBox" name="giftCardAmount" value="${(requestParameters.giftCardAmount)?if_exists}" onFocus="document.checkoutInfoForm.addGiftCard.checked=true;">                </td>              </tr>            </#if>              <tr><td colspan="3"><hr class="sepbar"/></td></tr>              <tr>                <td colspan="3">                  <div class='tabletext' valign='middle'>                    <#if productStorePaymentMethodTypeIdMap.CREDIT_CARD?exists><a href="<@ofbizUrl>setBilling?paymentMethodType=CC&singleUsePayment=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.AccountingSingleUseCreditCard}</a>&nbsp;</#if>                    <#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists><a href="<@ofbizUrl>setBilling?paymentMethodType=GC&singleUsePayment=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.AccountingSingleUseGiftCard}</a>&nbsp;</#if>                    <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT?exists><a href="<@ofbizUrl>setBilling?paymentMethodType=EFT&singleUsePayment=Y</@ofbizUrl>" class="buttontext">${uiLabelMap.AccountingSingleUseEFTAccount}</a>&nbsp;</#if>                  </div>                </td>              </tr>            </table>            <#-- End Payment Method Selection -->        </div>    </div></form><table width="100%">  <tr valign="top">    <td align="left">      &nbsp;<a href="javascript:submitForm(document.checkoutInfoForm, 'CS', '');" class="buttontextbig">${uiLabelMap.OrderBacktoShoppingCart}</a>    </td>    <td align="right">      <a href="javascript:submitForm(document.checkoutInfoForm, 'DN', '');" class="buttontextbig">${uiLabelMap.OrderContinueToFinalOrderReview}</a>    </td>  </tr></table>

⌨️ 快捷键说明

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