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

📄 billsettings.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
📖 第 1 页 / 共 2 页
字号:
<#-- *  Copyright (c) 2003-2005 The Open For Business Project - www.ofbiz.org * *  Permission is hereby granted, free of charge, to any person obtaining a *  copy of this software and associated documentation files (the "Software"), *  to deal in the Software without restriction, including without limitation *  the rights to use, copy, modify, merge, publish, distribute, sublicense, *  and/or sell copies of the Software, and to permit persons to whom the *  Software is furnished to do so, subject to the following conditions: * *  The above copyright notice and this permission notice shall be included *  in all copies or substantial portions of the Software. * *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *  THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author     Andy Zeneski (jaz@ofbiz.org) *@version    $Rev: 7294 $ *@since      3.0--><script language="JavaScript" type="text/javascript">function shipBillAddr() {    <#if requestParameters.singleUsePayment?default("N") == "Y">      <#assign singleUse = "&singleUsePayment=Y">    <#else>      <#assign singleUse = "">    </#if>    if (document.billsetupform.useShipAddr.checked) {        window.location.replace("setBilling?createNew=Y&finalizeMode=payment&useGc=${requestParameters.useGc?if_exists}&paymentMethodType=${paymentMethodType?if_exists}&useShipAddr=Y${singleUse}");    } else {        window.location.replace("setBilling?createNew=Y&finalizeMode=payment&useGc=${requestParameters.useGc?if_exists}&paymentMethodType=${paymentMethodType?if_exists}${singleUse}");    }}</script><div class="screenlet">    <div class="screenlet-header">        <div style="float: right;">            <#if requestParameters.singleUsePayment?default("N") != "Y">              <div class="tabletext">                ${screens.render(anonymoustrailScreen)}              </div>            </#if>        </div>        <div class='boxhead'>&nbsp;${uiLabelMap.AccountingPaymentInformation}</div>    </div>    <div class="screenlet-body">        <#if (paymentMethodType?exists && !requestParameters.resetType?has_content) || finalizeMode?default("") == "payment">          <#-- after initial screen; show detailed screens for selected type -->          <#if paymentMethodType == "CC">            <#if creditCard?has_content && postalAddress?has_content>              <form method="post" action="<@ofbizUrl>changeCreditCardAndBillingAddress</@ofbizUrl>" name="billsetupform">                <input type="hidden" name="paymentMethodId" value="${creditCard.paymentMethodId?if_exists}">                <input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}">            <#elseif requestParameters.useShipAddr?exists>              <form method="post" action="<@ofbizUrl>enterCreditCard</@ofbizUrl>" name="billsetupform">            <#else>              <form method="post" action="<@ofbizUrl>enterCreditCardAndBillingAddress</@ofbizUrl>" name="billsetupform">            </#if>          </#if>          <#if paymentMethodType == "EFT">            <#if eftAccount?has_content && postalAddress?has_content>              <form method="post" action="<@ofbizUrl>changeEftAccountAndBillingAddress</@ofbizUrl>" name="billsetupform">                <input type="hidden" name="paymentMethodId" value="${eftAccount.paymentMethodId?if_exists}">                <input type="hidden" name="contactMechId" value="${postalAddress.contactMechId?if_exists}">            <#elseif requestParameters.useShipAddr?exists>              <form method="post" action="<@ofbizUrl>enterEftAccount</@ofbizUrl>" name="billsetupform">            <#else>              <form method="post" action="<@ofbizUrl>enterEftAccountAndBillingAddress</@ofbizUrl>" name="billsetupform">            </#if>          </#if>          <#if paymentMethodType == "GC">            <form method="post" action="<@ofbizUrl>finalizeOrder</@ofbizUrl>" name="billsetupform">          </#if>          <#if requestParameters.singleUsePayment?default("N") == "Y">            <input type="hidden" name="singleUsePayment" value="Y">            <input type="hidden" name="appendPayment" value="Y">          </#if>          <input type="hidden" name="contactMechTypeId" value="POSTAL_ADDRESS">          <input type="hidden" name="partyId" value="${partyId}">          <input type="hidden" name="paymentMethodType" value="${paymentMethodType}">          <input type="hidden" name="finalizeMode" value="payment">          <input type="hidden" name="createNew" value="Y">          <#if requestParameters.useShipAddr?exists>            <input type="hidden" name="contactMechId" value="${postalFields.contactMechId}">          </#if>          <table width="100%" border="0" cellpadding="1" cellspacing="0">            <#if cart.getShippingContactMechId()?exists && paymentMethodType != "GC">              <tr>                <td width="26%" align="right"= valign="top">                  <input type="checkbox" name="useShipAddr" value="Y" onClick="javascript:shipBillAddr();" <#if requestParameters.useShipAddr?exists>checked</#if>>                </td>                <td colspan="2" align="left" valign="center">                  <div class="tabletext">${uiLabelMap.FacilityBillingAddressSameShipping}</div>                </td>              </tr>              <tr>                <td colspan="3"><hr class="sepbar"/></td>              </tr>            </#if>            <#if (paymentMethodType == "CC" || paymentMethodType == "EFT")>              <tr>                <td width="26%" align="right" valign="top"><div class="tableheadtext">${uiLabelMap.PartyBillingAddress}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">&nbsp;</td>              </tr>              ${screens.render("component://ecommerce/widget/OrderScreens.xml#genericaddress")}            </#if>            <#-- credit card fields -->            <#if paymentMethodType == "CC">              <#if !creditCard?has_content>                <#assign creditCard = requestParameters>              </#if>              <tr>                <td colspan="3"><hr class="sepbar"/></td>              </tr>              <tr>                <td width="26%" align="right" valign="top"><div class="tableheadtext">${uiLabelMap.AccountingCreditCardInformation}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">&nbsp;</td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingCompanyNameOnCard}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <input type="text" class='inputBox' size="30" maxlength="60" name="companyNameOnCard" value="${creditCard.companyNameOnCard?if_exists}">                </td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingPrefixCard}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <select name="titleOnCard" class="selectBox">                    <option value="">Select One</option>                    <option<#if ((creditCard.titleOnCard)?default("") == "Mr.")> checked</#if>>${uiLabelMap.CommonTitleMr}</option>                    <option<#if ((creditCard.titleOnCard)?default("") == "Mrs.")> checked</#if>>${uiLabelMap.CommonTitleMrs}</option>                    <option<#if ((creditCard.titleOnCard)?default("") == "Ms.")> checked</#if>>${uiLabelMap.CommonTitleMs}</option>                    <option<#if ((creditCard.titleOnCard)?default("") == "Dr.")> checked</#if>>${uiLabelMap.CommonTitleDr}</option>                  </select>                </td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingFirstNameCard}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <input type="text" class="inputBox" size="20" maxlength="60" name="firstNameOnCard" value="${(creditCard.firstNameOnCard)?if_exists}">                *</td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingMiddleNameCard}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <input type="text" class="inputBox" size="15" maxlength="60" name="middleNameOnCard" value="${(creditCard.middleNameOnCard)?if_exists}">                </td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingLastNameCard}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <input type="text" class="inputBox" size="20" maxlength="60" name="lastNameOnCard" value="${(creditCard.lastNameOnCard)?if_exists}">                *</td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingSuffixCard}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <select name="suffixOnCard" class="selectBox">                    <option value="">Select One</option>                    <option<#if ((creditCard.suffixOnCard)?default("") == "Jr.")> checked</#if>>Jr.</option>                    <option<#if ((creditCard.suffixOnCard)?default("") == "Sr.")> checked</#if>>Sr.</option>                    <option<#if ((creditCard.suffixOnCard)?default("") == "I")> checked</#if>>I</option>                    <option<#if ((creditCard.suffixOnCard)?default("") == "II")> checked</#if>>II</option>                    <option<#if ((creditCard.suffixOnCard)?default("") == "III")> checked</#if>>III</option>                    <option<#if ((creditCard.suffixOnCard)?default("") == "IV")> checked</#if>>IV</option>                    <option<#if ((creditCard.suffixOnCard)?default("") == "V")> checked</#if>>V</option>                  </select>                </td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingCardType}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <select name="cardType" class="selectBox">                    <#if creditCard.cardType?exists>                      <option>${creditCard.cardType}</option>                      <option value="${creditCard.cardType}">---</option>                    </#if>                    ${screens.render("component://common/widget/CommonScreens.xml#cctypes")}                  </select>                *</td>              </tr>              <tr>                <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingCardNumber}</div></td>                <td width="5">&nbsp;</td>                <td width="74%">                  <input type="text" class="inputBox" size="20" maxlength="30" name="cardNumber" value="${creditCard.cardNumber?if_exists}">                *</td>              </tr>              <#--<tr>                <td width="26%" align="right" valign=middle><div class="tabletext">Card Security Code</div></td>                <td width="5">&nbsp;</td>                <td width="74%">

⌨️ 快捷键说明

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