<%--
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                             --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--      プログラムＩＤ：  lateReasonCardVo                                --%>
<%--      プログラム名  ：  遅刻理由設定画面                                 --%>
<%--      修正履歴      ：                                                   --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%-- 〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　--%>
<%@ 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.LateReasonCardVo"
%><%
LateReasonCardVo vo = (LateReasonCardVo)request.getAttribute(MospConst.ATT_VO);
String[] aryLateReason 	= vo.getEscAryLateReason();
%>
<%=HtmlUtility.getHeader(vo)%>
<%= vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_SYSTEM2, vo.CMD_REASON_MENU ,vo.TTL_REASON_MENU_MASTER) %>
<div class="Body" id="lateReasonCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Card">
		<table >
			<tr>
				<td class="TitleTd"><%=CommonConst.NAM_COMMON_BANGO%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td >
					<%= LateReasonCardVo.NAM_LATE_REASON %>
				</td>
			</tr>
<%
for (int i = 0; i < 10; i++) {
%>
			<tr>
				<td class="TitleTd">
				<% if (i == 0) {%>
					<%=HtmlUtility.getRequiredMark()%>
				<% } %>
					<%= i + 1 %><%=CommonConst.STR_TITLE_SEPARATOR%>
				</td>
				<td >
					<input type="text" class="TextBox" id="<%= LateReasonCardVo.PRM_TXT_LATE_REASON + i %>" name="<%= LateReasonCardVo.PRM_TXT_LATE_REASON + i %>" value="<%= aryLateReason[i] %>" />
				</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="MenuButton" onclick="doSubmit(document.form, 'S2590')"><%= CommonConst.NAM_TO_REASON_MENU_MASTER %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
