<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>请假明细</title>
<link href="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<s:include value="../common/head.jsp" />
</head>

<body>
<s:include value="../common/body.jsp" />
<table width="480" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr class="form_tr">
    <td><strong>
      <s:date name="apply.beginTime" format="yyyy-MM-dd HH:mm"/>
      至
      <s:date name="apply.endTime" format="yyyy-MM-dd HH:mm"/>
      &nbsp;&nbsp;&nbsp;
      共<s:property value="apply.totalTimes"/>小时</strong></td>
  </tr>
</table>
<table width="480" border="0" align="center" cellpadding="0" cellspacing="0" class="sub_table_line">
  <tr class="list_title">
    <td width="84">考勤日期</td>
    <td width="93">是否工作日</td>
    <td width="83">请假时长</td>
    <td width="104">开始时间</td>
    <td width="104">结束时间</td>
  </tr>
  <s:iterator value="apply.detSet">
    <s:set name="row_cls" value=""/>
    <s:if test="#st.Even">
      <s:set name="row_cls" value="%{'row_a'}"/>
    </s:if>
    <tr class="list_data <s:property value='#row_cls'/> center">
      <td><s:date name="attDate" format="yyyy-MM-dd"/></td>
      <td><s:property value="isWorkDay.codeName"/></td>
      <td><s:property value="leaveTimes"/>
        小时</td>
      <td><s:date name="beginTime" format="yyyy-MM-dd HH:mm"/>
        &nbsp;</td>
      <td><s:date name="endTime" format="yyyy-MM-dd HH:mm"/>
        &nbsp;</td>
    </tr>
  </s:iterator>
</table>
<div style="text-align:center; padding:10px 0;"> 
  <!-- back begin -->
  <input name="winID" type="hidden" value="${param.winID}" />
  <input type="button" onclick="iframeWindowClose('${param.winID}')" name="button" id="button" value="返 回" />
  <!-- back end --> 
</div>
</body>
</html>