<%@ 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"
import = "jp.mosp.payroll.base.PayrollConst"
%><%
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 class="Search">
	<table id="tabTargetMonth">
			<tr>
				<td>
					<span class="TitleLabel"><%= vo.getName("P_TARGET_MONTH") + vo.getName("C_SEPARATOR") %></span>
					<select id="<%= PaymentReportVo.PRM_PLT_OUT_YEAR %>" name="<%= PaymentReportVo.PRM_PLT_OUT_YEAR %>">
						<%= HtmlUtility.getSelectOption(vo.getPitOutYear(), String.valueOf(vo.getPltOutYear())) %>
					</select><%= vo.getName("C_YEAR") %>
					<select id="<%= PaymentReportVo.PRM_PLT_OUT_MONTH %>" name="<%= PaymentReportVo.PRM_PLT_OUT_MONTH %>">
						<%= HtmlUtility.getSelectOption(vo.getPitOutMonth(), String.valueOf(vo.getPltOutMonth())) %>
					</select><%= vo.getName("C_MONTH") %>
				</td>
			</tr>
			<tr>
				<td>	
					<button type="button" id="btnData" onclick="doSubmitFile(document.form, 'P9012')">
						<%= PayrollConst.NAM_CASH_KIND_PAIROLL %>
					</button>
					<button type="button" id="btnData" onclick="doSubmitFile(document.form, 'P9014')">
						<%= PayrollConst.NAM_BANK_PARSON_PAIROLL %>
					</button>	
					<button type="button" id="btnData" onclick="doSubmitFile(document.form, 'P9015')">
						<%= PayrollConst.NAM_BANK_COMPANY_PAIROLL %>
					</button>
					<button type="button" id="btnData" onclick="doSubmitFile(document.form, 'P9018')">
						<%= PayrollConst.NAM_TAX_PARSON_PAIROLL %>
					</button>
					<button type="button" id="btnData" onclick="doSubmitFile(document.form, 'P9019')">
						<%= PayrollConst.NAM_TAX_COMPANY_PAIROLL %>
					</button>
				</td>
			</tr>
	</table>
	</div>
	
</div>
<%= HtmlUtility.getFooter(vo) %>
