<%--
/*
 * MosP - Mind Open Source Project         http://www.mosp.jp/
 * Copyright (C) 1987-2009 MIND Co., Ltd.  http://www.e-mind.co.jp/
 * 
 * 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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
--%>
<%@ page
language     = "java"
pageEncoding = "Windows-31J"
buffer       = "256kb"
autoFlush    = "false"
errorPage    = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.common.common.MospConst"
import = "jp.mosp.common.common.HtmlUtility"
import = "jp.mosp.payroll.payment.vo.CityCardVo"
%><%
CityCardVo vo = (CityCardVo)request.getAttribute(MospConst.ATT_VO);

%>
<%= HtmlUtility.getHeader(vo) %>
<%= HtmlUtility.getSubTitle(vo) %>
<div class="Body" id="cityCard">
	<%= HtmlUtility.getMessages(vo) %>
	<div class="Card">
		<table>
			<tr>
				<td id="tdCityCode">
					<span ><%= HtmlUtility.getRequiredMark() %><%= CityCardVo.NAM_CITY_CODE %><%= vo.getName("C_SEPARATOR") %></span>
					<input type="text" id="<%= CityCardVo.PRM_TXT_CITY_CODE %>" name="<%= CityCardVo.PRM_TXT_CITY_CODE %>" value="<%= vo.getTxtCityCode() %>" />
				</td>
			</tr>
			<tr>
				<td id="tdCityName">
					<span >&nbsp;&nbsp;&nbsp;&nbsp;<%= HtmlUtility.getRequiredMark() %><%= CityCardVo.NAM_CITY_NAME %><%= vo.getName("C_SEPARATOR") %></span>
					<input type="text" id="<%= CityCardVo.PRM_TXT_CITY_NAME %>" name="<%= CityCardVo.PRM_TXT_CITY_NAME %>" value="<%= vo.getTxtCityName() %>" />
				</td>
			</tr>
			<tr>
				<td id="tdCityKana">
					<span >&nbsp;&nbsp;<%= HtmlUtility.getRequiredMark() %><%= CityCardVo.NAM_CITY_KANA %><%= vo.getName("C_SEPARATOR") %></span>
					<input type="text" id="<%= CityCardVo.PRM_TXT_CITY_KANA %>" name="<%= CityCardVo.PRM_TXT_CITY_KANA %>" value="<%= vo.getTxtCityKana() %>" />
				</td>
			</tr>
			<tr>
				<td id="tdDesignatedNumber">
					<span >&nbsp;&nbsp;&nbsp;&nbsp;<%= HtmlUtility.getRequiredMark() %><%= CityCardVo.NAM_DESIGNATED_NUMBER %><%= vo.getName("C_SEPARATOR") %></span>
					<input type="text" id="<%= CityCardVo.PRM_TXT_DESIGNATED_NUMBER %>" name="<%= CityCardVo.PRM_TXT_DESIGNATED_NUMBER %>" value="<%= vo.getTxtDesignatedNumber() %>" />
				</td>
			</tr>
			<tr>
				<td id="tdCoBankCode">
					<span >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%= CityCardVo.NAM_CO_BANK_CODE %><%= vo.getName("C_SEPARATOR") %></span>
					<select id="<%= CityCardVo.PRM_PLT_CO_BANK_CODE %>" name="<%= CityCardVo.PRM_PLT_CO_BANK_CODE %>">
						<%= HtmlUtility.getSelectOption(vo.aryPltCoBankCode, vo.getPltCoBankCode()) %>
					</select>
				</td>
			</tr>
		</table>
	</div>
	<div class="Footer">
		<button type="button" class="ExecuteButton" onclick="submitForm(document.form)"><%= vo.getName("C_REGIST") %></button>
		<button type="button" class="ExecuteButton" id="btnDelete" onclick="doSubmitMessage(document.form, 'U5274', 'QC0002', '')"><%= vo.getName("C_DELETE") %></button>
		<button type="button" class="ExecuteButton" onclick="doSubmit(document.form, 'U5262')"><%= vo.getName("C_LIST") + vo.getName("C_TO") %></button>
	</div>
</div>
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_ACCOUNT       %>" name="<%= CityCardVo.PRM_TXT_CITY_ACCOUNT       %>" value="<%= vo.getTxtCityAccount      () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_ACCOUNT_NAME1 %>" name="<%= CityCardVo.PRM_TXT_CITY_ACCOUNT_NAME1 %>" value="<%= vo.getTxtCityAccountName1 () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_ACCOUNT_NAME2 %>" name="<%= CityCardVo.PRM_TXT_CITY_ACCOUNT_NAME2 %>" value="<%= vo.getTxtCityAccountName2 () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_MASTER_OFFICE      %>" name="<%= CityCardVo.PRM_TXT_MASTER_OFFICE      %>" value="<%= vo.getTxtMasterOffice     () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_POSTAL_CODE   %>" name="<%= CityCardVo.PRM_TXT_CITY_POSTAL_CODE   %>" value="<%= vo.getTxtCityPostalCode   () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_ADDRESS1      %>" name="<%= CityCardVo.PRM_TXT_CITY_ADDRESS1      %>" value="<%= vo.getTxtCityAddress1     () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_ADDRESS2      %>" name="<%= CityCardVo.PRM_TXT_CITY_ADDRESS2      %>" value="<%= vo.getTxtCityAddress2     () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_OFFICE1       %>" name="<%= CityCardVo.PRM_TXT_CITY_OFFICE1       %>" value="<%= vo.getTxtCityOffice1      () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_OFFICE2       %>" name="<%= CityCardVo.PRM_TXT_CITY_OFFICE2       %>" value="<%= vo.getTxtCityOffice2      () %>" />
<input type="hidden" id="<%= CityCardVo.PRM_TXT_CITY_PHONE         %>" name="<%= CityCardVo.PRM_TXT_CITY_PHONE         %>" value="<%= vo.getTxtCityPhone        () %>" />
	
<%= HtmlUtility.getFooter(vo) %>
