<%@ 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.common.CommonConst"
import = "jp.mosp.payroll.common.vo.SyukkinboImportCardVo"
%><%
SyukkinboImportCardVo vo = (SyukkinboImportCardVo)request.getAttribute(MospConst.ATT_VO);
String[][] aryImportData = vo.getEscAryImportData();
%>
<%= HtmlUtility.getHeader(vo) %>
<%= HtmlUtility.getSubTitle(vo) %>
<div class="Body" id="Import">
	<%=HtmlUtility.getMessages(vo)%>
	<div class="Select">
		<table id="tblHeader">
			<tbody>
				<tr>
					<td>
						<%= vo.getName("P_HEADER") %><%= vo.getName("C_SEPARATOR") %>
					</td>
					<td>
						<%= vo.getEscLblHeader() %>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="Card">
		<table>
			<tr>
				<td class="InputTd">
					<input type="file" id="<%= SyukkinboImportCardVo.PRM_FIL_IMPORT_FILE %>" name="<%= SyukkinboImportCardVo.PRM_FIL_IMPORT_FILE %>" />
				</td>
				<td class="ButtonTd">
					<button type="button" class="fncButton" onclick="doSubmitMulti(document.form, 'P9051')"><%= vo.getName("P_IMPORT") %></button>
				</td>
			</tr>
		</table>
	</div>
<%= HtmlUtility.getListInfo(vo) %>
	<div class="List">
		<table id="list">
			<thead>
				<tr>
					<th id="thKCode"><%= vo.getName("P_K_CODE") %></th>
					<th id="thDay"><%= vo.getName("C_DAY")	%></th>
					<th id="thWorkingType"><%= vo.getName("P_WORKING_TYPE") %></th>
					<th class="thTime"><%= vo.getName("P_START_TIME") %></th>
					<th class="thTime"><%= vo.getName("P_QUIT_TIME") %></th>
					<th class="thTime"><%= CommonConst.NAM_PAYMENT_HOURS_ABB %></th>
					<th class="thTime"><%= vo.getName("P_INTERVAL_TIME") %></th>
					<th class="thTime"><%= vo.getName("P_ARRIVE_LATE") %></th>
					<th class="thTime"><%= vo.getName("P_LEAVE_EARLY") %></th>
					<th class="thTime"><%= vo.getName("P_OVERTIME") %></th>
					<th class="thTime"><%= vo.getName("P_WORK_ON_HOLIDAY") %></th>
					<th class="thTime"><%= vo.getName("P_LATE_NIGHT") %></th>
					<th id="thAllowance"><%= vo.getName("P_ALLOWANCE") %></th>
					<th id="thRemarks"><%= vo.getName("P_REMARKS") %></th>
				</tr>
			</thead>
			<tbody>
<%
for (int i = vo.getStart(); i <= vo.getEnd(); i++) {
%>
				<tr>
					<td><%= aryImportData[i][0] %></td>
					<td><%= aryImportData[i][1] %></td>
					<td><%= aryImportData[i][2] %></td>
					<td class="tdTime"><%= aryImportData[i][3] %></td>
					<td class="tdTime"><%= aryImportData[i][4] %></td>
					<td class="tdTime"><%= aryImportData[i][5] %></td>
					<td class="tdTime"><%= aryImportData[i][6] %></td>
					<td class="tdTime"><%= aryImportData[i][7] %></td>
					<td class="tdTime"><%= aryImportData[i][8] %></td>
					<td class="tdTime"><%= aryImportData[i][9] %></td>
					<td class="tdTime"><%= aryImportData[i][10] %></td>
					<td class="tdTime"><%= aryImportData[i][11] %></td>
					<td><%= aryImportData[i][12] %></td>
					<td><%= aryImportData[i][13] %></td>
				</tr>
<%
}
%>
			</tbody>
		</table>
	</div>
</div>
<%=HtmlUtility.getFooter(vo) %>
