<%--
/*
 * 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.base.PayrollConst"
import = "jp.mosp.payroll.common.vo.FirmBankingOutputVo"
%>
<%
FirmBankingOutputVo vo = (FirmBankingOutputVo)request.getAttribute(MospConst.ATT_VO);
%><%=HtmlUtility.getHeader(vo)%>
<%=vo.getSubTitle(vo.SUB_TITLE, vo.CMD_MENU_PAYROLL)%>
<div class="Body">
	<div class="Card">
	
		<table id="tblOutputDetail">
			<tbody>
				<tr>
					<td colspan="2">
						<%=PayrollConst.CMT_OUT_FIRM_BANKING%>
					</td>
				</tr>
				<tr>
					<td class="Title1Td"><%=PayrollConst.NAM_OUTPUT_DETAIL%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<select id="<%= FirmBankingOutputVo.PRM_PLT_OUTPUT_DETAIL %>" name="<%= FirmBankingOutputVo.PRM_PLT_OUTPUT_DETAIL %>">
							<%=HtmlUtility.getSelectOption(vo.aryPltOutputDetail, vo.getPltOutputDetail())%>
						</select>
					</td>
				</tr>
			</tbody>
		</table>
		<table id="tblBtnOutputDetail">
			<tbody>
				<tr>
					<td class="Input1Td">
						<button type="button" class="ExecuteButton" id="btnRegist" onclick="submitForm(document.form, 'P9002')"><%=PayrollConst.NAM_OUTPUT_DATA%></button>
					</td>
				</tr>
			</tbody>
		</table>
		<table id="tblSpecifyMonth">
			<tbody>
				<tr>
					<td colspan="2">
						<%=PayrollConst.CMT_OUT_FIRM_BANKING%>
					</td>
				</tr>
				<tr>
					<td class="Title1Td"><%=PayrollConst.NAM_SPECIFY_MONTH%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<select id="<%= FirmBankingOutputVo.PRM_PLT_SPECIFY_YEAR %>" name="<%= FirmBankingOutputVo.PRM_PLT_SPECIFY_YEAR %>">
							<%=HtmlUtility.getSelectOption(vo.aryPltSpecifyYear, vo.getPltSpecifyYear())%>
						</select>
						<select id="<%= FirmBankingOutputVo.PRM_PLT_SPECIFY_MONTH %>" name="<%= FirmBankingOutputVo.PRM_PLT_SPECIFY_MONTH %>">
							<%=HtmlUtility.getSelectOption(vo.aryPltSpecifyMonth, vo.getPltSpecifyMonth())%>
						</select>
						<span id="spanSpecifyDay">
						<select id="<%= FirmBankingOutputVo.PRM_PLT_SPECIFY_DAY %>" name="<%= FirmBankingOutputVo.PRM_PLT_SPECIFY_DAY %>">
							<%=HtmlUtility.getSelectOption(vo.aryPltSpecifyDay, vo.getPltSpecifyDay())%>
						</select>
						</span>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<span id="spanDeadlineCmt">
							<%=PayrollConst.CMT_DEADLINE_DATE%>
						</span>
					</td>
				</tr>
				<tr>
					<td class="Title1Td">&nbsp;&nbsp;<span id="spanDeadlineDate"><%=PayrollConst.NAM_DEADLINE_DATE%><%=PayrollConst.STR_TITLE_SEPARATOR%></span></td>
					<td class="Input1Td">
						<span id="spanDeadlineYear">
							<select id="<%= FirmBankingOutputVo.PRM_PLT_DEADLINE_YEAR %>" name="<%= FirmBankingOutputVo.PRM_PLT_DEADLINE_YEAR %>">
								<%=HtmlUtility.getSelectOption(vo.aryPltDeadlineYear, vo.getPltDeadlineYear())%>
							</select>
						</span>
						<span id="spanDeadlineMonth">
							<select id="<%= FirmBankingOutputVo.PRM_PLT_DEADLINE_MONTH %>" name="<%= FirmBankingOutputVo.PRM_PLT_DEADLINE_MONTH %>">
								<%=HtmlUtility.getSelectOption(vo.aryPltDeadlineMonth, vo.getPltDeadlineMonth())%>
							</select>
						</span>
						<span id="spanDeadlineDay">
							<select id="<%= FirmBankingOutputVo.PRM_PLT_DEADLINE_DAY %>" name="<%= FirmBankingOutputVo.PRM_PLT_DEADLINE_DAY %>">
								<%=HtmlUtility.getSelectOption(vo.aryPltDeadlineDay, vo.getPltDeadlineDay())%>
							</select>
						</span>
					</td>
				</tr>
			</tbody>
		</table>
		<table id="tblCompanyCode">
			<tbody>
				<tr>
					<td colspan="2">
						<%=PayrollConst.CMT_COMPANY_CODE%>
					</td>
				</tr>
				<tr>
					<td class="Title1Td">&nbsp;&nbsp;<%=PayrollConst.NAM_CO_BANK_CODE%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<select id="<%= FirmBankingOutputVo.PRM_PLT_COBANK_CODE %>" name="<%= FirmBankingOutputVo.PRM_PLT_COBANK_CODE %>">
							<%=HtmlUtility.getSelectOption(vo.aryPltCoBankCode, vo.getPltCoBankCode())%>
						</select>
					</td>
				</tr>
				<tr>
					<td class="Title1Td"><%=PayrollConst.NAM_COMPANY_CODE%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<input type="text" id="<%= FirmBankingOutputVo.PRM_TXT_COMPANY_CODE %>" name="<%= FirmBankingOutputVo.PRM_TXT_COMPANY_CODE %>" value="<%= vo.getEscTxtCompanyCode() %>" />
					</td>
				</tr>
				<tr>
					<td class="Title1Td">&nbsp;&nbsp;&nbsp;&nbsp;<%=PayrollConst.NAM_COMPANY_NAME%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<input type="text" id="<%= FirmBankingOutputVo.PRM_TXT_COMPANY_NAME %>" name="<%= FirmBankingOutputVo.PRM_TXT_COMPANY_NAME %>" value="<%= vo.getEscTxtCompanyName() %>" />
					</td>
				</tr>
				<tr>
					<td class="Title1Td">&nbsp;&nbsp;<%=PayrollConst.NAM_CO_ADDRESS%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<input type="text" id="<%= FirmBankingOutputVo.PRM_TXT_CO_ADDRESS %>" name="<%= FirmBankingOutputVo.PRM_TXT_CO_ADDRESS %>" value="<%= vo.getEscTxtCoAddress() %>" />
					</td>
				</tr>
			</tbody>
		</table>
		<table id="tblOutputOption">
			<tbody>
				<tr>
					<td colspan="2">
						<%=PayrollConst.CMT_OUTPUT_OPTION%>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td class="Title1Td">&nbsp;&nbsp;<%=PayrollConst.NAM_RECORD_LENGTH%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<input type="text" id="<%= FirmBankingOutputVo.PRM_TXT_RECORD_LENGTH %>" name="<%= FirmBankingOutputVo.PRM_TXT_RECORD_LENGTH %>" value="<%= vo.getEscTxtRecordLength() %>" />
					</td>
					<td class="Title1Td">&nbsp;&nbsp;<span id="spanTypeCode1"><%=PayrollConst.NAM_TYPE_CODE%><%=PayrollConst.STR_TITLE_SEPARATOR%></span></td>
					<td class="Input1Td">
						<span id="spanTypeCode2">
							<input type="text" id="<%= FirmBankingOutputVo.PRM_TXT_TYPE_CODE %>" name="<%= FirmBankingOutputVo.PRM_TXT_TYPE_CODE %>" value="<%= vo.getEscTxtTypeCode() %>" />
						</span>
					</td>
				</tr>
				<tr>
					<td class="Title1Td">&nbsp;&nbsp;<%=PayrollConst.NAM_CODE_TYPE%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td" colspan="2">
						<select id="<%= FirmBankingOutputVo.PRM_PLT_CODE_TYPE %>" name="<%= FirmBankingOutputVo.PRM_PLT_CODE_TYPE %>">
							<%=HtmlUtility.getSelectOption(vo.aryPltCodeType, vo.getPltCodeType())%>
						</select>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td class="Title1Td"><%=PayrollConst.NAM_RECORD_TYPE%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<select id="<%= FirmBankingOutputVo.PRM_PLT_RECORD_TYPE %>" name="<%= FirmBankingOutputVo.PRM_PLT_RECORD_TYPE %>">
							<%=HtmlUtility.getSelectOption(vo.aryPltRecordType, vo.getPltRecordType())%>
						</select>
					</td>
					<td class="Title1Td"><%=PayrollConst.NAM_END_RECORD%><%=PayrollConst.STR_TITLE_SEPARATOR%></td>
					<td class="Input1Td">
						<select id="<%= FirmBankingOutputVo.PRM_PLT_END_RECORD %>" name="<%= FirmBankingOutputVo.PRM_PLT_END_RECORD %>">
							<%= HtmlUtility.getSelectOption(vo.aryPltEndRecord, vo.getPltEndRecord()) %>
						</select>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>



<%= HtmlUtility.getFooter(vo) %>






