📄 newcustomer.ftl
字号:
<#--
* Copyright (c) 2003 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 David E. Jones
*@version 1.0
*@since 2.1
-->
<#assign uiLabelMap = requestAttributes.uiLabelMap>
<p class="head1">${uiLabelMap.PartyRequestNewAccount}</p>
<br/>
<p class='tabletext'>${uiLabelMap.PartyAlreadyHaveAccount}, <a href='<@ofbizUrl>/checkLogin/main</@ofbizUrl>' class='buttontext'>${uiLabelMap.CommonLoginHere}</a>.</p>
<form method="post" action="<@ofbizUrl>/createcustomer${previousParams}</@ofbizUrl>" name="newuserform" style='margin:0;'>
<input type="hidden" name="productStoreId" value="${productStoreId}">
<table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
<tr>
<td width='100%'>
<table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
<tr>
<td valign="middle" align="left">
<div class='boxhead'> ${uiLabelMap.PartyNameAndShippingAddress}</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width='100%'>
<table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
<tr>
<td>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.CommonTitle}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="USER_TITLE" value="${requestParameters.USER_TITLE?if_exists}" size="10" maxlength="30">
</td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyFirstName}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="USER_FIRST_NAME" value="${requestParameters.USER_FIRST_NAME?if_exists}" size="30" maxlength="30">
* </td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyMiddleInitial}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="USER_MIDDLE_NAME" value="${requestParameters.USER_MIDDLE_NAME?if_exists}" size="4" maxlength="4">
</td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyLastName} </div></td>
<td width="74%">
<input type="text" class='inputBox' name="USER_LAST_NAME" value="${requestParameters.USER_LAST_NAME?if_exists}" size="30" maxlength="30">
* </td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartySuffix}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="USER_SUFFIX" value="${requestParameters.USER_SUFFIX?if_exists}" size="10" maxlength="30">
</td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyAddressLine1}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="CUSTOMER_ADDRESS1" value="${requestParameters.CUSTOMER_ADDRESS1?if_exists}" size="30" maxlength="30">
*</td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyAddressLine2}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="CUSTOMER_ADDRESS2" value="${requestParameters.CUSTOMER_ADDRESS2?if_exists}" size="30" maxlength="30">
</td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyCity}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="CUSTOMER_CITY" value="${requestParameters.CUSTOMER_CITY?if_exists}" size="30" maxlength="30">
* </td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyState}</div></td>
<td width="74%">
<select name="CUSTOMER_STATE" class='selectBox'>
<#if requestParameters.CUSTOMER_STATE?exists><option value='${requestParameters.CUSTOMER_STATE}'>${selectedStateName?default(requestParameters.CUSTOMER_STATE)}</option></#if>
<option value="">${uiLabelMap.PartyNoState}</option>
<#include "../includes/states.ftl">
</select>
* </td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyZipCode}</div></td>
<td width="74%">
<input type="text" class='inputBox' name="CUSTOMER_POSTAL_CODE" value="${requestParameters.CUSTOMER_POSTAL_CODE?if_exists}" size="12" maxlength="10">
* </td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyCountry}</div></td>
<td width="74%">
<select name="CUSTOMER_COUNTRY" class='selectBox'>
<#if requestParameters.CUSTOMER_COUNTRY?exists><option value='${requestParameters.CUSTOMER_COUNTRY}'>${selectedCountryName?default(requestParameters.CUSTOMER_COUNTRY)}</option></#if>
<#include "../includes/countries.ftl">
</select>
* </td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyAllowAddressSolicitation}?</div></td>
<td width="74%">
<select name="CUSTOMER_ADDRESS_ALLOW_SOL" class='selectBox'>
<option>${requestParameters.CUSTOMER_ADDRESS_ALLOW_SOL?default("Y")}</option>
<option></option><option>Y</option><option>N</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<table border=0 width='100%' cellspacing='0' cellpadding='0' class='boxoutside'>
<tr>
<td width='100%'>
<table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxtop'>
<tr>
<td valign="middle" align="left">
<div class='boxhead'> ${uiLabelMap.PartyPhoneNumbers}</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width='100%'>
<table width='100%' border='0' cellspacing='0' cellpadding='0' class='boxbottom'>
<tr>
<td>
<table width="100%">
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyAllPhoneNumbers}:</div></td>
<td width="74%"><div class="tabletext">[${uiLabelMap.PartyCountry}] [${uiLabelMap.PartyAreaCode}] [${uiLabelMap.PartyContactNumber}] [${uiLabelMap.PartyExtension}]</div></td>
</tr>
<tr>
<td width="26%"><div class="tabletext">${uiLabelMap.PartyHomePhone}<BR>(${uiLabelMap.PartyAllowSolicitation}?)</div></td>
<td width="74%">
<input type="text" class='inputBox' name="CUSTOMER_HOME_COUNTRY" value="${requestParameters.CUSTOMER_HOME_COUNTRY?if_exists}" size="4" maxlength="10">
- <input type="text" class='inputBox' name="CUSTOMER_HOME_AREA" value="${requestParameters.CUSTOMER_HOME_AREA?if_exists}" size="4" maxlength="10">
- <input type="text" class='inputBox' name="CUSTOMER_HOME_CONTACT" value="${requestParameters.CUSTOMER_HOME_CONTACT?if_exists}" size="15" maxlength="15">
ext <input type="text" class='inputBox' name="CUSTOMER_HOME_EXT" value="${requestParameters.CUSTOMER_HOME_EXT?if_exists}" size="6" maxlength="10">
<BR>
<select name="CUSTOMER_HOME_ALLOW_SOL" class='selectBox'>
<option>${requestParameters.CUSTOMER_HOME_ALLOW_SOL?default("Y")}</option>
<option></option><option>Y</option><option>N</option>
</select>
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -