<%@language = "javascript" %>
<% /*
    $Revision$
    $Id$

    File:        fac_admtracking_search.asp
    Description: Toont db-upgrade tracking
    Parameters:  ??
    Context:     Via URL (alleen FACTAB)
    Note:        For internal use only

*/ %>
<!-- #include file="../Shared/common.inc" -->
<!-- #include file="../Shared/iface.inc" -->
<!-- #include file="../Shared/calendar.inc" -->
<%
FCLTHeader.Requires({plugins:["jQuery"], js: []});

var autfunction = "WEB_FACTAB";
var authparams = user.checkAutorisation(autfunction);
%>
<html>
<head>
 <% FCLTHeader.Generate() %>
    <script type="text/javascript">
      function doSubmit()
      {
        document.forms.u2.submit();
      }
      $(doSubmit); // Autosubmit
    </script>
</head>
<body id="searchbody">
<form name="u2" method="get" action="fac_admtracking_list.asp" target="workFrame">
<% SEARCH_PAGE_START({ header: L("lcl_filterblok") }); 
 SEARCH_BLOCK_START();%>
 <tr>
  <td class="label"><label for="zoek">Zoek</label></td>
  <td><input type="text" name="zoek" id="zoek" class="fld" value=""></td>
 </tr>
<%
var since = new Date;
since.setYear(since.getFullYear() - 2); // default 2 jaar terug
   FCLTcalendar("date_from",
               { label : "Vanaf",
                 datum: since,
                 trclass: "primsearch",
                 volgnr: 1
               });
    RWCHECKBOXTR("laatste", "fldlaatste", "Alleen laatste", true);

    SEARCH_BLOCK_END();
      var buttons =  [ {title: L("lcl_overview_list"), action: "doSubmit()", icon: "fa-clipboard-list" } ];
      SIMPLE_BLOCK_START();
      CreateButtons(buttons, { entersubmit: true, showIcons: true });
      SIMPLE_BLOCK_END();
      SEARCH_PAGE_END();
%>
</form>

<div id="result">
 <iframe width="100%" height="100%" src="../Shared/empty.asp"
         name="workFrame" id="workFrame"  onload='FcltMgr.iframeLoaded(this)'
         frameborder="0" scrolling="no"></iframe>
</div>

</body>
</html><% ASPPAGE_END(); %> 
