<%--
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.
--%>
<%@ 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.AttendanceMenuVo"
%><%
AttendanceMenuVo vo = (AttendanceMenuVo)request.getAttribute(MospConst.ATT_VO);
%>
	<div class="divInfo">
		<table id="tblChange">
			<tbody>
				<tr>
					<td id="tdKCode">
						<%= CommonConst.NAM_K_CODE %><%= CommonConst.STR_TITLE_SEPARATOR %><%= vo.getEscLblKCode() %>
					</td>
					<td id="tdKName">
						<%= CommonConst.NAM_K_NAME %><%= CommonConst.STR_TITLE_SEPARATOR %><%= vo.getEscLblKName() %>
					</td>
					<td id="tdDate">
						<%= vo.getEscLblYear() %><%= CommonConst.NAM_YEAR %>&nbsp;
						<%= vo.getEscLblMonth() %><%= CommonConst.NAM_MONTH %>&nbsp;
						<%= vo.getEscLblDay() %><%= CommonConst.NAM_DAY %>
					</td>
					<td>
						<button type="button" id="btnStart" class="ExecuteButton" onclick="doSubmitKey(document.form, '<%= vo.getCmdStartButton() %>', '<%= vo.getEscHidKCode() %>', '<%= vo.getEscHidDate() %>')">
							<%= CommonConst.NAM_INPUT_START %>
						</button>
					</td>
					<td>
						<button type="button" id="btnQuit" class="ExecuteButton" onclick="doSubmitKey(document.form, '<%= vo.getCmdQuitButton() %>', '<%= vo.getEscHidKCode() %>', '<%= vo.getEscHidDate() %>')">
							<%= CommonConst.NAM_INPUT_QUIT %>
						</button>
					</td>
					<td>
						<button type="button" id="btnCheck" class="ExecuteButton" onclick="doSubmitKey(document.form, 'K1121', '<%= vo.getEscHidKCode() %>', '<%= vo.getEscHidDate() %>')">
							<%= CommonConst.NAM_CHECK_ATTENDANCE %>
						</button>
					</td>
					<td>
						<button type="button" id="btnHoliday" class="ExecuteButton" onclick="doSubmitKey(document.form, '<%= vo.getCmdHolidayButton() %>', '<%= vo.getEscHidKCode() %>', '<%= vo.getEscHidDate() %>')">
							<%= CommonConst.NAM_INPUT_HOLIDAY %>
						</button>
					</td>
					<td>
						<button type="button" class="ExecuteButton" onclick="doSubmit(document.form, 'K1013')">
							<%= CommonConst.TTL_ATTENDANCE_LIST %>
						</button>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
	<input type="hidden" id="<%= AttendanceMenuVo.PRM_HID_SELECT_CMD 	%>" name="<%= AttendanceMenuVo.PRM_HID_SELECT_CMD 	%>" value="<%= vo.getHidSelectCmd() %>" />
	<input type="hidden" id="<%= AttendanceMenuVo.PRM_HID_K_CODE		%>" name="<%= AttendanceMenuVo.PRM_HID_K_CODE		%>" value="<%= vo.getEscHidKCode()	%>" />
	<input type="hidden" id="<%= AttendanceMenuVo.PRM_HID_K_NAME		%>" name="<%= AttendanceMenuVo.PRM_HID_K_NAME		%>" value="<%= vo.getEscHidKName()	%>" />
	<input type="hidden" id="<%= AttendanceMenuVo.PRM_HID_YEAR			%>" name="<%= AttendanceMenuVo.PRM_HID_YEAR			%>" value="<%= vo.getEscHidYear()	%>" />
	<input type="hidden" id="<%= AttendanceMenuVo.PRM_HID_MONTH			%>" name="<%= AttendanceMenuVo.PRM_HID_MONTH		%>" value="<%= vo.getEscHidMonth()	%>" />
	<input type="hidden" id="<%= AttendanceMenuVo.PRM_HID_DAY			%>" name="<%= AttendanceMenuVo.PRM_HID_DAY			%>" value="<%= vo.getEscHidDay()	%>" />
