<%@ page contentType="text/html;charset=Shift_JIS" language="java" %>
<%-- 共通ページヘッダ --%>
<%@ include file="/jsp/common/PageHeader.inc" %>
<%-- bean --%>

<html:html locale="true">
<head>
  <title>区分別集計情報</title>
<html:base/>
<LINK rel="stylesheet" href="style.css">
</head>

<body>
<!--======================= メニュー ==============================-->
<%@ include file="/jsp/common/Menu4.inc" %>
<!--======================= メニュー end ==========================-->
<br>
<b>区分別集計情報</b>
<table border="0" cellpadding="3" cellspacing="2">
  <tr> 
    <td class="labelHeader" colspan="3">エラー内容別</td>
  </tr>
  <tr> 
    <td class="label1">エラー内容</td>
    <td class="label1"><div align="right">件数</div></td>
    <td class="label1"><div align="right">割合(%)</div></td>
  </tr>
  <logic:iterate id="errorType" name="stErrorTypes" scope="session" type="Statistics" >
    <tr> 
      <td class="bak1">
        <bean:write name="errorType" property="code" />-<bean:write name="errorType" property="name" />
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="errorType" property="count" />
        </div>
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="errorType" property="ratioString" />
        </div>
      </td>
  </tr>
  </logic:iterate>
</table>
<br>
<table border="0" cellpadding="3" cellspacing="2">
  <tr> 
    <td class="labelHeader" colspan="3">エラー原因別</td>
  </tr>
  <tr> 
    <td class="label1">エラー原因</td>
    <td class="label1"><div align="right">件数</div></td>
    <td class="label1"><div align="right">割合(%)</div></td>
  </tr>
  <logic:iterate id="errorCause" name="stErrorCauses" scope="session" type="Statistics" >
    <tr> 
      <td class="bak1">
        <bean:write name="errorCause" property="code" />-<bean:write name="errorCause" property="name" />
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="errorCause" property="count" />
        </div>
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="errorCause" property="ratioString" />
        </div>
      </td>
  </tr>
  </logic:iterate>
</table>
<br>
<table border="0" cellpadding="3" cellspacing="2">
  <tr> 
    <td class="labelHeader" colspan="3">発生工程別</td>
  </tr>
  <tr> 
    <td class="label1">発生工程</td>
    <td class="label1"><div align="right">件数</div></td>
    <td class="label1"><div align="right">割合(%)</div></td>
  </tr>
  <logic:iterate id="issuPno" name="stIssuPnos" scope="session" type="Statistics" >
    <tr> 
      <td class="bak1">
        <bean:write name="issuPno" property="name" />
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="issuPno" property="count" />
        </div>
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="issuPno" property="ratioString" />
        </div>
      </td>
  </tr>
  </logic:iterate>
</table>
<br>
<table border="0" cellpadding="3" cellspacing="2">
  <tr> 
    <td class="labelHeader" colspan="3">混入工程別</td>
  </tr>
  <tr> 
    <td class="label1">混入工程</td>
    <td class="label1"><div align="right">件数</div></td>
    <td class="label1"><div align="right">割合(%)</div></td>
  </tr>
  <logic:iterate id="trainPno" name="stTrainPnos" scope="session" type="Statistics" >
    <tr> 
      <td class="bak1">
        <bean:write name="trainPno" property="name" />
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="trainPno" property="count" />
        </div>
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="trainPno" property="ratioString" />
        </div>
      </td>
  </tr>
  </logic:iterate>
</table>
<br>
<table border="0" cellpadding="3" cellspacing="2">
  <tr> 
    <td class="labelHeader" colspan="3">摘出すべき工程別</td>
  </tr>
  <tr> 
    <td class="label1">摘出すべき工程</td>
    <td class="label1"><div align="right">件数</div></td>
    <td class="label1"><div align="right">割合(%)</div></td>
  </tr>
  <logic:iterate id="shouldFindPno" name="stShouldFindPnos" scope="session" type="Statistics" >
    <tr> 
      <td class="bak1">
        <bean:write name="shouldFindPno" property="name" />
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="shouldFindPno" property="count" />
        </div>
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="shouldFindPno" property="ratioString" />
        </div>
      </td>
  </tr>
  </logic:iterate>
</table>
<br>
<table border="0" cellpadding="3" cellspacing="2">
  <tr> 
    <td class="labelHeader" colspan="3">摘出遅延理由</td>
  </tr>
  <tr> 
    <td class="label1">摘出遅延理由</td>
    <td class="label1"><div align="right">件数</div></td>
    <td class="label1"><div align="right">割合(%)</div></td>
  </tr>
  <logic:iterate id="errorDelayReason" name="stErrorDelayReasons" scope="session" type="Statistics" >
    <tr> 
      <td class="bak1">
        <bean:write name="errorDelayReason" property="name" />
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="errorDelayReason" property="count" />
        </div>
      </td>
      <td class="bak1">
        <div align="right">
          <bean:write name="errorDelayReason" property="ratioString" />
        </div>
      </td>
  </tr>
  </logic:iterate>
</table>
<br>

<%-- 共通ページフッダ --%>
<%@ include file="/jsp/common/PageFooter.inc" %>
</body>
</html:html>
