<%--
/*
 * 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       = "256kb"
autoFlush    = "false"
errorPage    = "/jsp/common/error.jsp"
%><%@ page
import = "jp.mosp.common.common.MospConst"
import = "jp.mosp.common.common.HtmlUtility"
import = "jp.mosp.payroll.payment.vo.PaymentReportVo"
%><%
PaymentReportVo vo  = (PaymentReportVo)request.getAttribute(MospConst.ATT_VO);
%>
<%= HtmlUtility.getHeader(vo) %>
<%= HtmlUtility.getSubTitle(vo) %>
<div class="Body">
	<%= HtmlUtility.getMessages(vo) %>
	<div class="Search">
		<table id="tabCondition">
			<tr>
				<td>
					<span class="TitleLabel"><%= vo.getName("P_OFFICE") + vo.getName("C_SEPARATOR") %></span>
					<select id="<%= PaymentReportVo.PRM_PLT_OFFICE %>" name="<%= PaymentReportVo.PRM_PLT_OFFICE %>">
						<option value=""></option>
						<%= HtmlUtility.getSelectOption(vo.getPitOffice(), vo.getPltOffice()) %>
					</select>
				</td>
				<td>
					<span class="TitleLabel"><%= vo.getName("P_SECTION") + vo.getName("C_SEPARATOR") %></span>
					<select id="<%= PaymentReportVo.PRM_PLT_SECTION %>" name="<%= PaymentReportVo.PRM_PLT_SECTION %>">
						<option value=""></option>
						<%= HtmlUtility.getSelectOption(vo.getPitSection(), vo.getPltSection()) %>
					</select>
				</td>
				<td>
					<span class="TitleLabel"><%= vo.getName("P_EMPLOYEE") + vo.getName("C_CODE") + vo.getName("C_SEPARATOR") %></span>
					<input type="text" class="UserIdText" id="<%= PaymentReportVo.PRM_TXT_K_CODE %>" name="<%= PaymentReportVo.PRM_TXT_K_CODE %>" value="<%= vo.getEscTxtKCode() %>" />
				</td>
			</tr>
		</table>
		<table id="tabTargetMonth">
			<tr>
				<td>
					<span class="TitleLabel"><%= vo.getName("P_TARGET_MONTH") + vo.getName("C_SEPARATOR") %></span>
					<select id="<%= PaymentReportVo.PRM_PLT_YEAR %>" name="<%= PaymentReportVo.PRM_PLT_YEAR %>">
						<%= HtmlUtility.getSelectOption(vo.getPitYear(), String.valueOf(vo.getPltYear())) %>
					</select><%= vo.getName("C_YEAR") %>
					<select id="<%= PaymentReportVo.PRM_PLT_MONTH %>" name="<%= PaymentReportVo.PRM_PLT_MONTH %>">
						<%= HtmlUtility.getSelectOption(vo.getPitMonth(), String.valueOf(vo.getPltMonth())) %>
					</select><%= vo.getName("C_MONTH") %>
				</td>
			</tr>
		</table>
	</div>
	<div>
		<button type="button" class="ExecuteButton" onclick="doSubmitFile(document.form, 'P1265')">
			<%= vo.getName("P_PAYMENT") + vo.getName("C_DATA") + vo.getName("C_EXPORT") %>
		</button>
	</div>
</div>
<%= HtmlUtility.getFooter(vo) %>
