<%--
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                             --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--      プログラムＩＤ：  KintaiSystemDefinitionCard                       --%>
<%--      プログラム名  ：  勤怠管理情報設定画面 	                         --%>
<%--      修正履歴      ：                                                   --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%-- 〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　--%>
<%@ 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.KintaiSystemDefinitionCardVo"
%><%
KintaiSystemDefinitionCardVo vo = (KintaiSystemDefinitionCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%=HtmlUtility.getHeader(vo)%>
<%=vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_SYSTEM2)%>
<div class="Body" id="kintaiSystemDefinitionCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Card">
		<table >
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_STATUTORY_HOUR%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2" >
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_HOUR %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_HOUR %>" value="<%= vo.getEscTxtStatutoryHours() %>" />
					<%=CommonConst.NAM_COMMON_TIME%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_STATUTORY_WEEK%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_WEEK %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_WEEK %>" value="<%= vo.getEscTxtStatutoryWeek() %>" />
					<%=CommonConst.NAM_COMMON_TIME%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_STATUTORY_MONTH_HOURS%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_MONTH_HOURS %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_MONTH_HOURS %>" value="<%= vo.getEscTxtStatutoryMonthHours() %>" />
					<%=CommonConst.NAM_COMMON_TIME%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_STATUTORY_MONTH_DAYS%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_MONTH_DAYS %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_STATUTORY_MONTH_DAYS %>" value="<%= vo.getEscTxtStatutoryMonthDays() %>" />
					<%=CommonConst.NAM_DAY%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_CALCULATION%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select class="FlagSelect" id="<%= KintaiSystemDefinitionCardVo.PRM_PLT_CALCULATION_MONTH %>" name="<%= KintaiSystemDefinitionCardVo.PRM_PLT_CALCULATION_MONTH %>">
						<%= HtmlUtility.getSelectOption(vo.aryPltCalcMonth, vo.getEscPltCalcMonth()) %>
					</select>
					<%=CommonConst.MSG_OF%>
					&nbsp;
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_CALCULATION_DAYS %>"  name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_CALCULATION_DAYS %>"  value="<%= vo.getEscTxtCalcDays() %>"  />
					<%=CommonConst.MSG_PERIOD_DATE1%>
					&nbsp;
					<%=CommonConst.MSG_PERIOD_DATE2%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_PROVIDED%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select class="FlagSelect" id="<%= KintaiSystemDefinitionCardVo.PRM_PLT_PROVIDED_MONTH %>" name="<%= KintaiSystemDefinitionCardVo.PRM_PLT_PROVIDED_MONTH %>">
						<%= HtmlUtility.getSelectOption(vo.aryPltProvidedMonth, vo.getEscPltProvidedMonth()) %>
					</select>
					<%=CommonConst.MSG_OF%>
					&nbsp;
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_PROVIDED_DAYS %>"  name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_PROVIDED_DAYS %>"  value="<%= vo.getEscTxtProvidedDays() %>"  />
					<%=CommonConst.MSG_PROVIDED_DATE%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_INPUT_UNIT_TIMES%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_INPUT_UNIT_TIMES %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_INPUT_UNIT_TIMES %>" value="<%= vo.getEscTxtInputUnit() %>" />
					<%=CommonConst.NAM_MINUTES%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_AUTOMATIC_CALCULATION%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select class="DeleteFlagSelect" id="<%= KintaiSystemDefinitionCardVo.PRM_PLT_AUTOMATIC_CALCULATION %>" name="<%= KintaiSystemDefinitionCardVo.PRM_PLT_AUTOMATIC_CALCULATION %>">
						<%= HtmlUtility.getDeleteFlagSelectOption(vo.getPltAutoCalc()) %>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_HOLIDAY_HOURS_ALL%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_ALL_HOLIDAY_HOUR %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_ALL_HOLIDAY_HOUR %>" value="<%= vo.getEscTxtAllHolidayHour() %>" />
					<%=CommonConst.NAM_COMMON_TIME%>
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_ALL_HOLIDAY_MIN %>"  name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_ALL_HOLIDAY_MIN %>"  value="<%= vo.getEscTxtAllHolidayMin() %>"  />
					<%=CommonConst.NAM_MINUTES%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_HOLIDAY_HOURS_HALF%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_HALF_HOLIDAY_HOUR %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_HALF_HOLIDAY_HOUR %>" value="<%= vo.getEscTxtHalfHolidayHour() %>" />
					<%=CommonConst.NAM_COMMON_TIME%>
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_HALF_HOLIDAY_MIN %>"  name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_HALF_HOLIDAY_MIN %>"  value="<%= vo.getEscTxtHalfHolidayMin() %>"  />
					<%=CommonConst.NAM_MINUTES%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_LATE_NIGHT_START%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_START_HOUR %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_START_HOUR %>" value="<%= vo.getEscTxtLateNightStartHour() %>" />
					<%=CommonConst.STR_TIME_SEPARATOR%>
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_START_MIN %>"  name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_START_MIN %>"  value="<%= vo.getEscTxtLateNightStartMin() %>"  />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_LATE_NIGHT_HOURS%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_TIME_HOUR %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_TIME_HOUR %>" value="<%= vo.getEscTxtLateNightTimeHour() %>" />
					<%=CommonConst.NAM_COMMON_TIME%>
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_TIME_MIN %>"  name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_LATE_NIGHT_TIME_MIN %>"  value="<%= vo.getEscTxtLateNightTimeMin() %>"  />
					<%=CommonConst.NAM_MINUTES%>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=KintaiSystemDefinitionCardVo.NAM_PASSWORD_TERM%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= KintaiSystemDefinitionCardVo.PRM_TXT_PASSWORD_TERM %>" name="<%= KintaiSystemDefinitionCardVo.PRM_TXT_PASSWORD_TERM %>" value="<%= vo.getEscTxtPasswordTerm() %>" />
					<%=CommonConst.NAM_ROTATION_DAYS%>
					&nbsp;
					<%=CommonConst.MSG_PASSWORD_TERM%>
				</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, 'S2910')"><%= CommonConst.NAM_TO_MENU %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
