<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Act2SignDossierLogViewer.aspx.vb" Inherits="Act2Sign.Synergy.Act2SignDossierLogViewer" %>
<%@ register tagprefix="ex" namespace="Exact.Web.UI.Controls" assembly="Exact.Web.UI.Controls" %>

<html>
<head>
	<meta name="save" content="history">
	<link rel="stylesheet" type="text/css" href="Exact.css">
</head>
<body>
    
	<form runat="server" id="Baco">

		<ex:header runat="server" id="hdr" caption="Act2Sign" captionid="0" captionsuffix=":Logbook" captionsuffixid="8735">
		</ex:header>

		<ex:search runat="server" id="Criteria" layoutcolumns="2" action ="show" >
		<ex:searchbuttons runat="server" id="searchbuttons" buttoncustomize="false" />
			<ex:searchfields runat="server" id="sfsCriteria" caption="Criteria" captionid="9822">
			
			<ex:searchfield id="sfSent" runat="server" caption="Date + time" captionid="4" CaptionSuffix=":Sent" CaptionSuffixID="12590" showdefault="true">
				<ex:DateField runat="server" id="StartDateSent" ValidationAs="Date" />
				<ex:TimeField runat="server" id="StartTimeSent" ValidationAs="datetimeseconds" />
				-
				<ex:DateField runat="server" id="EndDateSent" ValidationAs="date" />
				<ex:TimeField runat="server" id="EndTimeSent" ValidationAs="dateTimeSeconds" />
			</ex:searchfield>

			<ex:searchfield id="sfResult" runat="server"  caption="Result" captionid="7151" showdefault="true">
					<ex:combobox runat="server" id="Result" allowempty="True" validationas="Int">
						<ex:listitem caption="Completed" captionid="2359" value="1" />
						<ex:listitem caption="Rejected" captionid="17691" value="2" />
						<ex:listitem caption="Open" captionid="8878" value="3" />
					</ex:combobox>
			</ex:searchfield>

			<ex:searchfield id="sfFinished" runat="server" caption="Date + time" captionid="4" CaptionSuffix=":Finished" CaptionSuffixID="21690" showdefault="true">
				<ex:DateField runat="server" id="StartDateFinished" ValidationAs="Date" />
				<ex:TimeField runat="server" id="StartTimeFinished" ValidationAs="datetimeseconds" />
				-
				<ex:DateField runat="server" id="EndDateFinished" ValidationAs="date" />
				<ex:TimeField runat="server" id="EndTimeFinished" ValidationAs="dateTimeSeconds" />
			</ex:searchfield>

			<ex:searchfield id="sfRequestHID" runat="server" caption="Request" captionid="16" captionsuffix=":Dossier" captionsuffixid="25199" showdefault="true">
				<ex:inputfield runat="server" id="RequestHID" inputsize="10" />
			</ex:searchfield>

			<ex:searchfield id="sfDescription" runat="server" caption="Description" captionid="4243" showdefault="true">
					<ex:imagebuttonlist runat="server" id="DescriptionOptions" appearance="Toggle" standardlistitems="SearchText" />
					<ex:inputfield runat="server" id="Description" inputsize="30" />
			</ex:searchfield>	
				
			<ex:searchfield id="sfDossierID" runat="server" caption="Dossier ID (technisch)" captionid="0" showdefault="true">
				<ex:inputfield runat="server" id="DossierID" inputsize="10" ValidationAs="Int" ValidationLowerRange="0" />
			</ex:searchfield>
		</ex:searchfields> 
		</ex:search> 

		<ex:listview runat="server" OnGetData="Log_OnGetData" id="lvLog" ScrollBar="None" ShowPageSize="True" PageSize="50" MaxPageSize="999" DefaultSortColumn="colFinished" DefaultSortDescending="True" AutoPostBack="True">
			<ex:ListViewColumn runat="server" id="colID" caption="Request" captionid="16" captionsuffix=":Dossier" captionsuffixid="25199" width="10%" Sorting="Both" />
			<ex:ListViewColumn runat="server" id="colDescription" caption="Description" captionid="4243" Sorting="Both" />
			<ex:ListViewColumn runat="server" id="colSent" caption="Sent" captionid="12590" width="10%" Sorting="Both" />
			<ex:ListViewColumn runat="server" id="colFinished" caption="Finished" captionid="21690" width="10%" Sorting="Both" />
			<ex:ListViewColumn runat="server" id="colCompleted" caption="Completed" captionid="2359" width="5%" Sorting="Both" />
			<ex:ListViewColumn runat="server" id="colRejected" caption="Rejected" captionid="17691" width="5%" Sorting="Both" />
			<ex:ListViewColumn runat="server" id="colDossierID" caption="Dossier ID (technisch)" captionid="0" width="5%" Sorting="Both" />
			<ex:ListViewColumn runat="server" id="colDocumentCount" caption="Count" captionid="654" captionsuffix=":Documents" captionsuffixid="8550" width="5%" Sorting="None" />
			<ex:ListViewColumn runat="server" id="colAttachmentCount" caption="Count" captionid="654" captionsuffix=":Attachments" captionsuffixid="445" width="5%" Sorting="None" />
			<ex:ListViewColumn runat="server" id="colSMSCount" caption="Count" captionid="654" captionsuffix=":SMS" captionsuffixid="0" width="5%" Sorting="None" />
			<ex:ListViewColumn runat="server" id="colIDinCount" caption="Count" captionid="654" captionsuffix=":iDin" captionsuffixid="0" width="5%" Sorting="None" />
			<ex:ListViewColumn runat="server" id="colIDinCompleteCount" caption="Count" captionid="654" captionsuffix=":iDin (Complete)" captionsuffixid="0" width="5%" Sorting="None" />
		</ex:listview>
		<ex:bcerrormessages runat="server" id="ErrorMsg" />
	</form>
</body>
</html>