<%--
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.workflow.vo.AttendanceRouteCardVo"
%><%
AttendanceRouteCardVo vo = (AttendanceRouteCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%=HtmlUtility.getHeader(vo)%>
<%=HtmlUtility.getSubTitle(vo)%>
<div class="Body" id="UnitCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Card">
		<table >
			<tr>
				<td class="TitleTd">
					&nbsp;
				</td>
				<td class="InputTd">
					<p class="pRoute1">
						<%=CommonConst.MSG_ATTENDANCE_APPROVAL1%><br />
						<%=CommonConst.MSG_ATTENDANCE_APPROVAL2%>
					</p>
					<p class="pRoute2">
						<%=CommonConst.MSG_ATTENDANCE_APPROVAL3%>
					</p>
					<p class="pRoute2">
						<%=CommonConst.MSG_ATTENDANCE_APPROVAL4%>
					</p>
					<p class="pRoute2">
						<%=CommonConst.MSG_ATTENDANCE_APPROVAL5%>
					</p>
				</td>
			</tr>
<!--	2009/07/22	m.yoshida	嬑懹彸擣儖乕僩廋惓	-->
			<tr>
				<td class="TitleTd"><%= vo.NAM_OFFICE %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="InputTd">
					<select id="<%= AttendanceRouteCardVo.PRM_PLT_OFFICE %>" name="<%= AttendanceRouteCardVo.PRM_PLT_OFFICE %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltOffice, vo.getPltOffice())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%= vo.NAM_SECTION %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="InputTd">
					<select id="<%= AttendanceRouteCardVo.PRM_PLT_SECTION %>" name="<%= AttendanceRouteCardVo.PRM_PLT_SECTION %>">
						<%=HtmlUtility.getSelectOption(vo.aryPltSection, vo.getPltSection())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%= vo.NAM_K_CODE %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="InputTd">
					<input type="text" class="CodeTextBox" id="<%= AttendanceRouteCardVo.PRM_TXT_K_CODE %>" name="<%= AttendanceRouteCardVo.PRM_TXT_K_CODE %>" value="<%= vo.getEscTxtKCode() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd">
					&nbsp;
				</td>
				<td class="InputTd">
					<%=CommonConst.MSG_APPROVAL_ROUTE%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%= vo.NAM_ROUTE_CODE %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="InputTd">
					<select id="<%= AttendanceRouteCardVo.PRM_PLT_ROUTE_CODE %>" name="<%= AttendanceRouteCardVo.PRM_PLT_ROUTE_CODE %>">		
						<%=HtmlUtility.getSelectOption(vo.aryPltRoute, vo.getPltRouteCode())%>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.NAM_DELETE%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="InputTd">
					<select class="DeleteFlagSelect" id="<%= AttendanceRouteCardVo.PRM_PLT_DELETE %>" name="<%= AttendanceRouteCardVo.PRM_PLT_DELETE %>">
						<%=HtmlUtility.getDeleteFlagSelectOption(vo.getPltDelete())%>
					</select>
				</td>
			</tr>
		</table>
		<input type="hidden" id="<%= AttendanceRouteCardVo.PRM_HID_ROUTE_ID %>" name="<%= AttendanceRouteCardVo.PRM_HID_ROUTE_ID %>" value="<%= vo.getHidRouteid() %>" />
	</div>
</div>
<div class="Footer">
	<button type="button" id="btnRegist" class="ExecuteButton" onclick="submitForm(document.form)"><%= CommonConst.NAM_REGIST %></button>
	<button type="button" class="ExecuteButton" onclick="doSubmit(document.form, 'S2832')"><%= CommonConst.NAM_TO_LIST %></button>
	<button type="button" class="ExecuteButton" id="btnNewData" onclick="doSubmit(document.form, 'S2835')"><%= CommonConst.NAM_MAKE_NEW_DATA %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
