<%@ 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>
						<button type="button"  id="btnRetireDetail" class="ExecuteButton2" onclick="doSubmit(document.form, 'P9901')"><%= PayrollConst.NAM_TO_RETIRE_DETAIL %></button>
					</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) %>






