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

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerAutoPostBackControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <link href="../../App_Themes/jquery-ui.css" rel="stylesheet" />
    <link href="../../App_Themes/newTheme/css/inner-db.css" rel="stylesheet" />
    <script src="../../App_Themes/newTheme/js/Chart.min.js"></script>
    <script src="../../App_Themes/newTheme/js/utils.js"></script>
    <div id="CPDiv">
        <asp:UpdatePanel ID="updPnlSearchGridView" runat="server" UpdateMode="Always">
            <ContentTemplate>
                <div id="divContentPage" class="divcontentpagemargin">
                    <div class="dashBoardLeftCont">
                        <div class="himssuHeader3WireBox">
                            <table>
                                <tr>
                                    <td>
                                        <div class="himsBoxContent">
                                            <div class="leftUlMenu">
                                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="240"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="row whiteboxpaddingleft">
                        <div class="himssuHeader5WireBox card card-box" runat="server" id="SearchDiv">
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="DetailPanel" runat="Server">
                                    <div class="contentHolder">
                                        <div class="tableContainer">
                                            <div class="navgraybackground">
                                                <ul class="nav nav-tabs">
                                                    <li id="FeeList" runat="server"><a href="#tab_1">
                                                        <asp:Button Text="&#10004;  Fee" ID="FeeListButton" CssClass="fas transparenttab" OnClick="FeeListButton_Click"
                                                            SkinID="0" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                    <li id="AdmissionList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Admission" ID="AdmissionListButton" CssClass="fas transparenttab" OnClick="AdmissionListButton_Click"
                                                            SkinID="0" runat="server" AutoPostBack="True" />
                                                    </a></li>
                                                    <li id="StaffList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Staff" ID="StaffListButton" CssClass="Initial fas transparenttab" OnClick="StaffListButton_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li id="StudentList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Student" ID="StudentListButton" CssClass="Initial fas transparenttab" OnClick="StudentListButton_Click" SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li id="ResultList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Result" ID="ResultListButton" CssClass="Initial fas transparenttab" OnClick="ResultListButton_Click" SkinID="0" runat="server" />
                                                    </a></li>
                                                    <li id="TaskList" runat="server"><a>
                                                        <asp:Button Text="&#10004;  Task" ID="TaskListButton" CssClass="Initial fas transparenttab" OnClick="TaskListButton_Click"
                                                            SkinID="0" runat="server" />
                                                    </a></li>
                                                </ul>
                                            </div>
                                            <div class="contentHolder" id="FeeDiv" runat="server">
                                                <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OrgGroupBatchLabel" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="OrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="OrgGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="FeeSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="FeeSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div class="navgraybackground">
                                                        <ul class="nav nav-tabs">
                                                            <li id="StatusLi" runat="server"><a href="#tab_1">
                                                                <asp:Button Text="Fee Amount Status" ID="StatusButton" CssClass="fas transparenttab" OnClick="StatusButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                            <li id="ReceiptLi" runat="server"><a>
                                                                <asp:Button Text="Fee Receipt Detail" ID="ReceiptButton" CssClass="Initial fas transparenttab" OnClick="ReceiptButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                            <li id="CollectionLi" runat="server"><a>
                                                                <asp:Button Text="Fees Collection" ID="CollectionButton" CssClass="fas transparenttab" OnClick="CollectionButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                            <li id="DetailsStatusLi" runat="server"><a>
                                                                <asp:Button Text="Fee Detail Status" ID="FeeDetailsStatusButton" CssClass="fas transparenttab" OnClick="FeeDetailsStatusButton_Click"
                                                                    SkinID="0" runat="server" AutoPostBack="True" />
                                                            </a></li>
                                                        </ul>
                                                    </div>
                                                    <div id="ReceiptDiv" class="himssuHeader6WireBox col-md-12" runat="server">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ReceiptFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ReceiptFromDatePicker" runat="server" OnTextChanged="ReceiptFromDatePicker_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ReceiptToDateLabel" runat="server" Text="To Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ReceiptToDatePicker" runat="server" OnTextChanged="ReceiptToDatePicker_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="LearningDetailUpdatePanel" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="Div4" runat="server">
                                                                        <div id="Div6" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptListGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="OrgGroupId" OnRowDataBound="ReceiptListGridView_RowDataBound"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Org Group Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="OrgGroupNameLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("OrgGroupName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ReceiptListOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptCount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ReceiptCount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalReceiptCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ReceiptAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalReceiptAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CancelAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="CancelAmount_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="TotalCancelAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <asp:HiddenField ID="ReceiptDetailOrgGroupIdHiddenField" runat="server" />
                                                                    <div id="Div7" runat="server">
                                                                        <div id="Div8" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptCountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ReceiptBookId,CollectionGroupId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book - Collection Group" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptCollection")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptCountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptCount")%>' OnClick="ReceiptCountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div9" runat="server">
                                                                        <div id="Div10" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ReceiptBookId,CollectionGroupId,OrgGroupId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book - Collection Group" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptCollection")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Receipt Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="ReceiptAmountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("ReceiptAmount")%>' OnClick="ReceiptAmountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div11" runat="server">
                                                                        <div id="Div12" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CancelAmountGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ReceiptBookId,CollectionGroupId,OrgGroupId,CancelAmount"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book - Collection Group" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptCollection" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptCollection")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cancel Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CancelAmountDetail" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("CancelAmount")%>' OnClick="CancelAmountDetail_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div13" runat="server">
                                                                        <div id="Div14" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="ReceiptDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Number" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptNumber" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptNumber")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Code")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Name")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptAmount")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                            <input type="button" class="btn-update btn fas" onclick="FRDChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="FRDChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblFeeReceiptDetailGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="FeeReceiptDetailChartBar">
                                                                    <canvas id="FRD-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="CollectionDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CollectionFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="CollectionFromDatePickerControl" runat="server" OnTextChanged="CollectionFromDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CollectionToDateLabel" runat="server" Text="To Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="CollectionToDatePickerControl" runat="server" OnTextChanged="CollectionToDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <asp:HiddenField ID="CollectionOrgGroupHiddenFieldId" runat="server" />
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="Div1" runat="server">
                                                                        <div id="Div2" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionOrgGroupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="CommonOrgId" OnRowDataBound="CollectionOrgGroupGridView_RowDataBound"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Org Group Name" ItemStyle-Width="9%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="OrgGroupNameLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CommonOrgName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="CollectionOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupOrgTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupOrgGroupTotal_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="CollectionGroupOrgTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="CashTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ChequeTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ByBankTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="NetBankingTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="DDTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="CreditCardTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="DebitCardTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="PaymentGatewayTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="UPITotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="NEFTTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <FooterTemplate>
                                                                                            <asp:Label ID="ECSTotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                        </FooterTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div15" runat="server">
                                                                        <div class="outerBox pTop5 col-md-3" id="CustomGroupDiv" runat="server" visible="false">
                                                                            <div class="controlLabelWidth">
                                                                                <asp:Label ID="CustomGroupLabel" runat="server" Text="Custom Group"></asp:Label>
                                                                            </div>
                                                                            <div class="fLeft pRight5">
                                                                                <asp:DropDownList ID="CustomGroupDropDownList" runat="server" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True"
                                                                                    OnSelectedIndexChanged="CustomGroupDropDownList_SelectedIndexChanged">
                                                                                    <asp:ListItem Value="1">Receipt Book</asp:ListItem>
                                                                                    <asp:ListItem Value="2">User Wise</asp:ListItem>
                                                                                    <asp:ListItem Value="3">Organization Wise</asp:ListItem>
                                                                                    <asp:ListItem Value="4">Fee Head Wise</asp:ListItem>
                                                                                    <asp:ListItem Value="5">Fee Master Wise</asp:ListItem>
                                                                                </asp:DropDownList>
                                                                            </div>
                                                                        </div>
                                                                        <div id="Div16" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupReceiptGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="ReceiptBookId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Receipt Book" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiptBook" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptBookName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupReceiptTotal_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div17" runat="server">
                                                                        <div id="Div18" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupUserGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="UserId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="User" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="User" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UserName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupUserTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupUserTotal_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div19" runat="server">
                                                                        <div id="Div20" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupOrganizationGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="CommonOrgId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="9%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="OrgGroupNameLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CommonOrgName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupOrgTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupOrgTotal_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div21" runat="server">
                                                                        <div id="Div22" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupHeadGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="CommonFeeId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Fee Head" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="FeeHead" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CommonFeeName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupHeadTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupHeadTotal_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div23" runat="server">
                                                                        <div id="Div24" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="CommonFeeId"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Fee Master" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="FeeMaster" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CommonFeeName")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="CollectionGroupMasterTotal" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                                Text='<%#Bind("Total")%>' OnClick="CollectionGroupMasterTotal_Click"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Cash" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cash" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cash")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Cheque" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Cheque" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Cheque")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="By Bank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ByBank" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ByBank")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NetBanking" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NetBanking" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NetBanking")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="DD" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DD" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DD")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Credit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="CreditCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("CreditCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Debit Card" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DebitCard" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("DebitCard")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Payment Gateway" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PaymentGateway" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("PaymentGateway")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="UPI" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="UPI" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("UPI")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NEFT" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NEFT" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("NEFT")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="ECS" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ECS" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ECS")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                    <div id="Div25" runat="server">
                                                                        <div id="Div26" runat="server" class="table-responsive">
                                                                            <asp:GridView ID="CollectionGroupDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                CssClass="table table-striped table-bordered table-hover"
                                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                <Columns>
                                                                                    <asp:TemplateField HeaderText="Number" ItemStyle-Width="2%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Number" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptNumber")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Date" ItemStyle-Width="2%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="DateLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("ReceiptDate")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <%--MantisId : 0035036--%>
                                                                                    <asp:TemplateField HeaderText="Code" ItemStyle-Width="2%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="StudentCode" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Code")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Name")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Amount")%>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>

                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-1 fRight">
                                                            <input type="button" class="btn-update btn fas" onclick="FeeCollectionChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="FeeCollectionChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblFeeCollectionGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="FeeCollectionChartBar">
                                                                    <canvas id="FeeCollection-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="StatusDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                        <div id="Div29" runat="server">
                                                            <div id="Div30" runat="server" class="table-responsive">
                                                                <asp:GridView ID="FeeAmountStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="OrgGroupId" OnRowDataBound="FeeAmountStatusGridView_RowDataBound"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Org Group Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgGroupNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("OrgGroupName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Paid" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeStatusPaidAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PaidAmount")%>' OnClick="FeeStatusPaidAmount_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeStatusTotalPaidAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeStatusPendingAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PendingAmount")%>' OnClick="FeeStatusPendingAmount_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeStatusTotalPendingAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeStatusTotalAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("TotalAmount")%>' OnClick="FeeStatusTotalAmount_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeStatusTotalAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div31" runat="server">
                                                            <div id="Div32" runat="server" class="table-responsive">
                                                                <asp:GridView ID="OrganizationPaidStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="OrgGroupId,ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("OrgGroupName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Student Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentCountLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationpaidStatusAmountLink" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PaidAmount")%>' OnClick="OrganizationpaidStatusAmountLink_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div94" runat="server">
                                                            <div id="Div95" runat="server" class="table-responsive">
                                                                <asp:GridView ID="OrganizationPendingStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="OrgGroupId,ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("OrgGroupName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Student Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentCountLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationPendingStatusAmountLink" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("PendingAmount")%>' OnClick="OrganizationPendingStatusAmountLink_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div5" runat="server">
                                                            <div id="Div79" runat="server" class="table-responsive">
                                                                <asp:GridView ID="OrganizationPaidStatusStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Code")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Name")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ParentContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("PaidAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div96" runat="server">
                                                            <div id="Div97" runat="server" class="table-responsive">
                                                                <asp:GridView ID="OrganizationPendingStatusStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Code")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Name")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ParentContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("PendingAmount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>


                                                        <div id="FeeCollectionDiv" runat="server" visible="False">
                                                            <div id="Div47" runat="server">
                                                                <div class="himsBoxContent">
                                                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                                                        <ContentTemplate>
                                                                            <div id="Div45" runat="server">
                                                                                <div id="Div46" runat="server" class="table-responsive">
                                                                                    <asp:GridView ID="FeeStatusCollectionGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                        CssClass="table table-striped table-bordered table-hover" OnRowDataBound="FeeStatusCollectionGridView_RowDataBound"
                                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                                        <PagerSettings Visible="False" />
                                                                                    </asp:GridView>
                                                                                    <asp:HiddenField ID="FeeCollectionOrgGroupHiddenId" runat="server" />
                                                                                </div>
                                                                            </div>
                                                                        </ContentTemplate>
                                                                    </asp:UpdatePanel>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                            <%--<asp:Button ID="FeeAmountGraphHideButton" SkinID="0" CssClass="btn-update btn fas toggler" Text="Hide Graph" OnClientClick="FASChartHide(this);" />--%>
                                                            <input type="button" class="btn-update btn fas" onclick="FASChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="FASChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblFeeAmountStatusGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="FeeAmountStatusChartBar">
                                                                    <canvas id="FAS-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="FeeDetailsStatusDiv" runat="server" visible="false" class="himssuHeader6WireBox col-md-12">
                                                        <div id="Div83" runat="server">
                                                            <div id="Div86" runat="server" class="table-responsive">
                                                                <asp:GridView ID="FeeDetailsStatusOrgGroupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="OrgGroupId" OnRowDataBound="FeeDetailsStatusOrgGroupGridView_RowDataBound"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Org Group Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrgGroupNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("OrgGroupName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Exemption" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeDetailsStatusExemptionAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("ExemptionAmount")%>' OnClick="FeeDetailsStatusExemptionAmount_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeDetailsStatusTotalExemptionAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Not Applicable" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeDetailsStatusNotApplicableAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("NotApplicableAmount")%>' OnClick="FeeDetailsStatusExemptionAmount_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeDetailsStatusTotalNotApplicableAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Additional" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeDetailsStatusAdditionalAmount" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("AdditionalAmount")%>' OnClick="FeeDetailsStatusExemptionAmount_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="FeeDetailsStatusAdditionalAmountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div87" runat="server">
                                                            <asp:HiddenField ID="FeeDetailsStatusCountHiddenField" runat="server" />
                                                            <div id="Div91" runat="server" class="table-responsive">
                                                                <asp:GridView ID="FeeDetailsStatusClassGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="OrgGroupId,ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("OrgName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Student Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentCountLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FeeDetailsStatusAmountLink" runat="server" CssClass="boxEllips" CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'
                                                                                    Text='<%#Bind("Amount")%>' OnClick="FeeDetailsStatusAmountLink_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div id="Div98" runat="server">
                                                            <div id="Div99" runat="server" class="table-responsive">
                                                                <asp:GridView ID="FeeDetailsStatusStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%# string.Concat(Eval("ClassName"), " - ", Eval("DivisionName"))%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Code" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentCode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Name" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Amount" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Amount" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Amount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="contentHolder" id="AdmissionDiv" runat="server">
                                                <asp:Panel ID="Panel1" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="AdmissionGroupBatchLabel" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>

                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="AdmissionGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="AdmissionGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>

                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="AdmissionSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="AdmissionSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>

                                                    <div class="navgraybackground">
                                                        <ul class="nav nav-tabs">
                                                            <li id="AdmissionFormLi" runat="server"><a href="#tab_1">
                                                                <asp:Button Text="Admission Form" ID="AdmissionFormButton" CssClass="fas transparenttab"
                                                                    SkinID="0" runat="server" AutoPostBack="True" OnClick="AdmissionFormButton_Click" />
                                                            </a></li>
                                                            <li id="AdmissionInquiryLi" runat="server" visible="false"><a>
                                                                <asp:Button Text="Admission Inquiry" ID="AdmissionInquiryButton" CssClass="fas transparenttab"
                                                                    SkinID="0" runat="server" AutoPostBack="True" OnClick="AdmissionInquiryButton_Click" />
                                                            </a></li>
                                                            <li id="AdmissionInquirySummaryLi" runat="server" visible="false"><a>
                                                                <asp:Button Text="Admission Inquiry Summary" ID="AdmissionInquirySummaryButton" CssClass="fas transparenttab"
                                                                    SkinID="0" runat="server" AutoPostBack="True" OnClick="AdmissionInquirySummaryButton_Click" />
                                                            </a></li>

                                                        </ul>
                                                    </div>
                                                    <div id="AdmissionFormDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="true">

                                                        <div id="Div48" runat="server">
                                                            <div id="Div3" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormOrgGroupGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="AdmissionFormOrgGroupGridView_RowDataBound"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Org Group Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionFormOrgGroup" runat="server" CssClass="boxEllips" OnClick="AdmissionFormOrgGroup_Click"
                                                                                    Text='<%#Bind("OrgGroup")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="AdmissionFormOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StudentAdmissionCountButton" runat="server" CssClass="boxEllips" OnClick="StudentAdmissionCountButton_Click"
                                                                                    Text='<%#Bind("AdmissionCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="StudentAdmissionCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="PendingCountButton" runat="server" CssClass="boxEllips" OnClick="PendingCountButton_Click"
                                                                                    Text='<%#Bind("PendingCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="PendingCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Confirm" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ConfirmCountButton" runat="server" CssClass="boxEllips" OnClick="ConfirmCountButton_Click"
                                                                                    Text='<%#Bind("ConfirmCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ConfirmCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div28" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormOrganizationGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="AdmissionFormOrganizationGridView_RowDataBound"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="AdmissionFormOrganization" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Organization")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Admission Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="OrganizationCountButton" runat="server" CssClass="boxEllips" OnClick="OrganizationCountButton_Click"
                                                                                    Text='<%#Bind("AdmissionCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="OrganizationCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div33" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormOrgStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False" ShowFooter="true"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId" OnRowDataBound="AdmissionFormOrgStatusGridView_RowDataBound"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Status")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusCountLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StatusCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="StatusTotalCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div49" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="AdmissionFormGridView_RowDataBound"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId,InquiryStatusId" ShowFooter="true"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Organization")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="Status" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Status")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="TotalLabel1" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionFormCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCountLinkButton_Click"
                                                                                    Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="StatusTotalCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <asp:HiddenField ID="AdmissionFormOrgGroupHiddenField" runat="server" />
                                                            <asp:HiddenField ID="AdmissionFormOrgHiddenField" runat="server" />
                                                            <asp:HiddenField ID="AdmissionFormInquiryStatusHiddenField" runat="server" />
                                                            <asp:HiddenField ID="AdmissionInquiryOrgGroupHiddenField" runat="server" />
                                                            <asp:HiddenField ID="AdmissionInquiryOrgHiddenField" runat="server" />
                                                            <asp:HiddenField ID="AdmissionInquiryInquiryStatusHiddenField" runat="server" />
                                                            <asp:HiddenField ID="AdmissionInquiryInquiryMainStatusHiddenField" runat="server" />
                                                            <div id="Div53" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="AdmissionFormDetailGridView_RowDataBound"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId,OrgId,InquiryStatusId" ShowFooter="true"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionFormCount" runat="server" CssClass="boxEllips" OnClick="AdmissionFormCount_Click"
                                                                                    Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ClassTotalCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div55" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionFormStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="AdmissionFormStudentGridView_RowDataBound"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" ShowFooter="true"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("InquiryId")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="TotalLabel1" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="ClassTotalCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                            <input type="button" class="btn-update btn fas" onclick="AFChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="AFChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblAdmissionFormGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="AdmissionFormChartBar">
                                                                    <canvas id="AF-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="AdmissionInquiryDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">

                                                        <div id="Div50" runat="server">
                                                            <div id="Div27" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryOrgGroupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="AdmissionInquiryOrgGroupGridView_RowDataBound"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Org Group Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionInquiryOrgGroup" runat="server" CssClass="boxEllips" OnClick="AdmissionInquiryOrgGroup_Click"
                                                                                    Text='<%#Bind("OrgGroup")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="AdmissionInquiryOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Admission Inquiry Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StudentAdmissionInquiryCountButton" runat="server" CssClass="boxEllips" OnClick="StudentAdmissionInquiryCountButton_Click"
                                                                                    Text='<%#Bind("AdmissionCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="StudentAdmissionInquiryCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div34" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryOrganizationGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="AdmissionFormOrganization" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Organization")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Admission Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="InquiryOrganizationCountButton" runat="server" CssClass="boxEllips" OnClick="InquiryOrganizationCountButton_Click"
                                                                                    Text='<%#Bind("AdmissionCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div35" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryOrgStatusGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Status")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusCountLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StatusCount")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div51" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId,InquiryStatusId,InquiryMainStatusId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InquiryOrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Organization")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InquiryStatus" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Status")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Admission Inquiry Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionInquiryCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionInquiryCountLinkButton_Click"
                                                                                    Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div54" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId,OrgId,InquiryStatusId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionInquiryCount" runat="server" CssClass="boxEllips" OnClick="AdmissionInquiryCount_Click"
                                                                                    Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div56" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquiryStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("InquiryId")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                            <input type="button" class="btn-update btn fas" onclick="AIChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="AIChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblAdmissionInquiryGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="AdmissionInquiryChartBar">
                                                                    <canvas id="AI-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="AdmissionInquirySummaryDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">

                                                        <div id="Div84" runat="server">
                                                            <div id="Div85" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquirySummaryOrgGroupGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="AdmissionInquirySummaryOrgGroupGridView_RowDataBound"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Org Group Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="AdmissionInquirySummaryOrgGroup" runat="server" CssClass="boxEllips" Text='<%#Bind("OrgGroup")%>' Font-Bold="true"></asp:Label>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="AdmissionInquirySummaryOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Admission Inquiry Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StudentAdmissionInquirySummaryCountButton" runat="server" CssClass="boxEllips" OnClick="StudentAdmissionInquirySummaryCountButton_Click"
                                                                                    Text='<%#Bind("AdmissionCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                            <FooterTemplate>
                                                                                <asp:Label ID="StudentAdmissionInquirySummaryCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                            </FooterTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>


                                                            <div id="Div88" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquirySummaryGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId,InquiryStatusId,InquiryMainStatusId,NotDone"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InquiryOrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Organization")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="InquiryStatus" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("Status")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Done" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionInquirySummaryCountLinkButton" runat="server" CssClass="boxEllips" OnClick="AdmissionInquirySummaryCountLinkButton_Click"
                                                                                    Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Not Done" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="NotDoneLabel" runat="server" CssClass="boxEllips" Visible="false"
                                                                                    Text='<%#Bind("NotDone")%>'></asp:Label>
                                                                                <asp:LinkButton ID="NotDoneLinkButton" runat="server" CssClass="boxEllips" OnClick="NotDoneLinkButton_Click"
                                                                                    Text='<%#Bind("NotDone")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div89" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquirySummaryDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId,OrgId,InquiryStatusId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ClassName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AdmissionInquirySummaryCount" runat="server" CssClass="boxEllips" OnClick="AdmissionInquirySummaryCount_Click"
                                                                                    Text='<%#Bind("StatusCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                            <div id="Div90" runat="server" class="table-responsive">
                                                                <asp:GridView ID="AdmissionInquirySummaryStudentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="ClassId"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("InquiryId")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Student Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                    Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="contentHolder" id="StaffDiv" runat="server">
                                                <asp:Panel ID="Panel4" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label5" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>

                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="StaffOrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="StaffOrgGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>

                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="StaffSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="StaffSyncButton_Click" />
                                                    </div>
                                                    <div class="cBoth"></div>
                                                    <div id="StaffAttendanceDiv" runat="server">
                                                        <asp:Panel ID="Panel5" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label6" runat="server" Text="Staff Attendance"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <asp:HiddenField ID="StaffAttendanceOrgGroupId" runat="server" />
                                                        <div id="Div57" class="himssuHeader6WireBox col-md-12" runat="server">
                                                            <div id="Div58" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label8" runat="server" Text="Upto Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StaffAttendanceUptoDatePickerControl" runat="server" OnTextChanged="StaffAttendanceUptoDatePickerControl_TextChanged" />
                                                                    </div>
                                                                </div>
                                                                <div id="Div59" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="StaffAttendanceGridView_RowDataBound"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="5%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="OrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="OrgGroupLinkButton_Click"
                                                                                        Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="OrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="TotalLinkButton" runat="server" CssClass="boxEllips" OnClick="TotalLinkButton_Click"
                                                                                        Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="PresentLinkButton" runat="server" CssClass="boxEllips" OnClick="PresentLinkButton_Click"
                                                                                        Text='<%#Bind("Present")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalPresentLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="AbsentLinkButton" runat="server" CssClass="boxEllips" OnClick="AbsentLinkButton_Click"
                                                                                        Text='<%#Bind("Absent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalAbsentLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="PendingLinkButton" runat="server" CssClass="boxEllips" OnClick="PendingLinkButton_Click"
                                                                                        Text='<%#Bind("AttnNotTaken")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalPendingLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Leave" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="LeaveLinkButton" runat="server" CssClass="boxEllips" OnClick="LeaveLinkButton_Click"
                                                                                        Text='<%#Bind("Leave")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalLeaveLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <%--<asp:TemplateField HeaderText="AB > 10%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AB10LinkButton" runat="server" CssClass="boxEllips" OnClick="AB10LinkButton_Click"
                                                                                    Text='<%#Bind("AB10")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Absent 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="AB3DaysLinkButton" runat="server" CssClass="boxEllips" OnClick="AB3DaysLinkButton_Click"
                                                                                    Text='<%#Bind("AB3Days")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="Leave3DaysLinkButton" runat="server" CssClass="boxEllips" OnClick="Leave3DaysLinkButton_Click"
                                                                                    Text='<%#Bind("Leave3Day")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="100% Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="Att100LinkButton" runat="server" CssClass="boxEllips" OnClick="Att100LinkButton_Click"
                                                                                    Text='<%#Bind("HundredPerAttn")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>--%>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                                <div id="Div65" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffOrganizationAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId,OrgGroupId"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgLinkButton_Click"
                                                                                        Text='<%#Bind("OrgTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgTotalLinkButton_Click"
                                                                                        Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgPresentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgPresentLinkButton_Click"
                                                                                        Text='<%#Bind("Present")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgAbsentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgAbsentLinkButton_Click"
                                                                                        Text='<%#Bind("Absent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgPendingLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgPendingLinkButton_Click"
                                                                                        Text='<%#Bind("AttnNotTaken")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Leave" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgLeaveLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgLeaveLinkButton_Click"
                                                                                        Text='<%#Bind("Leave")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="AB > 10%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgAB10LinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgAB10LinkButton_Click"
                                                                                        Text='<%#Bind("AB10")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Absent 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgAB3DaysLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgAB3DaysLinkButton_Click"
                                                                                        Text='<%#Bind("AB3Days")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Leave 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgLeave3DaysLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgLeave3DaysLinkButton_Click"
                                                                                        Text='<%#Bind("Leave3Day")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="100% Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffOrgAtt100LinkButton" runat="server" CssClass="boxEllips" OnClick="StaffOrgAtt100LinkButton_Click"
                                                                                        Text='<%#Bind("HundredPerAttn")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                                <div id="Div60" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffAttendanceTotalDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId,DepartmentId,OrgId"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Department" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="DepartmentLabel" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("DepartmentCode")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffDetailTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailTotalLinkButton_Click"
                                                                                        Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffDetailPresentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailPresentLinkButton_Click"
                                                                                        Text='<%#Bind("Present")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffDetailAbsentLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailAbsentLinkButton_Click"
                                                                                        Text='<%#Bind("Absent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffDetailPendingLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailPendingLinkButton_Click"
                                                                                        Text='<%#Bind("AttnNotTaken")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Leave" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffDetailLeaveLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailLeaveLinkButton_Click"
                                                                                        Text='<%#Bind("Leave")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <%--<asp:TemplateField HeaderText="AB > 10%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailAB10LinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailAB10LinkButton_Click"
                                                                                    Text='<%#Bind("AB10")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Absent 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailAB3DaysLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailAB3DaysLinkButton_Click"
                                                                                    Text='<%#Bind("AB3Days")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Leave 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailLeave3DaysLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailLeave3DaysLinkButton_Click"
                                                                                    Text='<%#Bind("Leave3Day")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="100% Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left" Visible="false">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="StaffDetailAtt100LinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDetailAtt100LinkButton_Click"
                                                                                    Text='<%#Bind("HundredPerAttn")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>--%>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>

                                                                <asp:HiddenField ID="OtherLinkButtonClickHiddenField" runat="server" />
                                                                <asp:HiddenField ID="DepartmentViewHiddenField" runat="server" />
                                                                <div id="Div64" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffAttendaceOtherGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="DepartmentId,Total,OrgGroupId"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" OnRowDataBound="StaffAttendaceOtherGridView_RowDataBound">
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                                <div id="Div61" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="EmployeeDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Id" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("EmployeeID")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Designation" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Designation" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("EmployeeDesignation")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="D.O.J" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="DateOfJoining" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("DateOfJoining")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                                <div id="Div66" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="EmployeeOrgDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Department" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Id" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("DepartmentCode")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Id" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("EmployeeID")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Designation" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Designation" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("EmployeeDesignation")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="D.O.J" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="DateOfJoining" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("DateOfJoining")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Contact" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                                    <input type="button" class="btn-update btn fas" onclick="StaffChartHide(this);" title="Hide" value="Hide Graph" />
                                                                </div>
                                                                <div id="StaffChartDiv" class="col-md-6 p-0">
                                                                    <div class=" col-md-16 mlr14">
                                                                        <div class='himsBoxContent' style="display: none">
                                                                            <div class='table-responsive'>
                                                                                <table id='tblStaffGraph' class='table table-striped table-bordered'>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-md-12 pTop10" id="StaffChartBar">
                                                                            <canvas id="Staff-Chart-Bar"></canvas>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="StaffAttendanceDetailDiv" runat="server">
                                                        <asp:Panel ID="Panel6" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label7" runat="server" Text="Staff Attendance Detail"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div id="Div36" class="himssuHeader6WireBox col-md-12" runat="server">
                                                            <div id="Div62" runat="server">
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label9" runat="server" Text="From Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StaffAttendanceFromDatePickerControl" runat="server" OnTextChanged="StaffAttendanceFromDatePickerControl_TextChanged" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="Label10" runat="server" Text="To Date"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="StaffAttendanceToDatePickerControl" runat="server" OnTextChanged="StaffAttendanceToDatePickerControl_TextChanged" />
                                                                    </div>
                                                                </div>
                                                                <div id="Div63" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffAttendanceDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="StaffAttendanceDetailGridView_RowDataBound"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="StaffDepartmentOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="StaffDepartmentOrgGroupLinkButton_Click"
                                                                                        Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="StaffDepartmentOrgGroupLabel" runat="server" Text="Total" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="AB>10%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="AB10Label" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("AB10")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalAB10Label" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Absent 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Absent3DaysLabel" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("AB3Days")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalAB3DaysLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Leave 3 Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Leave3DaysLabel" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("Leave3Day")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalLeave3DayLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="100% Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="Att100Label" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("HundredPerAttn")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                                <FooterTemplate>
                                                                                    <asp:Label ID="TotalAtt100Label" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                                </FooterTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                                <asp:HiddenField ID="StaffDetailOrgGroupHFID" runat="server" />
                                                                <div id="Div52" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffAttendanceDepartmentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId,DepartmentId,OrgId"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Department" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="DepartmentLabel" runat="server" CssClass="boxEllips" OnClick="DepartmentLabel_Click"
                                                                                        Text='<%#Bind("DepartmentCode")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="AB>10%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="StaffDetailTotalLinkButton" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("AB10")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Absent3Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="StaffDetailPresentLinkButton" runat="server"
                                                                                        Text='<%#Bind("AB3Days")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Leave3Days" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="StaffDetailAbsentLinkButton" runat="server"
                                                                                        Text='<%#Bind("Leave3Day")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="StaffDetailPendingLinkButton" runat="server"
                                                                                        Text='<%#Bind("HundredPerAttn")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                                <div id="Div67" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffAttDepartmentDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                            <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="TotalLabel" runat="server" CssClass="boxEllips"
                                                                                        Text='<%#Bind("Total")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Present" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="PresentLabel" runat="server"
                                                                                        Text='<%#Bind("Present")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Absent" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="AbsentLabel" runat="server"
                                                                                        Text='<%#Bind("Absent")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>

                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                                <input type="button" class="btn-update btn fas" onclick="StaffDetailChartHide(this);" title="Hide" value="Hide Graph" />
                                                            </div>
                                                            <div id="StaffDetailChartDiv" class="col-md-6 p-0">
                                                                <div class=" col-md-16 mlr14">
                                                                    <div class='himsBoxContent' style="display: none">
                                                                        <div class='table-responsive'>
                                                                            <table id='tblStaffDetailGraph' class='table table-striped table-bordered'>
                                                                            </table>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-md-12 pTop10" id="StaffDetailChartBar">
                                                                        <canvas id="StaffDetail-Chart-Bar"></canvas>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="StaffCountSummaryDiv" runat="server" visible="false">
                                                        <asp:Panel ID="Panel13" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label19" runat="server" Text="Staff Count Summary"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div id="Div92" class="himssuHeader6WireBox col-md-12" runat="server">
                                                            <div id="Div93" runat="server">
                                                                <div id="Div100" runat="server" class="table-responsive">
                                                                    <asp:GridView ID="StaffCountSummaryGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnRowDataBound="StaffCountSummaryGridView_RowDataBound"
                                                                        CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId"
                                                                        SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="contentHolder" id="StudentDiv" runat="server">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="Label1" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>

                                                    </div>
                                                    <div class="">
                                                        <asp:DropDownList ID="StudentOrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="StudentOrgGroupBatchDropDownList_SelectedIndexChanged"
                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                        </asp:DropDownList>

                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <asp:Button ID="StudentSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" />
                                                </div>
                                                <div class="cBoth"></div>
                                                <%--Here--%>
                                                <div id="Div68" class="himssuHeader6WireBox" runat="server">
                                                    <asp:Panel ID="Panel3" runat="server">
                                                        <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText">
                                                                    <header>
                                                                        <asp:Label ID="Label2" runat="server" Text="Student Attendance"></asp:Label>
                                                                    </header>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                    <div id="Div69" runat="server">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label4" runat="server" Text="Upto Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="StudentUptoDatePickerControl" runat="server" OnTextChanged="StudentUptoDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="Div70" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                        <asp:GridView ID="StudentAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="StudentAttendanceGridView_RowDataBound"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="StudentOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="StudentOrgGroupLinkButton_Click"
                                                                            Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <FooterTemplate>
                                                                        <asp:Label ID="StudentOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                    </FooterTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="TotalStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="TotalStudentLinkButton_Click"
                                                                            Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <FooterTemplate>
                                                                        <asp:Label ID="TotalStudentLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                    </FooterTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Present Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="PresentStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="PresentStudentLinkButton_Click"
                                                                            Text='<%#Bind("PresentStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <FooterTemplate>
                                                                        <asp:Label ID="TotalPresentStudentLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                    </FooterTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Absent Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="AbsentStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="AbsentStudentLinkButton_Click"
                                                                            Text='<%#Bind("AbsentStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <FooterTemplate>
                                                                        <asp:Label ID="TotalAbsentStudentLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                    </FooterTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="PendingStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="PendingStudentLinkButton_Click"
                                                                            Text='<%#Bind("AttnNotTakenClass")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <FooterTemplate>
                                                                        <asp:Label ID="TotalPendingStudentLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                    </FooterTemplate>
                                                                </asp:TemplateField>
                                                                <%--  <asp:TemplateField HeaderText="LessThen70%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="LessThen70Button" runat="server" CssClass="boxEllips" OnClick="LessThen70Button_Click"
                                                                            Text='<%#Bind("LessThen70")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="HundredPrecButton" runat="server" CssClass="boxEllips" OnClick="HundredPrecButton_Click"
                                                                            Text='<%#Bind("HundredPer")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Leave Req." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="LeaveRequestButton" runat="server" CssClass="boxEllips" OnClick="LeaveRequestButton_Click"
                                                                            Text='<%#Bind("LeaveRequest")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Absent > 3" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="Absent3Button" runat="server" CssClass="boxEllips" OnClick="Absent3Button_Click"
                                                                            Text='<%#Bind("AbsentCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>--%>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                    <asp:HiddenField ID="StudentAttendanceOrgGroupId" runat="server" />
                                                    <div id="Div37" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                        <asp:GridView ID="StudentAttendaceOrganizationGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Organization" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("OrgTitle")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Total Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgTotalStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="OrgTotalStudentLinkButton_Click"
                                                                            Text='<%#Bind("Total")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Present Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgPresentStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="OrgPresentStudentLinkButton_Click"
                                                                            Text='<%#Bind("PresentStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Absent Student" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgAbsentStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="OrgAbsentStudentLinkButton_Click"
                                                                            Text='<%#Bind("AbsentStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgPendingStudentLinkButton" runat="server" CssClass="boxEllips" OnClick="OrgPendingStudentLinkButton_Click"
                                                                            Text='<%#Bind("AttnNotTakenClass")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="LessThen70%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgLessThen70Button" runat="server" CssClass="boxEllips" OnClick="OrgLessThen70Button_Click"
                                                                            Text='<%#Bind("LessThen70")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgHundredPrecButton" runat="server" CssClass="boxEllips" OnClick="OrgHundredPrecButton_Click"
                                                                            Text='<%#Bind("HundredPer")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Leave Req." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgLeaveRequestButton" runat="server" CssClass="boxEllips" OnClick="OrgLeaveRequestButton_Click"
                                                                            Text='<%#Bind("LeaveRequest")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Absent > 3" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="OrgAbsent3Button" runat="server" CssClass="boxEllips" OnClick="OrgAbsent3Button_Click"
                                                                            Text='<%#Bind("AbsentCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                    <asp:HiddenField ID="StudentAttendanceTypeHiddenField" runat="server" />
                                                    <asp:HiddenField ID="StudentAttendanceOrgHiddenField" runat="server" />
                                                    <div id="Div71" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                        <asp:GridView ID="StudentClassAttendaceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgId,ClassId"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentOrganizationLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("OrgTitle")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("ClassCode")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="ClassTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="ClassTotalLinkButton_Click"
                                                                            Text='<%#Bind("TotalStudent")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Male" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="ClassMaleLinkButton" runat="server" CssClass="boxEllips" OnClick="ClassMaleLinkButton_Click"
                                                                            Text='<%#Bind("Male")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Female" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="ClassFemaleLinkButton" runat="server" CssClass="boxEllips" OnClick="ClassFeMaleLinkButton_Click"
                                                                            Text='<%#Bind("Female")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                    <div id="Div72" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                        <asp:GridView ID="StudentClassDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentCodeLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("StudentId")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                    <div id="Div73" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                        <asp:GridView ID="StudentAttendanceDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("DivisionCode")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentCodeLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("StudentId")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                    <div id="Div74" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                        <asp:GridView ID="StudentAttendaceClassTeacherGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                            CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("ClassCode")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Student Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentCountLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("StudentCount")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Class Teacher" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="ClassTeacherLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("ClassTeacher")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                            Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                        <input type="button" class="btn-update btn fas" onclick="StudentAttendanceChartHide(this);" title="Hide" value="Hide Graph" />
                                                    </div>
                                                    <div id="StudentAttendanceChartDiv" class="col-md-6 p-0">
                                                        <div class=" col-md-16 mlr14">
                                                            <div class='himsBoxContent' style="display: none">
                                                                <div class='table-responsive'>
                                                                    <table id='tblStudentAttendanceGraph' class='table table-striped table-bordered'>
                                                                    </table>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-12 pTop10" id="StudentAttendanceChartBar">
                                                                <canvas id="StudentAttendance-Chart-Bar"></canvas>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <asp:Panel ID="Panel11" runat="server">
                                                    <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="Label3" runat="server" Text="Student Attendance Detail"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <div id="Div39" class="himssuHeader6WireBox col-md-12" runat="server">
                                                    <div id="Div41" runat="server">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label17" runat="server" Text="From Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="StudentAttendanceFromDatePickerControl" runat="server" OnTextChanged="StudentAttendanceFromDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="Label18" runat="server" Text="To Date"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="StudentAttendanceToDatePickerControl" runat="server" OnTextChanged="StudentAttendanceToDatePickerControl_TextChanged" />
                                                            </div>
                                                        </div>
                                                        <div id="Div42" runat="server" class="table-responsive">
                                                            <asp:GridView ID="StudentAttendanceDateWiseGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="StudentAttendanceDateWiseGridView_RowDataBound"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="StudentAttendanceOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceOrgGroupLinkButton_Click"
                                                                                Text='<%#Bind("OrgGroupTitle")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="StudentAttendanceOrgGroupLabel" runat="server" Text="Total" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="LessThen70%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="StudentAttendanceLessThen70Button" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceLessThen70Button_Click"
                                                                                Text='<%#Bind("LessThen70")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TotalStudentAttendanceLessThen70Label" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="StudentAttendanceHundredPrecButton" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceHundredPrecButton_Click"
                                                                                Text='<%#Bind("HundredPer")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TotalStudentAttendanceHundredPrecLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Leave Req." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="StudentAttendanceLeaveRequestButton" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceLeaveRequestButton_Click"
                                                                                Text='<%#Bind("LeaveRequest")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TotalStudentAttendanceLeaveRequestLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Absent > 3" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="StudentAttendanceAbsent3Button" runat="server" CssClass="boxEllips" OnClick="StudentAttendanceAbsent3Button_Click"
                                                                                Text='<%#Bind("AbsentCount")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TotalStudentAttendanceAbsent3Label" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <asp:HiddenField ID="HiddenField1" runat="server" />
                                                        <div id="Div43" runat="server" class="table-responsive">
                                                            <asp:GridView ID="StudentAttendanceDateAndOrgWiseGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId,OrgId"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("OrgTitle")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                    <asp:TemplateField HeaderText="LessThen70%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="LessThenLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LessThen70")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="100%Att." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="AttLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("HundredPer")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Leave Req." ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrgLeaveRequestLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("LeaveRequest")%>'></asp:Label>

                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Absent > 3" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="AbsentLabel" runat="server" CssClass="boxEllips" Text='<%#Bind("AbsentCount")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div44" runat="server" class="table-responsive">
                                                            <asp:GridView ID="StudentAttendancePercentageGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StudentClassLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("DivisionCode")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StudentCodeLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("StudentId")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StudentNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("StudentName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="StudentContactLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("ContactNo")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>

                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                        <input type="button" class="btn-update btn fas" onclick="StudentAttendanceDetailChartHide(this);" title="Hide" value="Hide Graph" />
                                                    </div>
                                                    <div id="StudentAttendanceDetailChartDiv" class="col-md-6 p-0">
                                                        <div class=" col-md-16 mlr14">
                                                            <div class='himsBoxContent' style="display: none">
                                                                <div class='table-responsive'>
                                                                    <table id='tblStudentAttendanceDetailGraph' class='table table-striped table-bordered'>
                                                                    </table>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-12 pTop10" id="StudentAttendanceDetailChartBar">
                                                                <canvas id="StudentAttendanceDetail-Chart-Bar"></canvas>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="contentHolder" id="TaskDiv" runat="server">
                                                <asp:Panel ID="Panel8" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label13" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="TaskOrgGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="TaskOrgGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="TaskSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="TaskSyncButton_Click" />
                                                    </div>
                                                    <div id="Div75" class="himssuHeader6WireBox col-md-12" runat="server">
                                                        <asp:Panel ID="Panel7" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label11" runat="server" Text="Task Attendance"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div id="Div76" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label12" runat="server" Text="Upto Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="TaskUptoDatePickerControl" runat="server" OnTextChanged="TaskUptoDatePickerControl_TextChanged" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div id="Div77" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskAttendanceGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="TaskAttendanceGridView_RowDataBound"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrgGroupLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("OrgGroup")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="AttendanceOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Total" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskAttendanceTotalLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskAttendanceTotalLinkButton_Click"
                                                                                Text='<%#Bind("TotalAttendance")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TotalAttendanceLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskAttendancePendingLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskAttendancePendingLinkButton_Click"
                                                                                Text='<%#Bind("PendingAttendance")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TotalPendingAttendanceLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Done" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskAttendanceDoneLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskAttendanceDoneLinkButton_Click"
                                                                                Text='<%#Bind("ComplatedAttendance")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TotalCompletedAttendanceLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div78" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskAttendanceDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeCode")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Employee Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="EmployeeNameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeContact")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                            <input type="button" class="btn-update btn fas" onclick="TaskAttendanceChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="TaskAttendanceChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblTaskAttendanceGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="TaskAttendanceChartBar">
                                                                    <canvas id="TaskAttendance-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="TaskCWHWDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="false">
                                                        <asp:Panel ID="Panel9" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label14" runat="server" Text="Task CW/HW"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div id="Div80" runat="server">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label15" runat="server" Text="Upto Date"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="TaskClassworkUptoDateDatePickerControl" runat="server" OnTextChanged="TaskClassworkUptoDateDatePickerControl_TextChanged" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div id="Div81" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskCWGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="TaskCWGridView_RowDataBound"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrgGroupLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("OrgGroup")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TaskCWTotalLabel" runat="server" Text="Total" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Pending" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskCWPendingLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskCWPendingLinkButton_Click"
                                                                                Text='<%#Bind("ClassWorkNotAssigned")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TaskCWTotalPendingLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="CW Assign" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskCWAssignLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskCWAssignLinkButton_Click"
                                                                                Text='<%#Bind("ClassWorkAssigned")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TaskTotalCWAssignLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="CW N/A" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskCWNALinkButton" runat="server" CssClass="boxEllips" OnClick="TaskCWNALinkButton_Click"
                                                                                Text='<%#Bind("ClassWorkNotApplicable")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TaskTotalCWNALabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="HW Assign" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskHWAssignLinkButton" runat="server" CssClass="boxEllips" OnClick="TaskHWAssignLinkButton_Click"
                                                                                Text='<%#Bind("HomeWorkAssigned")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TaskTotalHWAssignLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="HW N/A" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="TaskHWNALinkButton" runat="server" CssClass="boxEllips" OnClick="TaskHWNALinkButton_Click"
                                                                                Text='<%#Bind("HomeWorkNotApplicable")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="TaskTotalHWNALabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div id="Div82" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="TaskCWDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("ClassDivision")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Id" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="IdLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeCode")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Subject" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="SubjectLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("SubjectName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Employee" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="EmployeeLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Contact" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ContactLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("EmployeeContact")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                            <input type="button" class="btn-update btn fas" onclick="TaskCWChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="TaskCWChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblTaskCWGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="TaskCWChartBar">
                                                                    <canvas id="TaskCW-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                            <div class="contentHolder" id="ResultDiv" runat="server">
                                                <asp:Panel ID="Panel2" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="ResultGroupBatchLabel" Text="Group Batch" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                        </div>
                                                        <div class="">
                                                            <asp:DropDownList ID="ResultGroupBatchDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="ResultGroupBatchDropDownList_SelectedIndexChanged"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <asp:Button ID="ResultSyncButton" runat="server" SkinID="0" CssClass="btn-update btn fas" Text=" Sync" OnClick="ResultSyncButton_Click" />
                                                    </div>
                                                    <div id="Div38" class="himssuHeader6WireBox" runat="server">
                                                        <asp:Panel ID="Panel10" runat="server">
                                                            <div class="himsBoxHeader card-head inner" style="padding-top: 0px">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText">
                                                                        <header>
                                                                            <asp:Label ID="Label16" runat="server" Text="Result Summary"></asp:Label>
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </asp:Panel>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="ExamTypeLabel" Text="Exam" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="">
                                                                <asp:DropDownList ID="ExamTypeDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="ExamTypeDropDownList_SelectedIndexChanged"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <asp:HiddenField ID="ResultSummaryOrgGroupHiddenField" runat="server" />
                                                        <div id="Div40" runat="server" class="table-responsive himssuHeader6WireBox col-md-12">
                                                            <asp:GridView ID="ResultSummaryGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false" DataKeyNames="OrgGroupId" OnRowDataBound="ResultSummaryGridView_RowDataBound"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found" ShowFooter="true">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="OrgGroup Name" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="ResultOrgGroupLinkButton" runat="server" CssClass="boxEllips" OnClick="ResultOrgGroupLinkButton_Click"
                                                                                Text='<%#Bind("OrgGroupName")%>' CommandName="Select" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="ResultOrgGroupLabel" runat="server" CssClass="boxEllips" Text="Total" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Pass Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ResultPassCountLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("PassStudentCount")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="ResultTotalPassCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Fail Count" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ResultFailCountLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("FailStudentCount")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="ResultTotalFailCountLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Pass Percentage" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ResultPassPercentageLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("PassStudentPercentage")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                        <FooterTemplate>
                                                                            <asp:Label ID="ResultTotalPassPercentageLabel" runat="server" CssClass="boxEllips" Font-Bold="true"></asp:Label>
                                                                        </FooterTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>

                                                        <div runat="server" class="table-responsive himssuHeader6WireBox col-md-12" id="BrightStudentDiv" visible="false">
                                                            <div class="outerBox pTop5 col-md-3">
                                                                <div class="">
                                                                    <asp:DropDownList ID="TopResultDropDownList" runat="server" onmouseleave="showHideTooltip()" OnSelectedIndexChanged="TopResultDropDownList_SelectedIndexChanged"
                                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="True">
                                                                        <asp:ListItem Text="Top One" Value="1"></asp:ListItem>
                                                                        <asp:ListItem Text="Top Three" Value="3"></asp:ListItem>
                                                                        <asp:ListItem Text="Top Five" Value="5"></asp:ListItem>
                                                                        <asp:ListItem Text="Top Ten" Value="10"></asp:ListItem>
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <asp:GridView ID="ResultSummaryDetailGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                CssClass="table table-striped table-bordered table-hover" Visible="false"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records found">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="OrganizationLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("OrgCode")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Class" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="ClassLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("Class")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Code" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="CodeLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("Code")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="NameLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("Name")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Rank" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="RankLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("rn")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Per%" ItemStyle-Width="3%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="PercentageLabel" runat="server" CssClass="boxEllips"
                                                                                Text='<%#Bind("Percentage")%>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-2 fRight" style="padding-left: 85px;">
                                                            <input type="button" class="btn-update btn fas" onclick="ResultChartHide(this);" title="Hide" value="Hide Graph" />
                                                        </div>
                                                        <div id="ResultChartDiv" class="col-md-6 p-0">
                                                            <div class=" col-md-16 mlr14">
                                                                <div class='himsBoxContent' style="display: none">
                                                                    <div class='table-responsive'>
                                                                        <table id='tblResultGraph' class='table table-striped table-bordered'>
                                                                        </table>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-12 pTop10" id="ResultChartBar">
                                                                    <canvas id="Result-Chart-Bar"></canvas>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                    </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/exception-log")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <script type="text/javascript" language="javascript">

        $(document).ready(function () {
            FASGraphDataGet();
        });

        var prm = Sys.WebForms.PageRequestManager.getInstance();
        prm.add_endRequest(function () {
            if ($("#ctl00_CP_FeeList").hasClass("active")) {
                FASGraphDataGet();
                FRDGraphDataGet();
                FeeCollectionGraphDataGet();
            }
            else if ($("#ctl00_CP_AdmissionList").hasClass("active")) {
                AFGraphDataGet();
                AdmissionInquiryChartDataGet();
            }
            else if ($("#ctl00_CP_StaffList").hasClass("active")) {
                StaffGraphDataGet();
                StaffDetailGraphDataGet();
            }
            else if ($("#ctl00_CP_StudentList").hasClass("active")) {
                StudentAttendanceGraphDataGet();
                StudentAttendanceDetailGraphDataGet();
            }
            else if ($("#ctl00_CP_ResultList").hasClass("active")) {
                ResultSummaryDataGet();
            }
            else if ($("#ctl00_CP_TaskList").hasClass("active")) {
                TaskAttendanceDataGet();
                TaskCWDataGet();
            }

        });

        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        function EndRequestHandler(sender, args) {
            if (args.get_error() != undefined) {
                args.set_errorHandled(true);
            }
        }

        function OpenExceptionLogDetails(obj) {
            var id = $(obj).parent().parent().parent().attr('id').split('_')[1];
            if ($('.Detail_' + id).css('display') == 'none') {
                $('.Detail_' + id).css('display', 'table-row');
            }
            else {
                $('.Detail_' + id).css('display', 'none');
            }
        }

        function tabPanelClicked() {
            var id = obj.parentNode.parentNode;
            document.getElementById('<%=SearchDetailPanel.ClientID%>').disabled = true;
        }

        //Fee Amount Status Chart

        function FASGraphDataGet() {

            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/FASGraphDataGet",
                //data: JSON.stringify({ "CommonOrgGroupBatchId": parseInt(CommonOrgGroupBatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblFeeAmountStatusGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblFeeAmountStatusGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblFeeAmountStatusGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblFeeAmountStatusGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblFeeAmountStatusGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblFeeAmountStatusGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblFeeAmountStatusGraph += "</tr>";
                        });
                    }
                    else { tblFeeAmountStatusGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblFeeAmountStatusGraph").innerHTML = tblFeeAmountStatusGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#A92123", "#347f05f7", "#cc65fe", "#196F3D"];
                    colcnt = $('#tblFeeAmountStatusGraph tr:first').find("th").length;
                    rowcnt = $('#tblFeeAmountStatusGraph tr').length;
                    $('#tblFeeAmountStatusGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#FAS-Chart-Bar').remove();
                    $('#FeeAmountStatusChartBar').append('<canvas id="FAS-Chart-Bar"></canvas>');

                    var ctx = $("#FAS-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Fee Amount Status Graph'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Amount'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function FASChartHide(obj) {
            $('#FeeAmountStatusChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Fee Receipt Count Chart

        function FRDGraphDataGet() {

            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/FRDGraphDataGet",
                // data: JSON.stringify({ "CommonOrgGroupBatchId": parseInt(CommonOrgGroupBatchId), "FromDate": FromDate, "ToDate": ToDate }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblFeeReceiptDetailGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblFeeReceiptDetailGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblFeeReceiptDetailGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblFeeReceiptDetailGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblFeeReceiptDetailGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblFeeReceiptDetailGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblFeeReceiptDetailGraph += "</tr>";
                        });
                    }
                    else { tblFeeReceiptDetailGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblFeeReceiptDetailGraph").innerHTML = tblFeeReceiptDetailGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D"];
                    colcnt = $('#tblFeeReceiptDetailGraph tr:first').find("th").length;
                    rowcnt = $('#tblFeeReceiptDetailGraph tr').length;
                    $('#tblFeeReceiptDetailGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#FRD-Chart-Bar').remove();
                    $('#FeeReceiptDetailChartBar').append('<canvas id="FRD-Chart-Bar"></canvas>');

                    var ctx = $("#FRD-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Fee Receipt Detail Graph'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Amount'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function FRDChartHide(obj) {
            $('#FeeReceiptDetailChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Admission Form Count Chart

        function AFGraphDataGet() {

            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/AFGraphDataGet",
                //data: JSON.stringify({ "CommonOrgGroupBatchId": parseInt(CommonOrgGroupBatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblAdmissionFormGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblAdmissionFormGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblAdmissionFormGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblAdmissionFormGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblAdmissionFormGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblAdmissionFormGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblAdmissionFormGraph += "</tr>";
                        });
                    }
                    else { tblAdmissionFormGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblAdmissionFormGraph").innerHTML = tblAdmissionFormGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D"];
                    colcnt = $('#tblAdmissionFormGraph tr:first').find("th").length;
                    rowcnt = $('#tblAdmissionFormGraph tr').length;
                    $('#tblAdmissionFormGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#AF-Chart-Bar').remove();
                    $('#AdmissionFormChartBar').append('<canvas id="AF-Chart-Bar"></canvas>');

                    var ctx = $("#AF-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Admission Form Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function AFChartHide(obj) {
            $('#AdmissionFormChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Staff Count Chart

        function StaffGraphDataGet() {

            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/StaffGraphDataGet",
                // data: JSON.stringify({ "CommonOrgGroupBatchId": parseInt(CommonOrgGroupBatchId), "UptoDate": UptoDate }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblStaffGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblStaffGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblStaffGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblStaffGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblStaffGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblStaffGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblStaffGraph += "</tr>";
                        });
                    }
                    else {
                        tblStaffGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>";
                    }

                    if (document.getElementById("tblStaffGraph") != null) {
                        document.getElementById("tblStaffGraph").innerHTML = tblStaffGraph;

                        var dataPoint = [];
                        var lables = [];
                        var chartdata = [];
                        var dataPoint1 = [];
                        var lables1 = [];
                        var chartdata1 = [];
                        var lbl = [];
                        var locationlbl = [];
                        var colcnt = 0, rowcnt = 0;
                        var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D"];
                        colcnt = $('#tblStaffGraph tr:first').find("th").length;
                        rowcnt = $('#tblStaffGraph tr').length;
                        $('#tblStaffGraph tbody tr').each(function (index) {
                            $(this).find('th,td').each(function (index2) {
                                if ($(this).is('th')) {
                                    if (index2 != 0 && index2 != colcnt) {
                                        lables.push(this.innerHTML);
                                    }
                                } else if ($(this).is('td')) {
                                    if (index2 != 0) {
                                        dataPoint.push(this.innerHTML);
                                    } else if (index2 == 0) {
                                        locationlbl.push(this.innerText);
                                    }
                                }
                            });
                            if (lables.length > 0 && dataPoint.length > 0) {
                                chartdata.push({
                                    label: locationlbl,
                                    fill: false,
                                    backgroundColor: chartcolor[index],
                                    borderColor: chartcolor[index],
                                    data: dataPoint
                                });
                                dataPoint = [];
                                locationlbl = [];
                            }
                        });
                        var data = {
                            labels: lables,
                            datasets: chartdata
                        };
                        $('#Staff-Chart-Bar').remove();
                        $('#StaffChartBar').append('<canvas id="Staff-Chart-Bar"></canvas>');

                        var ctx = $("#Staff-Chart-Bar").get(0).getContext('2d');
                        var opt = {
                            responsive: true,

                            title: {
                                display: true,
                                text: 'Staff Attendance Summary'
                            },
                            tooltips: {
                                mode: 'index',
                                intersect: false,
                            },
                            hover: {
                                mode: 'nearest',
                                intersect: true
                            },
                            scales: {
                                xAxes: [{
                                    offset: true,
                                    display: true,
                                    scaleLabel: {
                                        display: true,
                                        labelString: 'OrgGroup'
                                    },
                                    ticks: {
                                        beginAtZero: true,
                                    },
                                }],
                                yAxes: [{
                                    display: true,
                                    scaleLabel: {
                                        display: true,
                                        labelString: 'Count'
                                    }
                                }]
                            }
                        };
                        var myNewChart5 = new Chart(ctx, {
                            type: "bar",
                            data: data,
                            options: opt,
                        });
                    }
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function StaffChartHide(obj) {
            $('#StaffChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Staff Detail Count Chart

        function StaffDetailGraphDataGet() {

            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/StaffDetailGraphDataGet",
                // data: JSON.stringify({ "CommonOrgGroupBatchId": parseInt(CommonOrgGroupBatchId), "FromDate": FromDate, "ToDate": ToDate }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblStaffDetailGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblStaffDetailGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblStaffDetailGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblStaffDetailGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblStaffDetailGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblStaffDetailGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblStaffDetailGraph += "</tr>";
                        });
                    }
                    else { tblStaffDetailGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblStaffDetailGraph").innerHTML = tblStaffDetailGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D"];
                    colcnt = $('#tblStaffDetailGraph tr:first').find("th").length;
                    rowcnt = $('#tblStaffDetailGraph tr').length;
                    $('#tblStaffDetailGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#StaffDetail-Chart-Bar').remove();
                    $('#StaffDetailChartBar').append('<canvas id="StaffDetail-Chart-Bar"></canvas>');

                    var ctx = $("#StaffDetail-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'StaffDetail Attendance Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function StaffDetailChartHide(obj) {
            $('#StaffDetailChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Student Attendance Chart

        function StudentAttendanceGraphDataGet() {

            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/StudentAttendanceGraphDataGet",
                //data: JSON.stringify({ "CommonOrgGroupBatchId": parseInt(CommonOrgGroupBatchId), "UptoDate": UptoDate }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblStudentAttendanceGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblStudentAttendanceGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblStudentAttendanceGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblStudentAttendanceGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblStudentAttendanceGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblStudentAttendanceGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblStudentAttendanceGraph += "</tr>";
                        });
                    }
                    else { tblStudentAttendanceGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblStudentAttendanceGraph").innerHTML = tblStudentAttendanceGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D"];
                    colcnt = $('#tblStudentAttendanceGraph tr:first').find("th").length;
                    rowcnt = $('#tblStudentAttendanceGraph tr').length;
                    $('#tblStudentAttendanceGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#StudentAttendance-Chart-Bar').remove();
                    $('#StudentAttendanceChartBar').append('<canvas id="StudentAttendance-Chart-Bar"></canvas>');

                    var ctx = $("#StudentAttendance-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Student Attendance Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function StudentAttendanceChartHide(obj) {
            $('#StudentAttendanceChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Student Attendance Detail Chart

        function StudentAttendanceDetailGraphDataGet() {

            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/StudentAttendanceDetailGraphDataGet",
                // data: JSON.stringify({ "CommonOrgGroupBatchId": parseInt(CommonOrgGroupBatchId), "FromDate": FromDate, "ToDate": ToDate }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblStudentAttendanceDetailGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblStudentAttendanceDetailGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblStudentAttendanceDetailGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblStudentAttendanceDetailGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblStudentAttendanceDetailGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblStudentAttendanceDetailGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblStudentAttendanceDetailGraph += "</tr>";
                        });
                    }
                    else { tblStudentAttendanceDetailGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblStudentAttendanceDetailGraph").innerHTML = tblStudentAttendanceDetailGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D"];
                    colcnt = $('#tblStudentAttendanceDetailGraph tr:first').find("th").length;
                    rowcnt = $('#tblStudentAttendanceDetailGraph tr').length;
                    $('#tblStudentAttendanceDetailGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#StudentAttendanceDetail-Chart-Bar').remove();
                    $('#StudentAttendanceDetailChartBar').append('<canvas id="StudentAttendanceDetail-Chart-Bar"></canvas>');

                    var ctx = $("#StudentAttendanceDetail-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Student Attendance Detail Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function StudentAttendanceDetailChartHide(obj) {
            $('#StudentAttendanceDetailChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Fee Collection Chart

        function FeeCollectionGraphDataGet() {
            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/FeeCollectionGraphDataGet",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblFeeCollectionGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblFeeCollectionGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblFeeCollectionGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblFeeCollectionGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblFeeCollectionGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblFeeCollectionGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblFeeCollectionGraph += "</tr>";
                        });
                    }
                    else { tblFeeCollectionGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblFeeCollectionGraph").innerHTML = tblFeeCollectionGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D", "#5499C7", "#E67E22",
                                  "#27AE60", "#F08080", "#996633", "#0000cc", "#FFA07A", "#16A085", "#512E5F", "#7D6608", "#1B4F72", "#008080",
                                  "#FF00FF", "#01DF01", "#ff0000", "#00ffff", "#cc6699", "#cccc00", "#993300", "#333399", "#ff99ff", "#006600", "#ffff00",
                                "#003366", "#00ccff", "#ff9900", "#cc0066", "#ccccff", "#660066", "#000000", "#36A2EB"];
                    colcnt = $('#tblFeeCollectionGraph tr:first').find("th").length;
                    rowcnt = $('#tblFeeCollectionGraph tr').length;
                    $('#tblFeeCollectionGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#FeeCollection-Chart-Bar').remove();
                    $('#FeeCollectionChartBar').append('<canvas id="FeeCollection-Chart-Bar"></canvas>');

                    var ctx = $("#FeeCollection-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Fee Collection Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function FeeCollectionChartHide(obj) {
            $('#FeeCollectionChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Admission Inquiry Chart

        function AdmissionInquiryChartDataGet() {
            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/AdmissionInquiryGraphDataGet",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblAdmissionInquiryGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblAdmissionInquiryGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblAdmissionInquiryGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblAdmissionInquiryGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblAdmissionInquiryGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblAdmissionInquiryGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblAdmissionInquiryGraph += "</tr>";
                        });
                    }
                    else { tblAdmissionInquiryGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblAdmissionInquiryGraph").innerHTML = tblAdmissionInquiryGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D", "#5499C7", "#E67E22",
                                  "#27AE60", "#F08080", "#996633", "#0000cc", "#FFA07A", "#16A085", "#512E5F", "#7D6608", "#1B4F72", "#008080",
                                  "#FF00FF", "#01DF01", "#ff0000", "#00ffff", "#cc6699", "#cccc00", "#993300", "#333399", "#ff99ff", "#006600", "#ffff00",
                                "#003366", "#00ccff", "#ff9900", "#cc0066", "#ccccff", "#660066", "#000000", "#36A2EB"];
                    colcnt = $('#tblAdmissionInquiryGraph tr:first').find("th").length;
                    rowcnt = $('#tblAdmissionInquiryGraph tr').length;
                    $('#tblAdmissionInquiryGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#AI-Chart-Bar').remove();
                    $('#AdmissionInquiryChartBar').append('<canvas id="AI-Chart-Bar"></canvas>');

                    var ctx = $("#AI-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Admission Inquiry Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function AIChartHide(obj) {
            $('#AdmissionInquiryChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Result Summary Chart

        function ResultSummaryDataGet() {
            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/ResultSummaryDataGet",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblResultGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblResultGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblResultGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblResultGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblResultGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblResultGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblResultGraph += "</tr>";
                        });
                    }
                    else { tblResultGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblResultGraph").innerHTML = tblResultGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D", "#5499C7", "#E67E22",
                                  "#27AE60", "#F08080", "#996633", "#0000cc", "#FFA07A", "#16A085", "#512E5F", "#7D6608", "#1B4F72", "#008080",
                                  "#FF00FF", "#01DF01", "#ff0000", "#00ffff", "#cc6699", "#cccc00", "#993300", "#333399", "#ff99ff", "#006600", "#ffff00",
                                "#003366", "#00ccff", "#ff9900", "#cc0066", "#ccccff", "#660066", "#000000", "#36A2EB"];
                    colcnt = $('#tblResultGraph tr:first').find("th").length;
                    rowcnt = $('#tblResultGraph tr').length;
                    $('#tblResultGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#Result-Chart-Bar').remove();
                    $('#ResultChartBar').append('<canvas id="Result-Chart-Bar"></canvas>');

                    var ctx = $("#Result-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Result Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function ResultChartHide(obj) {
            $('#ResultChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Task Attendance Chart

        function TaskAttendanceDataGet() {
            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/TaskAttendanceDataGet",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblTaskAttendanceGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblTaskAttendanceGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblTaskAttendanceGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblTaskAttendanceGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblTaskAttendanceGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblTaskAttendanceGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblTaskAttendanceGraph += "</tr>";
                        });
                    }
                    else { tblTaskAttendanceGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblTaskAttendanceGraph").innerHTML = tblTaskAttendanceGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D", "#5499C7", "#E67E22",
                                  "#27AE60", "#F08080", "#996633", "#0000cc", "#FFA07A", "#16A085", "#512E5F", "#7D6608", "#1B4F72", "#008080",
                                  "#FF00FF", "#01DF01", "#ff0000", "#00ffff", "#cc6699", "#cccc00", "#993300", "#333399", "#ff99ff", "#006600", "#ffff00",
                                "#003366", "#00ccff", "#ff9900", "#cc0066", "#ccccff", "#660066", "#000000", "#36A2EB"];
                    colcnt = $('#tblTaskAttendanceGraph tr:first').find("th").length;
                    rowcnt = $('#tblTaskAttendanceGraph tr').length;
                    $('#tblTaskAttendanceGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#TaskAttendance-Chart-Bar').remove();
                    $('#TaskAttendanceChartBar').append('<canvas id="TaskAttendance-Chart-Bar"></canvas>');

                    var ctx = $("#TaskAttendance-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Task Attendance Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function TaskAttendanceChartHide(obj) {
            $('#TaskAttendanceChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }

        //Task CW/HW Chart
        function TaskCWDataGet() {
            $.ajax({
                type: "POST",
                url: "EISConsolidateDashboard.aspx/TaskCWDataGet",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    var tblTaskCWGraph = "";

                    if (obj != "") {
                        var columnsIn = obj[0];
                        var newObj = {};
                        tblTaskCWGraph += "<tr>";
                        for (var key in columnsIn) {
                            tblTaskCWGraph += "<th>" + columnsIn[key].key + "</th>";
                        }
                        tblTaskCWGraph += "</tr>";

                        $.each(obj, function (i, item) {

                            tblTaskCWGraph += "<tr>";
                            for (var key in item) {
                                if (item[key] !== "null" && item[key] !== undefined && item[key] !== null) {

                                    tblTaskCWGraph += "<td>" + item[key].value + "</a></td>";
                                }
                            }
                            tblTaskCWGraph += "</tr>";
                        });
                    }
                    else { tblTaskCWGraph += "<tr><td colspan='8' class='record'>No records found..!!</td></tr>"; }
                    document.getElementById("tblTaskCWGraph").innerHTML = tblTaskCWGraph;

                    var dataPoint = [];
                    var lables = [];
                    var chartdata = [];
                    var dataPoint1 = [];
                    var lables1 = [];
                    var chartdata1 = [];
                    var lbl = [];
                    var locationlbl = [];
                    var colcnt = 0, rowcnt = 0;
                    var chartcolor = [window.chartColors.red, "#0f68a9", "#347f05f7", "#A92123", "#cc65fe", "#196F3D", "#5499C7", "#E67E22",
                                  "#27AE60", "#F08080", "#996633", "#0000cc", "#FFA07A", "#16A085", "#512E5F", "#7D6608", "#1B4F72", "#008080",
                                  "#FF00FF", "#01DF01", "#ff0000", "#00ffff", "#cc6699", "#cccc00", "#993300", "#333399", "#ff99ff", "#006600", "#ffff00",
                                "#003366", "#00ccff", "#ff9900", "#cc0066", "#ccccff", "#660066", "#000000", "#36A2EB"];
                    colcnt = $('#tblTaskCWGraph tr:first').find("th").length;
                    rowcnt = $('#tblTaskCWGraph tr').length;
                    $('#tblTaskCWGraph tbody tr').each(function (index) {
                        $(this).find('th,td').each(function (index2) {
                            if ($(this).is('th')) {
                                if (index2 != 0 && index2 != colcnt) {
                                    lables.push(this.innerHTML);
                                }
                            } else if ($(this).is('td')) {
                                if (index2 != 0) {
                                    dataPoint.push(this.innerHTML);
                                } else if (index2 == 0) {
                                    locationlbl.push(this.innerText);
                                }
                            }
                        });
                        if (lables.length > 0 && dataPoint.length > 0) {
                            chartdata.push({
                                label: locationlbl,
                                fill: false,
                                backgroundColor: chartcolor[index],
                                borderColor: chartcolor[index],
                                data: dataPoint
                            });
                            dataPoint = [];
                            locationlbl = [];
                        }
                    });
                    var data = {
                        labels: lables,
                        datasets: chartdata
                    };
                    $('#TaskCW-Chart-Bar').remove();
                    $('#TaskCWChartBar').append('<canvas id="TaskCW-Chart-Bar"></canvas>');

                    var ctx = $("#TaskCW-Chart-Bar").get(0).getContext('2d');
                    var opt = {
                        responsive: true,

                        title: {
                            display: true,
                            text: 'Task CW/HW Summary'
                        },
                        tooltips: {
                            mode: 'index',
                            intersect: false,
                        },
                        hover: {
                            mode: 'nearest',
                            intersect: true
                        },
                        scales: {
                            xAxes: [{
                                offset: true,
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'OrgGroup'
                                },
                                ticks: {
                                    beginAtZero: true,
                                },
                            }],
                            yAxes: [{
                                display: true,
                                scaleLabel: {
                                    display: true,
                                    labelString: 'Count'
                                }
                            }]
                        }
                    };
                    var myNewChart5 = new Chart(ctx, {
                        type: "bar",
                        data: data,
                        options: opt,
                    });
                },
                error: function (xhr, status, error) {
                    var err = eval("(" + xhr.responseText + ")");
                    console.log(err.Message);
                }
            });
        }

        function TaskCWChartHide(obj) {
            $('#TaskCWChartBar').toggle();
            if (obj.value == "Hide Graph") {
                obj.value = "Show Graph"
            }
            else {
                obj.value = "Hide Graph"
            }
        }
    </script>

</asp:Content>
