<%--
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                             --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--      プログラムＩＤ：  WorkTypeMasterCard                               --%>
<%--      プログラム名  ：  勤務形態マスタ保守詳細画面                       --%>
<%--      修正履歴      ：                                                   --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%--                                                                         --%>
<%-- 〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　〜　--%>
<%@ 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.WorkTypeMasterCardVo"
%><%
WorkTypeMasterCardVo vo = (WorkTypeMasterCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%=HtmlUtility.getHeader(vo)%>
<%=vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_SYSTEM2)%>
<div class="Body" id="workTypeMasterCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Card">
		<table >
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_SHIFT_CODE%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="InputTd" colspan="2">
					<input type="text" class="CodeTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_SHIFT_CODE %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_SHIFT_CODE %>" value="<%= vo.getEscTxtShiftCode() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_SHIFT_NAME%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="TextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_SHIFT_NAME %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_SHIFT_NAME %>" value="<%= vo.getEscTxtShiftName() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_START_TIME%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_START_HOUR %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_START_HOUR %>" value="<%= vo.getEscTxtStartHour() %>" />
					<%=CommonConst.STR_TIME_SEPARATOR%>
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_START_MIN %>"  name="<%= WorkTypeMasterCardVo.PRM_TXT_START_MIN %>"  value="<%= vo.getEscTxtStartMin() %>"  />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_QUIT_TIME%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td >
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_QUIT_HOUR %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_QUIT_HOUR %>" value="<%= vo.getEscTxtQuitHour() %>" />
					<%=CommonConst.STR_TIME_SEPARATOR%>
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_QUIT_MIN %>"  name="<%= WorkTypeMasterCardVo.PRM_TXT_QUIT_MIN %>"  value="<%= vo.getEscTxtQuitMin() %>"  />
				</td>
				<td>
					<%= WorkTypeMasterCardVo.MSG_QUIT_TIME_NEXT_DAY %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_WORKING_HOURS%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_WORK_HOUR %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_WORK_HOUR %>" value="<%= vo.getEscTxtWorkHour() %>" />
					<%=CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_WORK_MIN %>"  name="<%= WorkTypeMasterCardVo.PRM_TXT_WORK_MIN %>"  value="<%= vo.getEscTxtWorkMin() %>"  />
					<%=CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_BREAK_TIME%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_BREAK_HOUR %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_BREAK_HOUR %>" value="<%= vo.getEscTxtBreakHour() %>" />
					<%=CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_BREAK_MIN %>"  name="<%= WorkTypeMasterCardVo.PRM_TXT_BREAK_MIN %>"  value="<%= vo.getEscTxtBreakMin() %>"  />
					<%=CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_OVERTIME_START%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td >
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_START_HOUR %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_START_HOUR %>" value="<%= vo.getEscTxtOverStartHour() %>" />
					<%=CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_START_MIN  %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_START_MIN  %>" value="<%= vo.getEscTxtOverStartMin() %>"  />
					<%=CommonConst.NAM_MINUTES %>
				</td>
				<td>
					<%= CommonConst.MSG_OVERTIME_START_TIME %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_OVERTIME_BREAK%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_BREAK_HOUR %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_BREAK_HOUR %>" value="<%= vo.getEscTxtOverBreakHour() %>" />
					<%=CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_BREAK_MIN %>"  name="<%= WorkTypeMasterCardVo.PRM_TXT_OVER_BREAK_MIN %>"  value="<%= vo.getEscTxtOverBreakMin() %>"  />
					<%=CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=WorkTypeMasterCardVo.NAM_DELETE%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td colspan="2">
					<select class="DeleteFlagSelect" id="<%= WorkTypeMasterCardVo.PRM_PLT_DELETE %>" name="<%= WorkTypeMasterCardVo.PRM_PLT_DELETE %>">
						<%=HtmlUtility.getDeleteFlagSelectOption(vo.getPltDelete())%>
					</select>
				</td>
			</tr>
		</table>
		<input type="hidden" id="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION1 %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION1 %>" value="<%=vo.getEscTxtOption1() %>" />
		<input type="hidden" id="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION2 %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION2 %>" value="<%=vo.getEscTxtOption2() %>" />
		<input type="hidden" id="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION3 %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION3 %>" value="<%=vo.getEscTxtOption3() %>" />
		<input type="hidden" id="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION4 %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION4 %>" value="<%=vo.getEscTxtOption4() %>" />
		<input type="hidden" id="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION5 %>" name="<%= WorkTypeMasterCardVo.PRM_TXT_OPTION5 %>" value="<%=vo.getEscTxtOption5() %>" />
	</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, 'S2602')"><%= CommonConst.NAM_TO_LIST %></button>
	<button type="button" class="ExecuteButton" id="btnNewData" onclick="doSubmit(document.form, 'S2605')"><%= CommonConst.NAM_MAKE_NEW_DATA %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
