<%--
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.
--%>
<%@ page
language     = "java"
pageEncoding = "Windows-31J"
buffer       = "256kb"
autoFlush    = "false"
errorPage    = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.common.CommonConst"
import = "jp.mosp.common.common.HtmlUtility"
import = "jp.mosp.common.common.MospConst"
import = "jp.mosp.payroll.common.vo.ExportMasterCardVo"

%><%
ExportMasterCardVo vo = (ExportMasterCardVo)request.getAttribute(MospConst.ATT_VO);
%>
<%= HtmlUtility.getHeader(vo) %>
<%= vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_PAYROLL) %>
<div class="Body" id="humanOutput">
	<%= HtmlUtility.getMessages(vo) %>
	<div class="Search">
		<table>
			<tr>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=ExportMasterCardVo.NAM_NAME%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td>
					<input type="text" class="TextBox" id="<%= ExportMasterCardVo.PRM_TXT_E_NAME %>" name="<%= ExportMasterCardVo.PRM_TXT_E_NAME %>" value="<%= vo.getEscTxtEName() %>" />
				</td>
				<td class="TitleTd"><%=HtmlUtility.getRequiredMark()%><%=ExportMasterCardVo.NAM_FILE%><%=CommonConst.STR_TITLE_SEPARATOR%></td>
				<td>
					<span><%= vo.getEscLblEFile() %></span>
					<input type="hidden" id="<%= ExportMasterCardVo.PRM_HID_E_FILE %>" name="<%= ExportMasterCardVo.PRM_HID_E_FILE %>" value="<%= vo.getHidEFile() %>">
				</td>
			</tr>
		</table>
	</div>
	<div id="divSelect">
		<div id="divColumns">
			<span><%= vo.getName("P_INFORMATION") + vo.getName("C_ITEM") %></span>
			<br />
			<select id="pltColumns" multiple="multiple">
				<%= HtmlUtility.getSelectOption(vo.aryPltKintaiDataItem, "") %>
			</select>
		</div>
		<div id="divButtons">
			<button type="button" id="btnSelectAll"  onclick="moveOptionAll('pltColumns', '<%= ExportMasterCardVo.PRM_PLT_SELECTED %>');"><%= CommonConst.NAM_SELECT_OPTION_ALL  %></button>
			<button type="button" id="btnSelect"     onclick="moveOption   ('pltColumns', '<%= ExportMasterCardVo.PRM_PLT_SELECTED %>');"><%= CommonConst.NAM_SELECT_OPTION      %></button>
			<button type="button" id="btnRelease"    onclick="moveOption   ('<%= ExportMasterCardVo.PRM_PLT_SELECTED %>', 'pltColumns');"><%= CommonConst.NAM_RELEASE_OPTION     %></button>
			<button type="button" id="btnReleaseAll" onclick="moveOptionAll('<%= ExportMasterCardVo.PRM_PLT_SELECTED %>', 'pltColumns');"><%= CommonConst.NAM_RELEASE_OPTION_ALL %></button>
		</div>
		<div id="divSelected">
			<span><%=HtmlUtility.getRequiredMark()%><%= ExportMasterCardVo.NAM_PLT_SELECTED %></span>
			<br />
			<select id="<%= ExportMasterCardVo.PRM_PLT_SELECTED %>" name="<%= ExportMasterCardVo.PRM_PLT_SELECTED %>" multiple="multiple">
				<%= HtmlUtility.getSelectOption(vo.aryPltSelectDataItem, "") %>
			</select>
		</div>
	</div>
</div>
<div class="Footer">
	<button type="button" class="ExecuteButton" onclick="submitForm(document.form)"><%= CommonConst.NAM_REGIST %></button>
	<button type="button" class="ExecuteButton" id="btnDelete" onclick="doSubmitMessage(document.form, 'P9009','QC0002' ,'')"><%= CommonConst.NAM_DELETE %></button>
	<button type="button" class="ExecuteButton" onclick="doSubmit(document.form, 'P9003')"><%= CommonConst.NAM_TO_LIST %></button>
</div>
<%= HtmlUtility.getFooter(vo) %>
