<%--
MosP - Mind Open Source Project    http://www.mosp.jp/
Copyright (C) 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       = "16kb"
autoFlush    = "false"
errorPage    = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.common.common.MospConst"
import = "jp.mosp.common.common.HtmlUtility"
import = "jp.mosp.common.CommonConst"
import = "jp.mosp.kintai.payroll.vo.PreparatoryOperationCardVo"
%><%
PreparatoryOperationCardVo vo = (PreparatoryOperationCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%= HtmlUtility.getHeader(vo) %>
<%= HtmlUtility.getSubTitle(vo) %>
<div class="Body" id="preparatoryOperationCard">
	<%= HtmlUtility.getMessages(vo) %>
	<div class="Card">
		<table>
			<tr>
				<td class="TitleTd"><%= vo.NAM_OCCUR_DATE %><%= CommonConst.STR_TITLE_SEPARATOR %></td>
				<td>
					<%= vo.getEscHidOccurYear() %>
					<%= CommonConst.NAM_YEAR %>
					<%= vo.getEscHidOccurMonth() %>
					<%= CommonConst.NAM_MONTH %>
					<%= CommonConst.NAM_ROUND_BRACKETS_LEFT %><%= vo.getEscLblStartDate() %>
					<%= CommonConst.STR_TERM %>
					<%= vo.getEscLblEndDate() %><%= CommonConst.NAM_ROUND_BRACKETS_RIGHT %>
					<input type="hidden" id="<%= PreparatoryOperationCardVo.PRM_HID_OCCUR_YEAR %>" name="<%= PreparatoryOperationCardVo.PRM_HID_OCCUR_YEAR %>" value="<%=vo.getHidOccurYear() %>" />
					<input type="hidden" id="<%= PreparatoryOperationCardVo.PRM_HID_OCCUR_MONTH %>" name="<%= PreparatoryOperationCardVo.PRM_HID_OCCUR_MONTH %>" value="<%=vo.getHidOccurMonth() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%= HtmlUtility.getRequiredMark() %><%= vo.NAM_CLOSE_DATE %><%= CommonConst.STR_TITLE_SEPARATOR %></td>
				<td>
					<select id="<%= PreparatoryOperationCardVo.PRM_PLT_CLOSE_YEAR %>" name="<%= PreparatoryOperationCardVo.PRM_PLT_CLOSE_YEAR %>">
						<%= HtmlUtility.getSelectOption(vo.aryPltYear, vo.getPltCloseYear()) %>
					</select>
					<%= CommonConst.NAM_YEAR %>
					<select id="<%= PreparatoryOperationCardVo.PRM_PLT_CLOSE_MONTH %>" name="<%= PreparatoryOperationCardVo.PRM_PLT_CLOSE_MONTH %>">
						<%= HtmlUtility.getSelectOption(vo.aryPltMonth, vo.getPltCloseMonth()) %>
					</select>
					<%= CommonConst.NAM_MONTH %>
					<select id="<%= PreparatoryOperationCardVo.PRM_PLT_CLOSE_DAY %>" name="<%= PreparatoryOperationCardVo.PRM_PLT_CLOSE_DAY %>">
						<%= HtmlUtility.getSelectOption(vo.aryPltDay, vo.getPltCloseDay()) %>
					</select>
					<%= CommonConst.NAM_DAY %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%= vo.NAM_LIMIT_START_DATE %><%= CommonConst.STR_TITLE_SEPARATOR %></td>
				<td>
					<%= vo.getEscHidLimitStartDate() %>
					<input type="hidden" id="<%= PreparatoryOperationCardVo.PRM_HID_LIMIT_START_DATE %>" name="<%= PreparatoryOperationCardVo.PRM_HID_LIMIT_START_DATE %>" value="<%=vo.getHidLimitStartDate() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%= vo.NAM_LIMIT_END_DATE %><%= CommonConst.STR_TITLE_SEPARATOR %></td>
				<td>
					<%= vo.getEscHidLimitEndDate() %>
					<input type="hidden" id="<%= PreparatoryOperationCardVo.PRM_HID_LIMIT_END_DATE %>" name="<%= PreparatoryOperationCardVo.PRM_HID_LIMIT_END_DATE %>" value="<%=vo.getHidLimitEndDate() %>" />
				</td>
			</tr>
		</table>
	</div>
</div>
<div class="Footer">
	<button type="button" class="ExecuteButton" onclick="submitForm(document.form)"><%= CommonConst.NAM_PROCESS %><%= CommonConst.NAM_START %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
