<%--
MosP - Mind Open Source Project         http://www.mosp.jp/
Copyright (C) 1987-2008 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                             --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--      プログラムＩＤ：  RotationCard                                     --%>
<%--      プログラム名  ：  輪番パターン保守詳細画面                         --%>
<%--      修正履歴      ：                                                   --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%-- 〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　--%>
<%@ 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.vo.ScheduleRotationCardVo"
%><%
ScheduleRotationCardVo vo = (ScheduleRotationCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%=HtmlUtility.getHeader(vo)%>
<%=vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_INPUT, vo.CMD_SCHEDULE_MENU, vo.TTL_SCHEDULE_MENU)%>
<div class="Body" id="RotationCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Card">
		<table >
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=ScheduleRotationCardVo.NAM_RT_CODE%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2" >
					<input type="text" class="CodeTextBox" id="<%= ScheduleRotationCardVo.PRM_TXT_RT_CODE %>" name="<%= ScheduleRotationCardVo.PRM_TXT_RT_CODE %>" value="<%= vo.getEscTxtRTCode() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=ScheduleRotationCardVo.NAM_RT_NAME%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="TextBox" id="<%= ScheduleRotationCardVo.PRM_TXT_RT_NAME %>" name="<%= ScheduleRotationCardVo.PRM_TXT_RT_NAME %>" value="<%= vo.getEscTxtRTName() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=ScheduleRotationCardVo.NAM_HOLIDAY%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_HOLIDAY%>" name="<%= ScheduleRotationCardVo.PRM_PLT_HOLIDAY %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltHoliday , vo.getEscPltHoliday())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY1%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY1%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY1%>">
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay1())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY2%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY2%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY2%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay2())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY3%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY3%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY3%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay3())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY4%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY4%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY4%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay4())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY5%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY5%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY5%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay5())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY6%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY6%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY6%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay6())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY7%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY7%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY7%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay7())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY8%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY8%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY8%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay8())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY9%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY9%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY9%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay9())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=ScheduleRotationCardVo.NAM_DAY10%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select id="<%= ScheduleRotationCardVo.PRM_PLT_DAY10%>" name="<%= ScheduleRotationCardVo.PRM_PLT_DAY10%>">
						<option value=""></option>
						<%=HtmlUtility.getSelectOption(vo.aryPltWorkType , vo.getEscPltDay10())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=ScheduleRotationCardVo.NAM_DELETE%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select class="DeleteFlagSelect" id="<%= ScheduleRotationCardVo.PRM_PLT_DELETE %>" name="<%= ScheduleRotationCardVo.PRM_PLT_DELETE %>">
						<%= HtmlUtility.getDeleteFlagSelectOption(vo.getPltDelete()) %>
					</select>
				</td>
			</tr>
		</table>
	</div>
</div>
<div class="Footer">
	<button type="button" class="ExecuteButton" onclick="submitForm(document.form)"><%= CommonConst.NAM_REGIST %></button>
	<button type="button" class="ExecuteButton" onclick="doSubmit(document.form, 'K1212')"><%= CommonConst.NAM_TO_LIST %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
