<%--
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       = "64kb"
autoFlush    = "false"
errorPage    = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.common.CommonConst"
import = "jp.mosp.common.common.HtmlUtility"
import = "jp.mosp.common.common.MospConst"
import = "jp.mosp.kintai.payroll.vo.PaidHolidayExportCardVo"
%><%
PaidHolidayExportCardVo vo = (PaidHolidayExportCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%=HtmlUtility.getHeader(vo)%>
<%=HtmlUtility.getSubTitle(vo)%>
<div class="Body" id="export">
	<div class="Card">
	<%=HtmlUtility.getMessages(vo)%>
		<table>
			<tr>
				<td class="TitleLabel">
					<%=HtmlUtility.getRequiredMark()%>
					<%=vo.NAM_PAID_HOLIDAY_TABLE%>
					<%=CommonConst.STR_TITLE_SEPARATOR%>
				</td>
				<td>
					<select id="<%= PaidHolidayExportCardVo.PRM_PLT_PAID_HOLIDAY_TABLE %>" name="<%= PaidHolidayExportCardVo.PRM_PLT_PAID_HOLIDAY_TABLE %>" onChange="setYMPlt()">
						<%=HtmlUtility.getSelectOption(vo.aryPltPaidHolidayTable, vo.getPltPaidHolidayTable())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleLabel">
					<%=vo.NAM_SECTION%>
					<%=CommonConst.STR_TITLE_SEPARATOR%>
				</td>
				<td>
					<select id="<%= PaidHolidayExportCardVo.PRM_PLT_SECTION %>" name="<%= PaidHolidayExportCardVo.PRM_PLT_SECTION %>">
						<option></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltSection, vo.getPltSection())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleLabel">
					<%=vo.NAM_K_CODE%>
					<%=CommonConst.STR_TITLE_SEPARATOR%>
				</td>
				<td>
					<input class="TextBox" id="<%= PaidHolidayExportCardVo.PRM_TXT_K_CODE %>" name="<%= PaidHolidayExportCardVo.PRM_TXT_K_CODE %>" value="<%= vo.getEscTxtKCode() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleLabel">
					<%=vo.NAM_START_DATE%>
					<%=CommonConst.STR_TITLE_SEPARATOR%>
				</td>
				<td>
					<select id="<%= PaidHolidayExportCardVo.PRM_PLT_START_YEAR %>" name="<%= PaidHolidayExportCardVo.PRM_PLT_START_YEAR %>" onChange="setPltStartMonth()">
						<%=HtmlUtility.getSelectOption(vo.aryPltYear, vo.getPltStartYear())%>
					</select><%=CommonConst.NAM_YEAR%>
					<select id="<%= PaidHolidayExportCardVo.PRM_PLT_START_MONTH %>" name="<%= PaidHolidayExportCardVo.PRM_PLT_START_MONTH %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltMonth, vo.getPltStartMonth())%>
					</select><%=CommonConst.NAM_MONTH%>
				</td>
			</tr>
			<tr>
				<td class="TitleLabel">
					<%=vo.NAM_END_DATE%>
					<%=CommonConst.STR_TITLE_SEPARATOR%>
				</td>
				<td>
					<select id="<%= PaidHolidayExportCardVo.PRM_PLT_END_YEAR %>" name="<%= PaidHolidayExportCardVo.PRM_PLT_END_YEAR %>" onChange="setPltEndMonth()">
						<%=HtmlUtility.getSelectOption(vo.aryPltYear, vo.getPltEndYear())%>
					</select><%=CommonConst.NAM_YEAR%>
					<select id="<%= PaidHolidayExportCardVo.PRM_PLT_END_MONTH %>" name="<%= PaidHolidayExportCardVo.PRM_PLT_END_MONTH %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltMonth, vo.getPltEndMonth())%>
					</select><%=CommonConst.NAM_MONTH%>
				</td>
			</tr>
		</table>
	</div>
</div>
<div class="Footer">
	<button type="button" class="ExecuteButton" onclick="submitForm(document.form, 'P1131')"><%= CommonConst.NAM_EXPORT %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
