<%--
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.
--%>
<%-- 〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　--%>
<%--      コンピュータ・マインド・シリーズ／MosP                             --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--      プログラムＩＤ：  YukyuInformationCard                             --%>
<%--      プログラム名  ：  有給情報設定画面                         		 --%>
<%--      修正履歴      ：                                                   --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%-- 〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　--%>
<%@ 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.system.vo.YukyuInformationCardVo"
%><%
YukyuInformationCardVo vo = (YukyuInformationCardVo)request.getAttribute(MospConst.ATT_VO);
String[] aryStandard = vo.getEscAryTxtStandard();
String[] aryDays = vo.getEscAryTxtDays();
String[] aryInfo = vo.getEscAryTxtInfo();
%>
<%=HtmlUtility.getHeader(vo)%>
<%=vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_SYSTEM2)%>
<div class="Body" id="YukyuInformationCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Top">
		<table id="top">
			<thead>
			<tr>
				<th colspan="2"><%=vo.SUB_TITLE1 %></th>
			</tr>
			</thead>
			<tbody>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=YukyuInformationCardVo.NAM_CF_MONTH%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td >
					<select id="<%= YukyuInformationCardVo.PRM_PLT_CF_MONTH %>" name="<%= YukyuInformationCardVo.PRM_PLT_CF_MONTH %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltCFMonth , vo.getPltCFMonth())%>
					</select>
					<%= CommonConst.NAM_MONTH %>			
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=YukyuInformationCardVo.NAM_CF_DAYS%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td >
					<input type="text" class="NumberTextBox" id="<%= YukyuInformationCardVo.PRM_TXT_CF_DAYS %>" name="<%= YukyuInformationCardVo.PRM_TXT_CF_DAYS %>" value="<%= vo.getEscTxtCFDays() %>" />
					<%= CommonConst.NAM_DAY %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=YukyuInformationCardVo.NAM_CF_KBN%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td >
					<select style="width:160px" id="<%= YukyuInformationCardVo.PRM_PLT_CF_KBN%>" name="<%= YukyuInformationCardVo.PRM_PLT_CF_KBN %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltCFKbn , vo.getPltCFKbn())%>
					</select>
				</td>
			</tr>
			</tbody>
		</table>
	</div>
	<div class="Bottom">
		<table id="bottom">
			<thead>				
				<tr>			
					<th colspan="4"><%=vo.SUB_TITLE2 %></th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td class="tdNumber"><%=CommonConst.NAM_COMMON_BANGO%></td>
					<td><%=YukyuInformationCardVo.NAM_STANDARD%></td>
					<td><%=YukyuInformationCardVo.NAM_DAYS%></td>
					<td><%=YukyuInformationCardVo.NAM_INFO%></td>
				</tr>
<%
for (int i = 0; i < 20; i++) {
%>
				<tr>
					<td class="tdNumber">
						<%= i + 1 %>
					</td>
					<td id="tdStandard">
						<input type="text" class="NumberTextBox" id="<%= YukyuInformationCardVo.PRM_TXT_STANDARD %>" name="<%= YukyuInformationCardVo.PRM_TXT_STANDARD %>" value="<%= aryStandard[i] %>" />
						<%= CommonConst.NAM_YEAR %>
					</td>
					<td id="tdDays">
						<input type="text" class="NumberTextBox" id="<%= YukyuInformationCardVo.PRM_TXT_DAYS %>" name="<%= YukyuInformationCardVo.PRM_TXT_DAYS %>" value="<%= aryDays[i] %>" />
						<%= CommonConst.NAM_DAY %>
					</td>
					<td id="tdInfo">
						<input type="text" class="TextBox" id="<%= YukyuInformationCardVo.PRM_TXT_INFO %>" name="<%= YukyuInformationCardVo.PRM_TXT_INFO %>" value="<%= aryInfo[i] %>" />
					</td>
				</tr>
<%
}
%>
			</tbody>
		</table>
	</div>
</div>
<div class="Footer">
	<button type="button" class="ExecuteButton" onclick="submitForm(document.form)"><%= CommonConst.NAM_REGIST %></button>
	<button type="button" class="MenuButton" onclick="doSubmit(document.form, 'S2910')"><%= CommonConst.NAM_TO_MENU %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
