<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Administration_ChangeLog, App_Web_nwm5p3oq" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DataPickerControl"
    TagPrefix="HIMS" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="uc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <uc1:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
               
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <table >
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="167"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div  class="whiteboxpaddingleft row">
                                <%--<Library:LibraryControl ID="LibraryUserControl" runat="server" Visible="true" />--%>
                                <div class="contentHolder" style="padding-left: 0px; padding-right: 0px; padding-top: 0px">
                                    <div class="himssuHeader1WireBox card-box card">
                                        <div class="himsBoxHeader card-head">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-search"></i>
                                                        <asp:Label ID="Label1" runat="server" Text="Search"></asp:Label>
                                                    </header>
                                                        </div>
                                            </div>
                                            <div class="fRight mt-27">
                                  <%--<asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="fal btn btn-back" Text="&#xf30a; Back" />--%>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent card-body">
                                            <asp:Panel ID="DetailPanel" runat="Server">
                                               
                                                   <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ScreenNameLabel" Text="Screen Name" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ScreenNameTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="200" SkinID="CustomWidthTextBox"
                                                                ></asp:TextBox>
                                                        </div>
                                                    </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SourceTypeLabel" Text="Type" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="SourceTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                            OnSelectedIndexChanged="SourceTypeDropDownList_SelectedIndexChanged">
                                                            <asp:ListItem Value="1" >- ALL -</asp:ListItem>
                                                            <asp:ListItem Value="2003">Student</asp:ListItem>
                                                            <asp:ListItem Value="95">Employee</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                   
                                                  <div id="CodeSearchDiv" runat="server" visible="false" >
                                                    <asp:Panel ID="CodeSearchPanel" runat="server">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CodeLabel" runat="server" Text="Code" ></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5 display-flex">
                                                                <asp:TextBox ID="CodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox"  runat="server" MaxLength="200" OnTextChanged ="CodeTextBox_OnTextChanged" AutoPostBack="true" >
                                                                </asp:TextBox>
                                                                <asp:ImageButton SkinID="FindImage" ToolTip="Code Search" ID="CodeImageButton"
                                                                    runat="server" OnClick="CodeImageButton_Click" />
                                                                <asp:HiddenField ID="ReaderSourceIdHiddenField" runat="server" />
                                                                <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                                            </div>
                                                        </div>
                                                      </asp:Panel>
                                                      </div>
                                                <div id="StudentNameDiv" runat="server" visible="false" >
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="StudentNameLabel" Text="Student Name" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="StudentNameTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="200" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="ClassDiv" runat="server" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ClassLabel" Text="Class" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ClassTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="200" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="EmployeeNameDiv" runat="server" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="EmployeeNameLabel" Text="Employee Name" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="EmployeeNameTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="200" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div id="DepartmentDiv" runat="server" visible="false">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DepartmentLabel" Text="Department" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="DepartmentTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" MaxLength="200" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="lblFromDate" runat="server" Text="From Date"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <hims:datapickercontrol displaydatepicker="true" id="txtFromDate"
                                                            visible="True" runat="Server">
                                                        </hims:datapickercontrol>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="lblTillDate" runat="server" Text="To Date"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <hims:datapickercontrol displaydatepicker="true" id="txtTillDate"
                                                            visible="True" runat="Server">
                                                        </hims:datapickercontrol>
                                                    </div>
                                                </div>
                                                       <%--  <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="StudentNameLabel" runat="server" Text="Name"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="StudentNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox"  runat="server" MaxLength="200"> </asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="ClassTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox"  runat="server" MaxLength="200"> </asp:TextBox>
                                                            </div>
                                                        </div>
                                                 
                                                    <asp:Panel ID="EmployeeSearchPanel" runat="server" Visible="false">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="EmployeeIdNoLabel" runat="server" Text="Code" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5 display-flex">
                                                                <asp:TextBox ID="EmployeeIdNoTextBox" SkinID="CustomWidthTextBox"  runat="server"
                                                                    MaxLength="200" AutoPostBack="true" OnTextChanged="EmployeeIdNoTextBox_TextChanged">
                                                                </asp:TextBox>
                                                                <asp:ImageButton SkinID="FindImage" ToolTip="Employee Search" ID="EmployeeIdNoImageButton"
                                                                    runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="EmployeeNameLabel" runat="server" Text="Name"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="EmployeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox"  runat="server" MaxLength="200"> </asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="DepartmentLabel" runat="server" Text="Department"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="DepartmentTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox"  runat="server" MaxLength="200"> </asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                    <div class="">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="LogDateLabel" runat="server" Text="Log Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="LogDatePickerControl" runat="server" />
                                                            <asp:HiddenField ID="BookLogIdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="DueDateLabel" runat="server" Text="Due Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="DueDatePickerControl" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" id="ReturnDateDiv" runat="server" visible="false">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ReturnDateLabel" runat="server" Text="Return Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ReturnDatePickerControl" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="PenaltyDaysLabel" Text="Penalty Days" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="PenaltyDaysTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox"  onkeypress="javascript:return isNumberKey(this)"></asp:TextBox>
                                                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="PenaltyRateLabel" Text="Penalty Rate" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="PenaltyRateTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox"  MaxLength="13"
                                                                onblur="javascript:return fnValidateDecimal(this,10,2)" AutoPostBack="true" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                OnTextChanged="PenaltyRateTextBox_OnTextChanged"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="PenaltyAmountLabel" Text="Penalty Amount" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="PenaltyAmountTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox"  MaxLength="13"
                                                                onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox11 pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="RemarkLabel" Text="Remark" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                                                onmouseenter="showHideTooltip()" MaxLength="150" TextMode="MultiLine"
                                                                Height="40PX"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="">
                                                    </div>
                                                    <div class="outerBox pTop15 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsLostBook" runat="server"  Text="Lost Book"/>
                                                            <%--<asp:Label ID="IsLostBookLabel" runat="server" Text="Lost Book"></asp:Label>--%><%--
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="LostBookAmountLabel" Text="Lost Book Amount" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="LostBookAmountTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox"  MaxLength="13"
                                                                onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                   --%>
                                                       <div class="alignCenter col-md-12 pTop15">
                                                        
                                                           <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                                           <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                                           <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" OnClick="ExportButton_Click" />
                                                        <%--<asp:Button ID="ResetButton" runat="server" Text="&#xf0e2;  Clear" SkinID="0" CssClass="btn fas btn-clear m-b-10" OnClick="ResetButton_Click" />--%>
                                                        
                                                    </div>

                                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                                        <div id="ChangeLogDetailDiv" visible="false" runat="server">
                                                        
                                                            <div id="BookListDiv" visible="false" runat="server">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div align="right" class="fRight" style="margin-top: 0px;">
                                                                        <uc1:GridViewPager ID="BookListGridView_GridViewPager" runat="server" OnFirstRecordClick="BookListGridView_GridViewPager_FirstRecordClick"
                                                                            OnLastRecordClick="BookListGridView_GridViewPager_LastRecordClick" OnNextRecordClick="BookListGridView_GridViewPager_NextRecordClick"
                                                                            OnPrevRecordClick="BookListGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="BookListGridView_GridViewPager_TextBoxValueChange"
                                                                            ParentGridView="BookListGridView" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent">
                                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                    <ContentTemplate>
                                                                        <div id="Div5" runat="server" visible="false">
                                                                            <asp:GridView ID="ChangeLogGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                EmptyDataText="No records found" OnRowDataBound="BookListGridView_RowDataBound"
                                                                                OnPageIndexChanging="BookListGridView_PageIndexChanging" AllowPaging="true"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" CssClass="table table-striped table-bordered">
                                                                                <Columns>
                                                                                    <%--<asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                                Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>--%>
                                                                                    <%--<asp:TemplateField ItemStyle-Width="30%" ItemStyle-Wrap="true" HeaderText="Book Code"
                                                                                        HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label runat="server" ID="ResourceCodeLabel"  SkinID="CustomWidthLabel"
                                                                                                Text='<%# Eval("ResourceCode") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>--%>
                                                                                    <asp:BoundField DataField="ScreenName" HeaderText="Screen Name" ItemStyle-Width="10%"
                                                                                        HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="SourceType" HeaderText="Source Type" ItemStyle-Width="10%"
                                                                                        HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="SourceId" HeaderText="Code" ItemStyle-Width="20%"
                                                                                        HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="SourceName" HeaderText="Source Name" ItemStyle-Width="20%"
                                                                                        HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="ChangeRemark" HeaderText="Change Remark" ItemStyle-Width="20%"
                                                                                        HeaderStyle-HorizontalAlign="Left" />
                                                                                    <asp:BoundField DataField="CreatedDateTime" HeaderText="Date" ItemStyle-Width="20%" DataFormatString="{0:dd/MM/yyyy}"
                                                                                        HeaderStyle-HorizontalAlign="Left" />
                                                                                    <%--<asp:BoundField DataField="DueDate" HeaderText="Due Date" ItemStyle-Width="10%" DataFormatString="{0:dd/MM/yyyy}"
                                                                                        HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/book-issuereturn-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/book-issuereturn")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
