<!-- Worklist Filter Selections  -->
<tr id="workflowFilter" style="display:none">
  <td style="padding:10 10 10 10">
<c:choose>
 <c:when test="${tabName == 'searchResults'}">
 <!-- No filter selection for search -->
 </c:when>
 <c:when test="${tabName == 'openCases'}">
 <!-- No filter selection -->
 </c:when>
   <c:otherwise>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td width="20%" class="moduleLabel"><fw:label property="vpid" forId="vpidId">
  <bean-el:message key="label.vpid"/>:</fw:label></td>
  <c:set var="vpidText"><bean-el:message key="label.vpid"/></c:set>
<td width="30%" class="moduleValue">
  <html-el:text title="${vpidText}" property="vpid" styleId="vpidId" size="20" maxlength="40"/></td>
<td width="20%" class="moduleLabel"><fw:label property="ssn" forId="ssnId">
  <bean-el:message key="label.itemDetail.ssn"/>:</fw:label></td>
  <c:set var="ssnText"><bean-el:message key="label.itemDetail.ssn"/></c:set>
<td width="30%" class="moduleValue">
  <html-el:text title="${ssnText}" property="ssn" styleId="ssnId" size="20" maxlength="11" readOnly="${not searchBySSN}"/></td>
    </tr>
<tr>
<td width="20%" class="moduleLabel"><fw:label property="itemNumber" forId="itemNumberId" >
  <bean-el:message key="label.itemDetail.itemNumber"/>:</fw:label></td>
<td width="30%" class="moduleValue">
<c:set var="itemNumberText"><bean-el:message key="label.itemDetail.itemNumber"/></c:set>
  <html-el:text title="${itemNumberText}" property="itemNumber" styleId="itemNumberId" size="20" maxlength="20"/></td>
<td width="20%" class="moduleLabel"><fw:label property="itemType" forId="itemTypeId">
  <bean-el:message key="label.itemDetail.itemType"/>:</fw:label></td>
<td width="30%" class="moduleValue">
<c:set var="itemTypeText"><bean-el:message key="label.itemDetail.itemType"/></c:set>
  <html-el:select title="${itemTypeText}" styleClass="moduleEdit" styleId="itemTypeId" property="itemType" >
    <html-el:option value=""><bean-el:message key="label.select" /></html-el:option>
    <esrcore:options collection="gov.va.med.esr.common.model.lookup.WkfCaseType" property="code" labelProperty="description"/>
  </html-el:select>
</td>
    </tr>
<!-- create and assigned date range -->
<tr>
    <td width="20%" class="moduleLabel">
        <fw:label property="createDateFrom" forId="createDateFromRangeId" >
        <bean-el:message key="label.createDateRange"/> <bean-el:message key="label.from"/>:</fw:label>
    </td>
    <td nowrap="true" width="30%" class="moduleValue">
        <c:set var="createDateRangeFromText"><bean-el:message key="label.createDateRange"/>,&nbsp;<bean-el:message key="label.from"/>&nbsp;<c:out value="${mmddyyyyText}"/></c:set>
        <c:set var="createDateRangeToText"><bean-el:message key="label.createDateRange"/>,&nbsp;<bean-el:message key="label.to"/>&nbsp;<c:out value="${mmddyyyyText}"/></c:set> 
        <table border="0" cellpadding="0" cellspacing="0" role="presentation">
            <tr>
                <td class="moduleValue">
                    <html-el:text title="${createDateRangeFromText}" property="createDateFrom" styleId="createDateFromRangeId" size="10" maxlength="10"/>
                </td>
                <td class="moduleLabel">
                    &nbsp;<fw:label property="createDateTo" forId="createDateToRangeId"><bean-el:message key="label.to"/>:</fw:label>
                </td>
                <td nowrap="true" class="moduleValue">
                    <html-el:text title="${createDateRangeToText}" property="createDateTo" styleId="createDateToRangeId" size="10" maxlength="10"/>&nbsp;<bean-el:message key="label.dateFormatmmddyyyy"/>
                </td>
            </tr>
        </table>
    </td>
<c:if test="${tabName != 'unassignedCases'}">
    <td width="20%" class="moduleLabel">
        <fw:label property="assignedDateFrom" forId="assignedDateFromId">
        <bean-el:message key="label.assignedDateRange"/> <bean-el:message key="label.from"/>:</fw:label>
    </td>
    <td nowrap="true" width="30%" class="moduleValue">
        <c:set var="assignedDateRangeFromText"><bean-el:message key="label.assignedDateRange"/>,&nbsp;<bean-el:message key="label.from"/>&nbsp;<c:out value="${mmddyyyyText}"/></c:set>
        <c:set var="assignedDateRangeToText"><bean-el:message key="label.assignedDateRange"/>,&nbsp;<bean-el:message key="label.to"/>&nbsp;<c:out value="${mmddyyyyText}"/></c:set>
        <table border="0" cellpadding="0" cellspacing="0" role="presentation">
            <tr>
                <td class="moduleValue">
                    <html-el:text title="${assignedDateRangeFromText}" property="assignedDateFrom" styleId="assignedDateFromId" size="10" maxlength="10"/>
                </td>
                <td class="moduleLabel">
                    &nbsp;<fw:label property="assignedDateTo" forId="assignedDateToId"><bean-el:message key="label.to"/>:</fw:label>
                </td>
                <td nowrap="true" class="moduleValue">
                    <html-el:text title="${assignedDateRangeToText}" property="assignedDateTo" styleId="assignedDateToId" size="10" maxlength="10"/>&nbsp;<bean-el:message key="label.dateFormatmmddyyyy"/>
                </td>
            </tr>
        </table>
    </td>
</c:if>
</tr>

<tr>
<td colspan="4" style="text-align: center">
  <table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
    <tr>
      <td width="47%"><img alt=""  src="../images/spacer.gif"/></td>
      <td style="padding-left:10"><img alt=""  src="../images/buttonEndLeft.gif"/></td>
      <td><html-el:submit property="methodName" style="width:100; vertical-align: top;" styleClass="buttonText">
          <bean-el:message key="button.applyFilter"/>
        </html-el:submit>
      </td>
      <td style="padding-right:10"><img alt=""  src="../images/buttonEndRight.gif"/></td>

      <td width="1%"><img alt=""  src="../images/spacer.gif"/></td>

      <td style="padding-left:10"><img alt=""  src="../images/buttonEndLeft.gif"/></td>
      <td><html-el:submit property="methodName" style="width:100; vertical-align: top;" styleClass="buttonText">
          <bean-el:message key="button.resetFilter"/>
        </html-el:submit></td>
      <td style="padding-right:10"><img alt=""  src="../images/buttonEndRight.gif"/></td>
      <td width="47%"><img alt=""  src="../images/spacer.gif"/></td>
    </tr>
  </table>
</td>
</tr>
    </table>
 </c:otherwise>
</c:choose>
  </td>
</tr>
