<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Administration_AuditLog, App_Web_k3pxmpml" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <div id="CPDiv">
        <asp:UpdatePanel ID="updPnlSearchGridView" runat="server">
            <ContentTemplate>
                <div id="divContentPage" class="divcontentpagemargin">
                    <!-- ContentPlaceHolder Box Starts -->

                    <div class="dashBoardLeftCont" valign="top">
                        <div class="himssuHeader3WireBox">
                            <%--<div class="himsBoxHeader">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                                </div>
                                            </div>
                                        </div>--%>
                            <table width="0px" cellpadding="0" cellspacing="0">
                                <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="row whiteboxpaddingleft">
                        <!-- Sub Container2 Box Start -->
                        <div class="himssuHeader5WireBox card card-box" runat="server" id="SearchDiv">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                    <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" meta:resourcekey="Label1Resource1"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                                <div class="himsBoxContent card-body">
                                    <div class="contentHolder">
                                        <div class="tableContainer">
                                            <div class="navgraybackground">
                                                <ul class="nav nav-tabs">
                                                    <li id="AuditLogList" runat="server"><a href="#tab_1">
                                                        <asp:Button Text="Audit Log" ID="AuditLogListButton" CssClass="fas transparenttab" SkinID="0"
                                                            OnClick="AuditLogListButton_Click" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                    <li id="SysSuperAuditLogList" runat="server" visible="false"><a>
                                                        <asp:Button Text="Sys Super Audit Log" ID="SysSuperAuditLogListButton" CssClass="fas transparenttab" SkinID="0"
                                                            OnClick="SysSuperAuditLogListButton_Click" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                </ul>
                                            </div>

                                            <div class="contentHolder" id="AuditLogDiv" runat="server">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="LoginNameLabel" runat="server" Text="Display Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="UserNameTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ScreenNameLabel" runat="server" Text="Screen Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ScreenNameTextBox" runat="server" TabIndex="1" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ActivityLabel" runat="server" Text="Activity"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="ActivityTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OSTypeLabel" Text="OSType" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="OSTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="FromDateLabel" runat="server" Text="From Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" Visible="true"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ToDateLabel" runat="server" Text="To Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" Visible="true"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="SearchButton" runat="server" OnClick="SearchButton_Click"
                                                            CausesValidation="False" TabIndex="3" SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                                        <asp:Button ID="SearchHistoryButton" runat="server" OnClick="SearchHistory_Click"
                                                            CausesValidation="False" TabIndex="3" SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search History" />
                                                        <asp:Button ID="ClearSearchButton" runat="server" OnClick="ClearSearchButton_Click"
                                                            Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" CausesValidation="False" TabIndex="4" meta:resourcekey="ClearSearchButtonResource1" />
                                                        <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click" CssClass="btn-examcommon btn fas" SkinID="0" TabIndex="5" />
                                                    </div>
                                                    <br />
                                                </asp:Panel>

                                                <div id="ActivityLogGridViewDiv" runat="server" visible="false">
                                                    <div class="himssuHeader7WireBox col-md-12" id="PatientRelationDiv" runat="server">
                                                        <div class="himsBoxHeader card-head inner" id="UserSearchDiv" style="display: none">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle" style="width: 100%">
                                                                <%-- <div class="headerText">
                                                            <div>
                                                                <header>
                                                                    <asp:Label ID="GridViewLabel" Text="Activity Log List" runat="server" />
                                                                </header>
                                                            </div>
                                                        </div>--%>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5" runat="server">
                                                                        <div id="Div4" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ActivityLogGridView" runat="server" AutoGenerateColumns="False" EmptyDataText="No records found" OnRowDataBound="ActivityLogGridView_RowDataBound"
                                                                                SkinID="" ShowHeader="True" PagerSettings-Visible="false" CssClass="table table-striped table-bordered table-hover" DataKeyNames="RecordDetail,ScreenName">
                                                                                <Columns>
                                                                                    <asp:BoundField HeaderText="Organization Name" DataField="OrganizationName" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Display Name" DataField="UserName" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Screen Name" DataField="ScreenName" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Audit Date" DataField="AuditDate" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="15%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="Activity" DataField="Activity" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="25%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField HeaderText="OS Type" DataField="OSType" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:TemplateField ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ViewDetailLink" SkinID="CustomWidthLabel" runat="server" Width="100%"
                                                                                                Text="View Detail" OnClick="ViewDetailLink_Click"></asp:LinkButton>
                                                                                            <%--<asp:HiddenField ID="AuditLogIdHiddenField" runat="server" />--%>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="contentHolder" id="SysSuperLogDiv" runat="server" visible="false">
                                                <asp:Panel ID="SysSuperLogPanel" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SysOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SysOrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SysUserNameLabel" runat="server" Text="User Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SysSuperUserNameTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SysScreeNameLabel" runat="server" Text="Screen Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SysScreenNameTextBox" runat="server" TabIndex="1" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SysActivityLabel" runat="server" Text="Activity"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SysActivityTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SysOSTypeLabel" Text="OSType" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SysOSTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SysFromDateLabel" runat="server" Text="From Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="SysFromDatePickerControl" Visible="true"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SysSuperTodateLabel" runat="server" Text="To Date" Visible="true" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="SysSuperToDatePickerControl" Visible="true"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="SysSuperSearchButton" runat="server" Text="&#xf002; Search" SkinID="0" CausesValidation="False"
                                                            TabIndex="3" CssClass="btn-search btn fas" OnClick="SysSuperSearchButton_Click" />
                                                        <asp:Button ID="SysSuperHistoryButton" runat="server" Text="&#xf002; Search History" SkinID="0" CausesValidation="False"
                                                            TabIndex="3" CssClass="btn-search btn fas" OnClick="SysSuperHistoryButton_Click" Visible="false" />
                                                        <asp:Button ID="SysSuperResetButton" runat="server" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" CausesValidation="False"
                                                            TabIndex="4" meta:resourcekey="ClearSearchButtonResource1" OnClick="SysSuperResetButton_Click" />
                                                        <asp:Button ID="SysSuperExportButton" runat="server" Text="&#xf093; Export" SkinID="0" CssClass="btn-examcommon btn fas"
                                                            TabIndex="5" OnClick="SysSuperExportButton_Click" />
                                                    </div>
                                                    <br />
                                                </asp:Panel>
                                                <div id="SysSuperActivityLogDiv" class="himssuHeader7WireBox col-md-12" runat="server" visible="false">
                                                    <div class="himsBoxContent">
                                                        <asp:UpdatePanel ID="UpdatePanel4" runat="server" UpdateMode="Always">
                                                            <ContentTemplate>
                                                                <div id="Div6" runat="server">
                                                                    <div id="Div7" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="SysSuperActivityLogGridView" runat="server" AutoGenerateColumns="False" EmptyDataText="No records found"
                                                                            SkinID="" ShowHeader="True" PagerSettings-Visible="false" CssClass="table table-striped table-bordered table-hover"
                                                                            DataKeyNames="RecordDetail,ScreenName" OnRowDataBound="SysSuperActivityLogGridView_RowDataBound">
                                                                            <Columns>
                                                                                <asp:BoundField HeaderText="Organization Name" DataField="OrganizationName" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField HeaderText="User Name" DataField="UserName" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField HeaderText="Screen Name" DataField="ScreenName" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField HeaderText="Audit Date" DataField="AuditDate" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField HeaderText="Activity" DataField="Activity" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemStyle Width="25%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField HeaderText="OS Type" DataField="OSType" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemStyle Width="10%" />
                                                                                </asp:BoundField>
                                                                                <%--Changes for Mantis Id:0038137--%>
                                                                                <asp:TemplateField ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="SysSuperViewDetailLink" SkinID="CustomWidthLabel" runat="server" Width="100%"
                                                                                            Text="View Detail" OnClick="SysSuperViewDetailLink_Click"></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <asp:HiddenField ID="ScreenNameHiddenField" runat="server" />
                                    </div>
                                </div>
                                <%-- </div>--%>
                            </asp:Panel>
                        </div>
                        <!-- Sub Container2 Box Ends -->
                    </div>

                </div>
                <div class="spacer">
                    <img src="../../../Images/spacer.gif" />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <cc1:ModalPopupExtender ID="AuditLogDetailExtender" runat="server" TargetControlID="HidenButton" PopupControlID="ModalPopUpPanel" BackgroundCssClass="modalBackground"
            Drag="True" PopupDragHandleControlID="dragPanel" DynamicServicePath="" Enabled="True" />
        <asp:LinkButton runat="server" ID="HidenButton" meta:resourcekey="HidenButtonResource1" />


        <asp:Panel ID="ModalPopUpPanel" runat="server" CssClass="dragControl" Width="700px" DefaultButton="SearchButton" meta:resourcekey="ModalPopUpPanelResource1">
            <div class="card card-box">
                <asp:Panel ID="dragPanel" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                    <div id="dragMe1" class="dragMe" style="cursor: move">
                        <div class="himsPopupWireBox">
                            <div class="himsBoxHeadermain">
                                <div>
                                </div>
                            </div>
                            <div class="himsBoxTopper text-center headerFont card-head">
                                <div class="fLeft headerText">
                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="DialogHeaderLabel" runat="server" meta:resourcekey="DialogHeaderLabelResource1"></asp:Label>
                                            </header>
                                            <asp:ImageButton ID="CloseImageButton" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" Style="margin-left: 525PX" OnClick="CloseImageButton_Click" />
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </asp:Panel>

                <asp:UpdatePanel ID="EmployeeSearchUpdatePanel" runat="server"
                    RenderMode="Inline">
                    <ContentTemplate>
                        <div id="bodyContainer">
                            <div class="himsPopupWireBox">
                                <div class="himsBoxHeadermain">
                                    <div>
                                    </div>
                                </div>
                                <div class="himsBoxContentmain" style="overflow: hidden">
                                    <div id="divContentPage1">
                                        <div class="himsBoxHeader">
                                            <asp:Panel ID="Panel1" runat="server" meta:resourcekey="TopPanelResource1">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <asp:Label ID="EmployeeSearchHeaderLabel" runat="server" Text="Search"
                                                            meta:resourcekey="EmployeeSearchHeaderLabelResource1" Visible="false"></asp:Label>
                                                    </div>
                                                    <div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                        <div class="himsBoxContent card-body">
                                            <asp:Panel ID="Panel2" runat="server" meta:resourcekey="DetailPanelResource1">
                                                <div class="contentHolder">
                                                    <%--    <asp:Panel ID="Panel3" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                </asp:Panel>--%>
                                                    <div id="MainDiv" runat="server">
                                                        <div id="EmployeeSearchGridDiv" runat="server">
                                                            <div class="himssuHeader7WireBox col-md-12" id="Div1" runat="server">
                                                                <div class="himsBoxHeader" id="GridHeaderDiv" runat="server" visible="False">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent">
                                                                    <div class="himsBoxContent">
                                                                        <div class="contentHolder">
                                                                            <div class="himssuHeader7WireBox" runat="server">
                                                                                <div class="himsBoxHeader">
                                                                                    <div class="card-head inner">
                                                                                        <div class="headerText">
                                                                                            <header>
                                                                                                <asp:Label ID="KPALabel2" runat="server" Text="Old Records"
                                                                                                    meta:resourcekey="OldRecordLabelResource1"></asp:Label>
                                                                                            </header>
                                                                                        </div>
                                                                                    </div>

                                                                                    <div class="himsBoxContent width-100">
                                                                                        <div id="Div3" class="himsBoxContentMsg table-responsive" runat="server">
                                                                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                                                <ContentTemplate>
                                                                                                    <asp:GridView ID="OldRecordsGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                                        SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                                                        EmptyDataText="No Records Found !!!" DataKeyNames="FeeId"
                                                                                                        CssClass="table table-striped table-bordered table-hover">
                                                                                                        <Columns>
                                                                                                            <asp:TemplateField HeaderText="Organization" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="OrganizationLabel" runat="server" Text='<%#Eval("Organization") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="Organization" HeaderText="Organization" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Batch" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="BatchLabel" runat="server" Text='<%#Eval("Batch") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="Batch" HeaderText="Batch" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Class" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="ClassLabel" runat="server" Text='<%#Eval("Class") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="Class" HeaderText="Class" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Fee" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="FeeLabel" runat="server" Text='<%#Eval("Fee") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="Fee" HeaderText="Fee" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Admission No" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="AdmissionNoLabel" runat="server" Text='<%#Eval("AdmissionNo") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="AdmissionNo" HeaderText="Admission No" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="AmountLabel" runat="server" Text='<%#Eval("Amount") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="Amount" HeaderText="Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Additional Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="AdditionalAmountLabel" runat="server" Text='<%#Eval("AdditionalAmount") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="AdditionalAmount" HeaderText="Additional Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Discount Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="DiscountAmountLabel" runat="server" Text='<%#Eval("DiscountAmount") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="DiscountAmount" HeaderText="Discount Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Not Applicable Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="NotApplicableAmountLabel" runat="server" Text='<%#Eval("NotApplicableAmount") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="NotApplicableAmount" HeaderText="Not Applicable Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Is Optional CheckBox" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="IsOptionalCheckBoxLabel" runat="server" Text='<%#Eval("IsOptionalCheckBox") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="IsOptionalCheckBox" HeaderText="Is Optional" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Is Variable CheckBox" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="IsVariableCheckBoxLabel" runat="server" Text='<%#Eval("IsVariableCheckBox") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="IsVariableCheckBox" HeaderText="Is Variable" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Start Date" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="StartDateLabel" runat="server" Text='<%#Eval("StartDate") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="StartDate" HeaderText="Start Date" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="End Date" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="EndDateLabel" runat="server" Text='<%#Eval("EndDate") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="EndDate" HeaderText="End Date" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Receipt Book" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="ReceiptBookLabel" runat="server" Text='<%#Eval("ReceiptBook") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="ReceiptBook" HeaderText="Receipt Book" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Collection Group" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="CollectionGroupLabel" runat="server" Text='<%#Eval("CollectionGroup") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="CollectionGroup" HeaderText="Collection Group" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Fee Duration" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="FeeDurationLabel" runat="server" Text='<%#Eval("FeeDuration") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="FeeDuration" HeaderText="Fee Duration" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>                                                                                                 --%>
                                                                                                            <asp:TemplateField HeaderText="Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="RemarkLabel" runat="server" Text='<%#Eval("Remark") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="Remark" HeaderText="Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Additional Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="AdditionalRemarkLabel" runat="server" Text='<%#Eval("AdditionalRemark") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="AdditionalRemark" HeaderText="Additional Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Exemption Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="ExemptionRemarkLabel" runat="server" Text='<%#Eval("ExemptionRemark") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="ExemptionRemark" HeaderText="Exemption Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            <asp:TemplateField HeaderText="Not Applicable Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="NotApplicableRemarkLabel" runat="server" Text='<%#Eval("NotApplicableRemark") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <%--<asp:BoundField DataField="NotApplicableRemark" HeaderText="Not Applicable Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                        </Columns>
                                                                                                    </asp:GridView>

                                                                                                </ContentTemplate>
                                                                                            </asp:UpdatePanel>
                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <div class="himsBoxContent">
                                                                            <div class="contentHolder">
                                                                                <div class="himssuHeader7WireBox" runat="server">
                                                                                    <div class="himsBoxHeader">
                                                                                        <div class="card-head inner">
                                                                                            <div class="headerText">
                                                                                                <header>
                                                                                                    <asp:Label ID="CompetenciesLabel2" runat="server" Text="New Records"
                                                                                                        meta:resourcekey="EmployeeCodeLabelResource1"></asp:Label>
                                                                                                </header>
                                                                                            </div>
                                                                                        </div>

                                                                                        <div class="himsBoxContent width-100">
                                                                                            <div id="Div2" class="himsBoxContentMsg table-responsive" runat="server">
                                                                                                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always">
                                                                                                    <ContentTemplate>
                                                                                                        <asp:GridView ID="NewRecordsGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                                            SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                                                                            EmptyDataText="No Records Found !!!" DataKeyNames="FeeId"
                                                                                                            CssClass="table table-striped table-bordered table-hover">
                                                                                                            <Columns>
                                                                                                                <asp:TemplateField HeaderText="Organization" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="OrganizationLabel" runat="server" Text='<%#Eval("Organization") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="Organization" HeaderText="Organization" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Batch" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="BatchLabel" runat="server" Text='<%#Eval("Batch") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="Batch" HeaderText="Batch" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Class" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="ClassLabel" runat="server" Text='<%#Eval("Class") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="Class" HeaderText="Class" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Fee" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="FeeLabel" runat="server" Text='<%#Eval("Fee") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="Fee" HeaderText="Fee" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Admission No" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="AdmissionNoLabel" runat="server" Text='<%#Eval("AdmissionNo") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="AdmissionNo" HeaderText="Admission No" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="AmountLabel" runat="server" Text='<%#Eval("Amount") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="Amount" HeaderText="Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Additional Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="AdditionalAmountLabel" runat="server" Text='<%#Eval("AdditionalAmount") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="AdditionalAmount" HeaderText="Additional Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Discount Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="DiscountAmountLabel" runat="server" Text='<%#Eval("DiscountAmount") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="DiscountAmount" HeaderText="Discount Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Not Applicable Amount" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="NotApplicableAmountLabel" runat="server" Text='<%#Eval("NotApplicableAmount") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="NotApplicableAmount" HeaderText="Not Applicable Amount" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Is Optional CheckBox" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="IsOptionalCheckBoxLabel" runat="server" Text='<%#Eval("IsOptionalCheckBox") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="IsOptionalCheckBox" HeaderText="Is Optional" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Is Variable CheckBox" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="IsVariableCheckBoxLabel" runat="server" Text='<%#Eval("IsVariableCheckBox") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="IsVariableCheckBox" HeaderText="Is Variable" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Start Date" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="StartDateLabel" runat="server" Text='<%#Eval("StartDate") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="StartDate" HeaderText="Start Date" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="End Date" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="EndDateLabel" runat="server" Text='<%#Eval("EndDate") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="EndDate" HeaderText="End Date" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Receipt Book" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="ReceiptBookLabel" runat="server" Text='<%#Eval("ReceiptBook") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="ReceiptBook" HeaderText="Receipt Book" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Collection Group" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="CollectionGroupLabel" runat="server" Text='<%#Eval("CollectionGroup") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="CollectionGroup" HeaderText="Collection Group" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Fee Duration" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="FeeDurationLabel" runat="server" Text='<%#Eval("FeeDuration") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="FeeDuration" HeaderText="Fee Duration" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>                                                                                                 --%>
                                                                                                                <asp:TemplateField HeaderText="Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="RemarkLabel" runat="server" Text='<%#Eval("Remark") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="Remark" HeaderText="Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Additional Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="AdditionalRemarkLabel" runat="server" Text='<%#Eval("AdditionalRemark") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="AdditionalRemark" HeaderText="Additional Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Exemption Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="ExemptionRemarkLabel" runat="server" Text='<%#Eval("ExemptionRemark") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="ExemptionRemark" HeaderText="Exemption Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                                <asp:TemplateField HeaderText="Not Applicable Remark" HeaderStyle-HorizontalAlign="Center"
                                                                                                                    ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                                    <ItemTemplate>
                                                                                                                        <asp:Label ID="NotApplicableRemarkLabel" runat="server" Text='<%#Eval("NotApplicableRemark") %>'></asp:Label>
                                                                                                                    </ItemTemplate>
                                                                                                                </asp:TemplateField>
                                                                                                                <%--<asp:BoundField DataField="NotApplicableRemark" HeaderText="Not Applicable Remark" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>--%>
                                                                                                            </Columns>
                                                                                                        </asp:GridView>
                                                                                                    </ContentTemplate>
                                                                                                </asp:UpdatePanel>
                                                                                            </div>

                                                                                        </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </asp:Panel>

        <%--Changes for Mantis Id:0038137--%>
        <cc1:ModalPopupExtender ID="SysSuperAuditLogExtender" runat="server" TargetControlID="SysSuperHideButton" PopupControlID="SysSuperModalPopUpPanel"
            BackgroundCssClass="modalBackground" Drag="True" PopupDragHandleControlID="SysSuperdragPanel" Enabled="True" />
        <asp:LinkButton runat="server" ID="SysSuperHideButton" meta:resourcekey="HidenButtonResource1" />

        <asp:Panel ID="SysSuperModalPopUpPanel" runat="server" CssClass="dragControl" Width="700px" DefaultButton="SearchButton"
            meta:resourcekey="ModalPopUpPanelResource1">
            <div class="card card-box">
                <asp:Panel ID="SysSuperdragPanel" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                    <div id="dragMe2" class="dragMe" style="cursor: move">
                        <div class="himsPopupWireBox">
                            <div class="himsBoxHeadermain">
                            </div>
                            <div class="himsBoxTopper text-center headerFont card-head">
                                <div class="fLeft headerText">
                                    <asp:UpdatePanel ID="UpdatePanel5" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="SysSuperDialogHeaderLabel" runat="server" meta:resourcekey="DialogHeaderLabelResource1"></asp:Label>
                                            </header>
                                            <asp:ImageButton ID="SysSuperCloseImageButton" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png"
                                                Style="margin-left: 630PX" OnClick="SysSuperCloseImageButton_Click" />
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </asp:Panel>
                <asp:UpdatePanel ID="UpdatePanel6" runat="server" RenderMode="Inline">
                    <ContentTemplate>
                        <div id="syssuperbodyContainer">
                            <div class="himsPopupWireBox">
                                <div class="himsBoxHeadermain">
                                    <div>
                                    </div>
                                </div>
                                <div class="himsBoxContentmain" style="overflow: hidden">
                                    <div id="divContentPage2">
                                        <div class="himsBoxHeader">
                                            <asp:Panel ID="Panel3" runat="server" meta:resourcekey="TopPanelResource1">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <asp:Label ID="Label2" runat="server" Text="Search"
                                                            meta:resourcekey="EmployeeSearchHeaderLabelResource1" Visible="false"></asp:Label>
                                                    </div>
                                                    <div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>

                                        <div class="himsBoxContent card-body">
                                            <asp:Panel ID="Panel4" runat="server" meta:resourcekey="DetailPanelResource1">
                                                <div class="contentHolder">
                                                    <div id="Div8" runat="server">
                                                        <div id="Div9" runat="server">
                                                            <div class="himssuHeader7WireBox col-md-12" id="Div10" runat="server">
                                                                <div class="himsBoxHeader" id="Div11" runat="server" visible="False">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent">
                                                                    <div class="contentHolder">
                                                                        <div class="himssuHeader7WireBox" runat="server">
                                                                            <div class="himsBoxHeader">
                                                                                <div class="card-head inner">
                                                                                    <div class="headerText">
                                                                                        <header>
                                                                                            <asp:Label ID="Label3" runat="server" Text="Change Log"
                                                                                                meta:resourcekey="OldRecordLabelResource1"></asp:Label>
                                                                                        </header>
                                                                                    </div>
                                                                                </div>

                                                                                <div class="himsBoxContent width-100">
                                                                                    <div id="Div12" class="himsBoxContentMsg table-responsive" runat="server">
                                                                                        <asp:UpdatePanel ID="UpdatePanel7" runat="server">
                                                                                            <ContentTemplate>
                                                                                                <asp:GridView ID="ModulePermissionGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                                                    AutoGenerateColumns="False" SkinID="" ShowHeader="True" PagerSettings-Visible="false" Width="100%"
                                                                                                    EmptyDataText="No Records Found !!!">
                                                                                                    <Columns>
                                                                                                        <asp:TemplateField HeaderText="Module Name" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Label ID="ModuleNameLabel" runat="server" Text='<%#Eval("ModuleName") %>'></asp:Label>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField HeaderText="Task Id" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Label ID="TaskIdLabel" runat="server" Text='<%#Eval("TaskId") %>'></asp:Label>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField HeaderText="Task Name" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Label ID="TaskNameLabel" runat="server" Text='<%#Eval("TaskName") %>'></asp:Label>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField HeaderText="Configuration Name" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Label ID="ConfigurationNameLabel" runat="server" Text='<%#Eval("ConfigurationName") %>'></asp:Label>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField HeaderText="Old Value" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Label ID="OldValueLabel" runat="server" Text='<%#Eval("OldValue") %>'></asp:Label>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField HeaderText="New Value" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Label ID="NewValueLabel" runat="server" Text='<%#Eval("NewValue") %>'></asp:Label>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                        <asp:TemplateField HeaderText="Mode" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="5%" ItemStyle-Wrap="true">
                                                                                                            <ItemTemplate>
                                                                                                                <asp:Label ID="ModeLabel" runat="server" Text='<%#Eval("Mode") %>'></asp:Label>
                                                                                                            </ItemTemplate>
                                                                                                        </asp:TemplateField>
                                                                                                    </Columns>
                                                                                                </asp:GridView>
                                                                                            </ContentTemplate>
                                                                                        </asp:UpdatePanel>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
        </asp:Panel>
        <script data-main='<%=ResolveUrl("~/JavaScript/rjs/audit-log")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    </div>

    <%-- <script data-main="../../JavaScript/rjs/encrypt/audit-log-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>

    <%--  <script type="text/javascript">
        //$('#ctl00_CP_popupdiv').show();
        function CloseLoading() {
            $('.hls-bg').hide();
            $('#ctl00_CP_popupdiv').hide();
        }
        function Closepopup() {
            $('.hls-bg').hide();
            $('#ctl00_CP_popupdiv').hide();
        }
        function openpopup(obj) {
            var row = $(obj).closest("tr").index();
            var RowIndex = row - 1;

            var HiddenTextBox = $("input[id*=AuditLogIdHiddenField]");
            var RecordDetail = HiddenTextBox[RowIndex].value;

            var datas = $.parseJSON(RecordDetail);
            var OldRecords = datas.OldRecords;
            var htmlstring = '';
            htmlstring += '<table id="oldrecordtable" class="table table-striped table-hover table-bordered table-main-class"><thead><tr>';
            htmlstring += '<th>FeeId</th>';
            htmlstring += '</tr></thead><tbody id="oldrecordtablebody" class="table-basic-design">';
            for (var i = 0; i < OldRecords.length; i++) {
                htmlstring += '<tr>';
                htmlstring += '<td>' + OldRecords[i].FeeId + '</td>';
                htmlstring += '</tr>';
            }
            htmlstring += '</tbody></table>';
            $('#ctl00_CP_RecordDetailsDiv').append(htmlstring);
         
            //$('.hls-bg').show();
            //$('#ctl00_CP_popupdiv').show();
            //document.getElementById('ctl00_CP_popupdiv').style.display = 'none';
            //$('#ctl00_CP_ComModalPopupExtender_backgroundElement').show();
            //$('#ctl00_CP_popupdiv').show();
            
            //popupdiv.Attributes.Add("style", "display:block");
            //ComModalPopupExtender.Show();

                //window.setTimeout(function () {
                //    CloseLoading();
                //    $('.hls-bg').show();
                //    $('#ctl00_CP_popupdiv').show();
                //}, 500);

        
        }
        </script>--%>
</asp:Content>
