<%@ 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.TimeRecordImportCardVo"
%><%
TimeRecordImportCardVo vo = (TimeRecordImportCardVo)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="<%= TimeRecordImportCardVo.PRM_FIL_IMPORT_FILE %>" name="<%= TimeRecordImportCardVo.PRM_FIL_IMPORT_FILE %>" />
				</td>
				<td class="ButtonTd">
					<button type="button" class="fncButton" onclick="doSubmitMulti(document.form, 'P9061')"><%= 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 class="thTime"><%= vo.getName("P_START_TIME") %></th>
					<th class="thTime"><%= vo.getName("P_QUIT_TIME") %></th>
					<th id="thWorkingType"><%= vo.getName("P_WORKING_TYPE") %></th>
					<th id="thKkriyuuType"><%= vo.getName("P_KKRIYUU") %></th>
					<th id="thShankyukb"><%= vo.getName("P_SHANKYUKB") %></th>
					<th id="thThankyukb"><%= vo.getName("P_THANKYUKB") %></th>
					<th id="thKyusyukb"><%= vo.getName("P_KYUSYUKB") %></th>

<%-- 二時間年休＆1.00割増し
					<th id="thNijikyu"><%= vo.getName("P_NIJIKYU" %></th>
					<th id="thWarimasi1"><%= vo.getName("P_WARIMASI1" %></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 class="tdTime"><%= aryImportData[i][2] %></td>
					<td class="tdTime"><%= aryImportData[i][3] %></td>
					<td class="tdWorkingType"><%= aryImportData[i][4] %></td>
					<td class="tdKkriyuuType"><%= aryImportData[i][5] %></td>
					<td class="tdShankyukb"><%= aryImportData[i][6] %></td>
					<td class="tdThankyukb"><%= aryImportData[i][7] %></td>
					<td class="tdKyusyukb"><%= aryImportData[i][8] %></td>
<%-- 二時間年休＆1.00割増し
					<td class="tdTime"><%= aryImportData[i][9] %></td>
					<td class="tdTime"><%= aryImportData[i][10] %></td>
--%>
				</tr>
<%
}
%>
			</tbody>
		</table>
	</div>
</div>
<%=HtmlUtility.getFooter(vo) %>
