<%--
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       = "256kb"
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.mospcommon.system.vo.LimitStandardMasterCardVo"
%><%
LimitStandardMasterCardVo vo = (LimitStandardMasterCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%=HtmlUtility.getHeader(vo)%>
<%=HtmlUtility.getSubTitle(vo)%>
<div class="Body" id="limitStandardMasterCard">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Card">
		<table >
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.NAM_LCODE %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td>
					<input type="text" class="CodeTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LCODE %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LCODE %>" value="<%= vo.getEscTxtLCode() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.NAM_LNAME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td>
					<input type="text" class="TextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LNAME %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LNAME %>" value="<%= vo.getEscTxtLName() %>" />
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.NAM_PRESCRIBED_TIME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_PRESCRIBED_TIME_HOUR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_PRESCRIBED_TIME_HOUR %>" value="<%= vo.getEscTxtPrescribedTimeHour() %>" />
					<%= CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_PRESCRIBED_TIME_MIN %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_PRESCRIBED_TIME_MIN %>" value="<%= vo.getEscTxtPrescribedTimeMin() %>" />
					<%= CommonConst.NAM_MINUTES %>
				</td>
			</tr>
<%--  
			<tr>
				<td class="ItemTd"><%= CommonConst.BRACKET_LEFT %><%= vo.LBL_ONE_DAY %><%= CommonConst.BRACKET_RIGHT %></td>
				<td>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_CAUTION_TIME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblCautionTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_DAY_HOUR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_DAY_HOUR %>" value="<%= vo.getEscTxtCautionDayHour() %>" />
					<%= CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_DAY_MIN %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_DAY_MIN %>" value="<%= vo.getEscTxtCautionDayMin() %>" />
					<%= CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_LIMIT_TIME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblLimitTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_DAY_HOUR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_DAY_HOUR %>" value="<%= vo.getEscTxtLimitDayHour() %>" />
					<%= CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_DAY_MIN %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_DAY_MIN %>" value="<%= vo.getEscTxtLimitDayMin() %>" />
					<%= CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="ItemTd"><%= CommonConst.BRACKET_LEFT %><%= vo.LBL_SPECIFIED_PERIOD %><%= CommonConst.BRACKET_RIGHT %></td>
				<td>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.NAM_TERM_TYPE %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td>
					<select class="OfficeSelect" id="<%= LimitStandardMasterCardVo.PRM_PLT_TERM_TYPE %>" name="<%= LimitStandardMasterCardVo.PRM_PLT_TERM_TYPE %>" onChange="setLimitTermTime()">
						<%= HtmlUtility.getSelectOption(vo.aryPltTermType, vo.getPltTermType()) %>
					</select>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_CAUTION_TIME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblCautionTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_TERM_HOUR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_TERM_HOUR %>" value="<%= vo.getEscTxtCautionTermHour() %>" />
					<%= CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_TERM_MIN %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_TERM_MIN %>" value="<%= vo.getEscTxtCautionTermMin() %>" />
					<%= CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_LIMIT_TIME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblLimitTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_TERM_HOUR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_TERM_HOUR %>" value="<%= vo.getEscTxtLimitTermHour() %>" />
					<%= CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_TERM_MIN %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_TERM_MIN %>" value="<%= vo.getEscTxtLimitTermMin() %>" />
					<%= CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_RATE %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblRateTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_RATE_TERM %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_RATE_TERM %>" value="<%= vo.getEscTxtRateTerm() %>" />
					<%= CommonConst.NAM_PERCENT %>
				</td>
			</tr>
			<tr>
				<td class="ItemTd"><%= CommonConst.BRACKET_LEFT %><%= vo.LBL_ONE_YEAR %><%= CommonConst.BRACKET_RIGHT %></td>
				<td>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_CAUTION_TIME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblCautionTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_YEAR_HOUR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_YEAR_HOUR %>" value="<%= vo.getEscTxtCautionYearHour() %>" />
					<%= CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_YEAR_MIN %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_CAUTION_YEAR_MIN %>" value="<%= vo.getEscTxtCautionYearMin() %>" />
					<%= CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_LIMIT_TIME %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblLimitTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_YEAR_HOUR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_YEAR_HOUR %>" value="<%= vo.getEscTxtLimitYearHour() %>" />
					<%= CommonConst.NAM_COMMON_TIME %>
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_YEAR_MIN %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_LIMIT_YEAR_MIN %>" value="<%= vo.getEscTxtLimitYearMin() %>" />
					<%= CommonConst.NAM_MINUTES %>
				</td>
			</tr>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.LBL_RATE %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td class="LblRateTd">
					<input type="text" class="NumberTextBox" id="<%= LimitStandardMasterCardVo.PRM_TXT_RATE_YEAR %>" name="<%= LimitStandardMasterCardVo.PRM_TXT_RATE_YEAR %>" value="<%= vo.getEscTxtRateYear() %>" />
					<%= CommonConst.NAM_PERCENT %>
				</td>
			</tr>
--%>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%= vo.NAM_DELETE_FLAG %><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td id="tdDeleteFlag">
					<select class="DeleteFlagSelect" id="<%= LimitStandardMasterCardVo.PRM_PLT_DELETE_FLAG %>" name="<%= LimitStandardMasterCardVo.PRM_PLT_DELETE_FLAG %>">
						<%= HtmlUtility.getDeleteFlagSelectOption(vo.getPltDeleteFlag()) %>
					</select>
				</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="ExecuteButton" onclick="doSubmit(document.form, 'S2542')"><%= CommonConst.NAM_TO_LIST %></button>
	<button type="button" class="ExecuteButton" id="btnNewData" onclick="doSubmit(document.form, 'S2545')"><%= CommonConst.NAM_MAKE_NEW_DATA %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
