<%--
/*
 * 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.base.PayrollConst"
import ="jp.mosp.payroll.common.vo.RetireDetailCardVo"
%>
<%
RetireDetailCardVo vo = (RetireDetailCardVo)request.getAttribute(MospConst.ATT_VO);
%><%= HtmlUtility.getHeader(vo) %>
<%= vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_PAYROLL) %>
<%= HtmlUtility.getMessages(vo) %>
<div class="Body">
	<div class="Card">
		<table id="tblDetailMonth">
			<tr>
				<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%= PayrollConst.NAM_DETAIL_MONTH %><%= PayrollConst.STR_TITLE_SEPARATOR %></td>
				<td class="Input1Td">
					<%= vo.getEscLblDetailMonth() %>
					<input type="hidden" id="<%= RetireDetailCardVo.PRM_PLT_SPECIFY_YEAR %>"  name="<%= RetireDetailCardVo.PRM_PLT_SPECIFY_YEAR %>"  value="<%= vo.getPltSpecifyYear() %>" />
					<input type="hidden" id="<%= RetireDetailCardVo.PRM_PLT_SPECIFY_MONTH %>" name="<%= RetireDetailCardVo.PRM_PLT_SPECIFY_MONTH %>" value="<%= vo.getPltSpecifyMonth() %>" />
					<input type="hidden" id="<%= RetireDetailCardVo.PRM_PLT_SPECIFY_DAY %>"   name="<%= RetireDetailCardVo.PRM_PLT_SPECIFY_DAY %>"   value="<%= vo.getPltSpecifyDay() %>" />
				</td>
			</tr>
		</table>
		<table id="tblCityCode">
			<tr>
				<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%= PayrollConst.NAM_CITY_CODE %><%= PayrollConst.STR_TITLE_SEPARATOR %></td>
				<td class="Input1Td">
					<input type="text" id="<%= RetireDetailCardVo.PRM_TXT_CITY_CODE %>" name="<%= RetireDetailCardVo.PRM_TXT_CITY_CODE %>" value="<%= vo.getEscTxtCityCode() %>" />
				</td>
			</tr>
			<tr>
				<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%= PayrollConst.NAM_CITY_CHANGES %><%= PayrollConst.STR_TITLE_SEPARATOR %></td>
				<td class="Input1Td">
					<select id="<%= RetireDetailCardVo.PRM_PLT_CITY_CHANGES %>" name="<%= RetireDetailCardVo.PRM_PLT_CITY_CHANGES %>">
						<%= HtmlUtility.getSelectOption(vo.aryPltCityChanges, vo.getPltCityChanges()) %>
					</select>
				</td>
			</tr>
			<tr>
				<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%= PayrollConst.NAM_RETIRE_COUNT %><%= PayrollConst.STR_TITLE_SEPARATOR %></td>
				<td class="Input1Td">
						<input type="text" id="<%= RetireDetailCardVo.PRM_TXT_RETIRE_COUNT %>" name="<%= RetireDetailCardVo.PRM_TXT_RETIRE_COUNT %>" value="<%= vo.getEscTxtRetireCount() %>" />
				</td>
			</tr>
			<tr>
				<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%= PayrollConst.NAM_CITY_PAY_AMOUNT %><%= PayrollConst.STR_TITLE_SEPARATOR %></td>
				<td class="Input1Td">
						<input type="text" id="<%= RetireDetailCardVo.PRM_TXT_CITY_PAY_AMOUNT %>" name="<%= RetireDetailCardVo.PRM_TXT_CITY_PAY_AMOUNT %>" value="<%= vo.getEscTxtCityPayAmount() %>" />
				</td>
			</tr>
			<tr>
				<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%= PayrollConst.NAM_CITY_TAX %><%= PayrollConst.STR_TITLE_SEPARATOR %></td>
				<td class="Input1Td">
						<input type="text" id="<%= RetireDetailCardVo.PRM_TXT_CITY_TAX %>" name="<%= RetireDetailCardVo.PRM_TXT_CITY_TAX %>" value="<%= vo.getEscTxtCityTax() %>" />
				</td>
			</tr>
			<tr>
				<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%= PayrollConst.NAM_PREFECTURE_TAX %><%= PayrollConst.STR_TITLE_SEPARATOR %></td>
				<td class="Input1Td">
						<input type="text" id="<%= RetireDetailCardVo.PRM_TXT_PREFECTURE_TAX %>" name="<%= RetireDetailCardVo.PRM_TXT_PREFECTURE_TAX %>" value="<%= vo.getEscTxtPrefectureTax() %>" />
				</td>
			</tr>
		</table>
		<button type="button" class="ExecuteButton"  onclick="submitForm(document.form, 'P9902')"><%= PayrollConst.NAM_REGIST %></button>
		<button type="button" class="ExecuteButton"  onclick="doSubmitKey(document.form, 'P9001','2')"><%= PayrollConst.NAM_TO_FB_OUT %></button>
	</div>
</div>

<%= HtmlUtility.getFooter(vo) %>






