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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <script>
        var Id;
        var Group;
        var BatchId;
        var mySessionVar;
        var R;
        var RR;
        var idList = [];
        var idCount = 0;
        var NewBatchId;

        $(document).ready(function () {
            //var myurl = window.location.href;
            //var keyval = myurl.split('?')[1].split('&');
            //Id = parseInt(keyval[0].split('=')[1].toString());
            //Group = keyval[0].split('=')[0].toString();
            //BatchId = 0;
            idList = JSON.parse(sessionStorage.getItem("idList"));
            idCount = sessionStorage.getItem("idCount");
            sessionStorage.setItem('idList', JSON.stringify(idList));
            console
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/GetBatch",
               // data: JSON.stringify({ "Id": Id, "Group": Group }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    $("#drpBatch").val(0);
                    BatchId = obj[0].BatchId;
                    console.log(BatchId);
                    mySessionVar = sessionStorage.getItem("BatchIDD");
                    //alert(mySessionVar);

                    $("#drpBatch").html(result.d);
                    // alert(result.d);
                    if (mySessionVar == null || mySessionVar == "" || mySessionVar == undefined) {
                        BatchId = $("#drpBatch").val();
                        // alert('1111'+BatchId);
                    }
                    else {
                        $("#drpBatch").val(mySessionVar);
                        BatchId = mySessionVar;
                        //sessionStorage.removeItem("BatchIDD");
                    }
                }

            });


            var ij = 0;
            ij = 1;
            if (ij == 0) {
                $("#pills-1-tab").addClass('nav-link active');
                $("#pills-1").addClass('tab-pane active');
                $("#pills-2-tab").addClass('nav-link');
                $("#pills-2").addClass('tab-pane');

                $("#pills-5-tab").addClass('nav-link active');
                $("#pills-5").addClass('tab-pane active');
                $("#pills-6-tab").addClass('nav-link');
                $("#pills-6").addClass('tab-pane');

                $("#pills-9-tab").addClass('nav-link active');
                $("#pills-9").addClass('tab-pane active');
                $("#pills-10-tab").addClass('nav-link');
                $("#pills-10").addClass('tab-pane');

                $("#pills-13-tab").addClass('nav-link active');
                $("#pills-13").addClass('tab-pane active');
                $("#pills-14-tab").addClass('nav-link');
                $("#pills-14").addClass('tab-pane');

                $("#pills-17-tab").addClass('nav-link active');
                $("#pills-17").addClass('tab-pane active');
                $("#pills-18-tab").addClass('nav-link');
                $("#pills-18").addClass('tab-pane');

                $("#pills-21-tab").addClass('nav-link active');
                $("#pills-21").addClass('tab-pane active');
                $("#pills-22-tab").addClass('nav-link');
                $("#pills-22").addClass('tab-pane');

                $("#pills-25-tab").addClass('nav-link active');
                $("#pills-25").addClass('tab-pane active');
                $("#pills-26-tab").addClass('nav-link');
                $("#pills-26").addClass('tab-pane');


                $("#pills-29-tab").addClass('nav-link active');
                $("#pills-29").addClass('tab-pane active');
                $("#pills-30-tab").addClass('nav-link');
                $("#pills-30").addClass('tab-pane');


            }
            else {
                $("#pills-1-tab").addClass('nav-link');
                $("#pills-1").addClass('tab-pane');
                $("#pills-2-tab").addClass('nav-link active');
                $("#pills-2").addClass('tab-pane active');

                $("#pills-5-tab").addClass('nav-link');
                $("#pills-5").addClass('tab-pane');
                $("#pills-6-tab").addClass('nav-link active');
                $("#pills-6").addClass('tab-pane active');

                $("#pills-9-tab").addClass('nav-link');
                $("#pills-9").addClass('tab-pane');
                $("#pills-10-tab").addClass('nav-link active');
                $("#pills-10").addClass('tab-pane active');

                $("#pills-13-tab").addClass('nav-link');
                $("#pills-13").addClass('tab-pane');
                $("#pills-14-tab").addClass('nav-link active');
                $("#pills-14").addClass('tab-pane active');


                $("#pills-17-tab").addClass('nav-link');
                $("#pills-17").addClass('tab-pane');
                $("#pills-18-tab").addClass('nav-link active');
                $("#pills-18").addClass('tab-pane active');

                $("#pills-21-tab").addClass('nav-link');
                $("#pills-21").addClass('tab-pane');
                $("#pills-22-tab").addClass('nav-link active');
                $("#pills-22").addClass('tab-pane active');

                $("#pills-25-tab").addClass('nav-link');
                $("#pills-25").addClass('tab-pane');
                $("#pills-26-tab").addClass('nav-link active');
                $("#pills-26").addClass('tab-pane active');

                $("#pills-29-tab").addClass('nav-link');
                $("#pills-29").addClass('tab-pane');
                $("#pills-30-tab").addClass('nav-link active');
                $("#pills-30").addClass('tab-pane active');


            }

            if (idList == undefined || idList.length == 0) {
                NextOrgFunction1();
            }

            GetOrgId();
            StudentDataBind();
            AssignPermission();

        });

        function AssignPermission() {
            $.ajax({
                type: "POST",
                url: "MobileDashBoard2.aspx/AssignPermission",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    console.log(result.d);
                    var OrgGroupId = "";
                    $.each(obj, function (i, item) {
                        if (item.TaskId == 30421 && item.IsRead == true) {
                            document.getElementById("StudentBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30422 && item.IsRead == true) {
                            document.getElementById("EmployeeBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30423 && item.IsRead == true) {
                            document.getElementById("UserBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30424 && item.IsRead == true) {
                            document.getElementById("TransportBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30425 && item.IsRead == true) {
                            document.getElementById("AdmissionInquiryBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30426 && item.IsRead == true) {
                            document.getElementById("AdmissionFormBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30427 && item.IsRead == true) {
                            document.getElementById("SMSBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30428 && item.IsRead == true) {
                            document.getElementById("CircularBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30429 && item.IsRead == true) {
                            document.getElementById("FeeCollectionBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30430 && item.IsRead == true) {
                            document.getElementById("FeePendingBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30431 && item.IsRead == true) {
                            document.getElementById("StudentPresenceBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30432 && item.IsRead == true) {
                            document.getElementById("EmployeePresenceBlog").style.display = "block";
                        }
                        else if (item.TaskId == 30433 && item.IsRead == true) {
                            document.getElementById("EmployeeLeavePendingBlog").style.display = "block";
                        }
                    });
                    //document.getElementById("MisDashBoard").innerHTML = OrgGroupId;
                }
            });
        }

        function BatchFunction() {
            BatchId = $("#drpBatch").val();
            // console.log(BatchId);

            sessionStorage.setItem('BatchIDD', BatchId);
            // alert("BatchIDD = " + sessionStorage.getItem("BatchIDD"));
            $("#drpBatch").val(BatchId);
          <%--  
            $("#drpBatch").val(mySessionVar);
            alert(mySessionVar);
            '<%Session["BatchId1"] = "' + mySessionVar + '"; %>';
            alert('Assign' + '<%=Session["BatchId1"]%>');--%>
            StudentDataBind();
        }



        function GetOrgId() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/GetOrgId",
               // data: JSON.stringify({ "Id": Id, "Group": Group }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    Id = obj[0].Id;
                   
                    Group = "OrgId";
                    if (Group == "OrgId") {
                        var Header = "<h3 class='page-title text-muted'><a href ='../MobileView/MobileDashBoard1.aspx'>Dashboard</a>" +
                        "</h3><div class='cBoth'></div><h5 class='page-title'>" + obj[0].Title + "</h5>";
                        $("#btnMIS").hide();
                    }
                   document.getElementById("HeaderTitle").innerHTML = Header;
                }
            });
        }
        function StudentDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/StudentDataBind",
               // data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(BatchId);
                    //alert(obj[0].StudentCount);
                    document.getElementById("StudentNo").innerHTML = obj[0].StudentCount;
                    EmployeeDataBind();
                }
            });
        }
        function EmployeeDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/EmployeeDataBind",
               // data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {

                    var obj = (result.d);
                    // alert(obj[0].EmployeeCount);
                    document.getElementById("EmployeeNO").innerHTML = obj[0].EmployeeCount;
                    UserCountDataBind();
                }
            });
        }
        function UserCountDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/UserCountDataBind",
                //data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].UserCount);
                    document.getElementById("UserCount").innerHTML = obj[0].UserCount;
                    TransportCountDataBind();
                }
            });
        }
        function TransportCountDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/TransportCountDataBind",
                //data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(BatchId);
                    //alert(obj[0].TransportStudentCount);
                    document.getElementById("TransportCount").innerHTML = obj[0].TransportStudentCount;
                    InquiryCountDataBind();
                }
            });
        }
        function InquiryCountDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/InquiryCountDataBind",
               // data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyCount);
                    //alert(obj[0].WeeklyCount);
                    //alert(obj[0].MonthlyCount);
                    //alert(obj[0].TransportStudentCount);
                    document.getElementById("AdmissionInquiryYesterdaycount").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("DailyCount").innerHTML = obj[0].DailyCount;
                    document.getElementById("WeeklyCount").innerHTML = obj[0].WeeklyCount;
                    document.getElementById("MonthlyCount").innerHTML = obj[0].MonthlyCount;
                    AddmissonCountDataBind();
                }
            });
        }
        function AddmissonCountDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/AddmissonCountDataBind",
               // data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyCount);
                    //alert(obj[0].WeeklyCount);
                    //alert(obj[0].MonthlyCount);
                    //alert(obj[0].TransportStudentCount);
                    document.getElementById("AdmissionYesterdaycount").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("AdmissionDailyCount").innerHTML = obj[0].DailyCount;
                    document.getElementById("AdmissionWeeklyCount").innerHTML = obj[0].WeeklyCount;
                    document.getElementById("AdmissionMonthlyCount").innerHTML = obj[0].MonthlyCount;
                    SMSCountDataBind();
                }
            });
        }
        function SMSCountDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/SMSCountDataBind",
               // data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyCount);
                    //alert(obj[0].WeeklyCount);
                    //alert(obj[0].MonthlyCount);
                    //alert(obj[0].TransportStudentCount);
                    document.getElementById("SMSYesterdaycount").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("SMSDailyCount").innerHTML = obj[0].DailyCount;
                    document.getElementById("SMSWeeklyCount").innerHTML = obj[0].WeeklyCount;
                    document.getElementById("SMSMonthlyCount").innerHTML = obj[0].MonthlyCount;
                    CircularCountDataBind();
                }
            });
        }
        function CircularCountDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/CircularCountDataBind",
                //data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyCount);
                    //alert(obj[0].WeeklyCount);
                    //alert(obj[0].MonthlyCount);
                    //alert(obj[0].TransportStudentCount);

                    document.getElementById("CircularYesterday").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("CircularDailyCount").innerHTML = obj[0].DailyCount;
                    document.getElementById("CircularWeeklyCount").innerHTML = obj[0].WeeklyCount;
                    document.getElementById("CircularMonthlyCount").innerHTML = obj[0].MonthlyCount;
                    FeeCollectionDataBind();
                }
            });
        }
        function FeeCollectionDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/FeeCollectionDataBind",
                //data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyAmount);
                    //alert(obj[0].WeeklyAmount);
                    //alert(obj[0].MonthlyAmount);
                    //alert(obj[0].TransportStudentCount);
                    document.getElementById("FeeCollectionYesterday").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("FeeCollectionDailyCount").innerHTML = obj[0].DailyAmount;
                    document.getElementById("FeeCollectionWeeklyCount").innerHTML = obj[0].WeeklyAmount;
                    document.getElementById("FeeCollectionMonthlyCount").innerHTML = obj[0].MonthlyAmount;
                    FeePendingDataBind();
                }
            });
        }
        function FeePendingDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/FeePendingDataBind",
                //data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].PendingAmount);
                    document.getElementById("FeePending").innerHTML = obj[0].PendingAmount;
                    StudentPresenceDataBind();
                }
            });
        }
        function StudentPresenceDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/StudentPresenceDataBind",
               // data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyAverage);
                    // alert(obj[0].WeeklyAverage);
                    // alert(obj[0].MonthlyAverage);
                    //alert(obj[0].TransportStudentCount);
                    document.getElementById("StudentPresenceYesterdayAverage").innerHTML = obj[0].YesterdayAverage + "%";
                    document.getElementById("StudentPresenceYesterdayCount").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("StudentPresenceDailyAverage").innerHTML = obj[0].DailyAverage + "%";
                    document.getElementById("StudentPresenceDailyCount").innerHTML = obj[0].DailyCount;
                    document.getElementById("StudentPresenceWeeklyAverage").innerHTML = obj[0].WeeklyAverage + "%";
                    document.getElementById("StudentPresenceWeeklyCount").innerHTML = obj[0].WeeklyCount;
                    document.getElementById("StudentPresenceMonthlyAverage").innerHTML = obj[0].MonthlyAverage + "%";
                    document.getElementById("StudentPresenceMonthlyCount").innerHTML = obj[0].MonthlyCount;
                    EmployeePresenceDataBind();
                }
            });
        }
        function EmployeePresenceDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/EmployeePresenceDataBind",
                //data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyAverage);
                    //alert(obj[0].WeeklyAverage);
                    //alert(obj[0].MonthlyAverage);
                    //alert(obj[0].TransportStudentCount);
                    if (obj[0].DailyAverage === null || obj[0].DailyAverage === undefined)
                    { obj[0].DailyAverage = 0; }
                    document.getElementById("EmployeePresenceYesterdayCount").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("EmployeePresenceYesterdayAverage").innerHTML = obj[0].YesterdayAverage + "%";
                    document.getElementById("EmployeePresenceDailyCount").innerHTML = obj[0].DailyCount;
                    document.getElementById("EmployeePresenceDailyAverage").innerHTML = obj[0].DailyAverage + "%";
                    document.getElementById("EmployeePresenceWeeklyCount").innerHTML = obj[0].WeeklyCount;
                    document.getElementById("EmployeePresenceWeeklyAverage").innerHTML = obj[0].WeeklyAverage + "%";
                    document.getElementById("EmployeePresenceMonthlyCount").innerHTML = obj[0].MonthlyCount;
                    document.getElementById("EmployeePresenceMonthlyAverage").innerHTML = obj[0].MonthlyAverage + "%";
                    EmployeePendingLeaveDataBind();
                }
            });
        }
        function EmployeePendingLeaveDataBind() {
            $.ajax({
                type: "POST",
                url: "Dashlet.aspx/EmployeePendingLeaveDataBind",
                //data: JSON.stringify({ "Id": Id, "Group": Group, "BatchId": parseInt(BatchId) }),
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (result) {
                    var obj = (result.d);
                    //alert(obj[0].DailyCount);
                    //alert(obj[0].WeeklyCount);
                    //alert(obj[0].MonthlyCount);
                    //alert(obj[0].TransportStudentCount);
                    document.getElementById("EmployeePendingYesterday").innerHTML = obj[0].YesterdayCount;
                    document.getElementById("EmployeePendingDailyCount").innerHTML = obj[0].DailyCount;
                    document.getElementById("EmployeePendingWeeklyCount").innerHTML = obj[0].WeeklyCount;
                    document.getElementById("EmployeePendingMonthlyCount").innerHTML = obj[0].MonthlyCount;
                }
            });
        }

        function NoOfStudentFunction() {
            window.location.href = "../MobileView/NoOfStudent.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId;
        }
        function NoOfEmployeeFunction() {
            window.location.href = "../MobileView/NoOfEmployee.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId;
        }
        function NoOfUserFunction() {
            window.location.href = "../MobileView/NoOfUserCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId;
        }
        function NoOfTransportFunction() {
            window.location.href = "../MobileView/NoOfTransport.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId;
        }
        function NoOfInquiryCountFunction(id) {
            if (id == 1) {
                window.location.href = "../MobileView/NoOfInquiryCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=-1";
            }
            else if (id == 2) {
                window.location.href = "../MobileView/NoOfInquiryCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=1";
            }
            else if (id == 3) {
                window.location.href = "../MobileView/NoOfInquiryCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=7";
            }
            else if (id == 4) {
                window.location.href = "../MobileView/NoOfInquiryCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=30";
            }
            else {
                alert('Record Not Found');
            }
        }
        function AdmissionCountFunction(id) {
            if (id == 1) {
                window.location.href = "../MobileView/NoOfAddmissonCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=-1";
            }
            else if (id == 2) {
                window.location.href = "../MobileView/NoOfAddmissonCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=1";
            }
            else if (id == 3) {
                window.location.href = "../MobileView/NoOfAddmissonCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=7";
            }
            else if (id == 4) {
                window.location.href = "../MobileView/NoOfAddmissonCount.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=30";
            }
            else {
                alert('Record Not Found');
            }
        }
        function SMSCountFunction(id) {
            if (id == 1) {
                window.location.href = "../MobileView/NoOfSMSCount.aspx?Id=" + Id + "&Group=" + Group + "&Count=-1";
            }
            else if (id == 2) {
                window.location.href = "../MobileView/NoOfSMSCount.aspx?Id=" + Id + "&Group=" + Group + "&Count=1";
            }
            else if (id == 3) {
                window.location.href = "../MobileView/NoOfSMSCount.aspx?Id=" + Id + "&Group=" + Group + "&Count=7";
            }
            else if (id == 4) {
                window.location.href = "../MobileView/NoOfSMSCount.aspx?Id=" + Id + "&Group=" + Group + "&Count=30";
            }
            else {
                alert('Record Not Found');
            }
        }
        function FeeCollectionFunction(id) {
            if (id == 1) {
                window.location.href = "../MobileView/FeeCollection.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=-1";
            }
            else if (id == 2) {
                window.location.href = "../MobileView/FeeCollection.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=1";
            }
            else if (id == 3) {
                window.location.href = "../MobileView/FeeCollection.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=7";
            }
            else if (id == 4) {
                window.location.href = "../MobileView/FeeCollection.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=30";
            }
            else {
                alert('Record Not Found');
            }
        }
        function FeePendingFunction() {
            window.location.href = "../MobileView/FeePending.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId;
        }
        function StudentPresenceFunction(id) {
            if (id == 1) {
                window.location.href = "../MobileView/NoOfStudentPresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=-1";
            }
            else if (id == 2) {
                window.location.href = "../MobileView/NoOfStudentPresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=1";
            }
            else if (id == 3) {
                window.location.href = "../MobileView/NoOfStudentPresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=7";
            }
            else if (id == 4) {
                window.location.href = "../MobileView/NoOfStudentPresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=30";
            }
            else {
                alert('Record Not Found');
            }
        }
        function EmployeePresenceFunction(id) {
            if (id == 1) {
                window.location.href = "../MobileView/NoOfEmployeePresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=-1";
            }
            else if (id == 2) {
                window.location.href = "../MobileView/NoOfEmployeePresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=1";
            }
            else if (id == 3) {
                window.location.href = "../MobileView/NoOfEmployeePresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=7";
            }
            else if (id == 4) {
                window.location.href = "../MobileView/NoOfEmployeePresence.aspx?Id=" + Id + "&Group=" + Group + "&BatchId=" + BatchId + "&Count=30";
            }
            else {
                alert('Record Not Found');
            }
        }
        function BackOrgFunction() {

            sessionStorage.removeItem('idList');
            sessionStorage.removeItem('idCount');
            if (Group == "OrgId") {
                window.location.href = "../MobileView/MobileDashBoard1.aspx";

            }
            else {
                window.location.href = "../MobileView/EISDashBoard1.aspx";
                $("#drpBatch").val(BatchId);
            }
            sessionStorage.removeItem("BatchIDD");
        }


        function PrvOrgFunction() {
            if (Group == "OrgId") {
                if (idCount > 0) {
                    idCount--;
                    sessionStorage.setItem('idCount', idCount);
                    sessionStorage.removeItem("BatchIDD");
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgId=" + idList[idCount] + "";
                }
                else {
                    idCount = 0;
                    sessionStorage.setItem('idCount', idCount);
                    sessionStorage.removeItem("BatchIDD");
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgId=" + idList[idCount] + "";
                }
            }
            else {
                if (idCount > 0) {
                    idCount--;
                    sessionStorage.setItem('idCount', idCount);
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgGroupId=" + idList[idCount] + "";
                    BatchId = sessionStorage.getItem('BatchIDD');
                    $("#drpBatch").val(BatchId);

                }
                else {
                    idCount = 0;
                    sessionStorage.setItem('idCount', idCount);
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgGroupId=" + idList[idCount] + "";
                    BatchId = sessionStorage.getItem('BatchIDD');
                    $("#drpBatch").val(BatchId);
                }
            }
        }

        function NextOrgFunction() {
            if (Group == "OrgId") {
                if (idCount < (idList.length - 1)) {
                    idCount++;
                    sessionStorage.setItem('idCount', idCount);
                    sessionStorage.removeItem("BatchIDD");
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgId=" + idList[idCount] + "";

                }
                else {
                    idCount = 0;
                    sessionStorage.setItem('idCount', idCount);
                    sessionStorage.removeItem("BatchIDD");
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgId=" + idList[idCount] + "";
                }
            }
            else {
                if (idCount < (idList.length - 1)) {
                    idCount++;
                    sessionStorage.setItem('idCount', idCount);
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgGroupId=" + idList[idCount] + "";
                    BatchId = sessionStorage.getItem('BatchIDD');
                    $("#drpBatch").val(BatchId);
                }
                else {
                    idCount = 0;
                    sessionStorage.setItem('idCount', idCount);
                    window.location.href = "../MobileView/MobileDashBoard2.aspx?OrgGroupId=" + idList[idCount] + "";
                    BatchId = sessionStorage.getItem('BatchIDD');
                    $("#drpBatch").val(BatchId);
                }
            }
        }
        function NextOrgFunction1() {
            sessionStorage.removeItem('idList');
            sessionStorage.removeItem('idCount');
            if (Group == "OrgId") {
                $.ajax({
                    type: "POST",
                    url: "MobileDashBoard2.aspx/GetOrgData",
                    contentType: "application/json; charset=utf-8",
                    data: JSON.stringify({ "Id": Id }),
                    dataType: "json",
                    success: function (result) {
                        idList = [];
                        idCount = 0;
                        var obj = (result.d);
                        var SchoolList = ""; BatchFunction()
                        var k = 0;
                        if (obj != "") {
                            $.each(obj, function (i, item) {
                                idList.push(item.Id);

                            });
                            sessionStorage.setItem('idList', JSON.stringify(idList));
                            sessionStorage.setItem('idCount', idCount);
                        }
                    }
                });
            }
            else {
                $.ajax({
                    type: "POST",
                    url: "MobileDashBoard2.aspx/GetOrgId12121",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (result) {
                        var obj = (result.d);
                        var OrgGroupId = "";
                        var k = 0;
                        idList = [];
                        idCount = 0;
                        $.each(obj, function (i, item) {
                            idList.push(item.Id);
                        });
                        sessionStorage.setItem('idList', JSON.stringify(idList));
                        sessionStorage.setItem('idCount', idCount);
                    }
                });

            }
        }

        function MISDashboar() {
            sessionStorage.removeItem('idList');
            sessionStorage.removeItem('idCount');
            window.location.href = "../MobileView/MobileDashBoard1.aspx?Id=" + Id;
        }
        function DashBoard() {
            sessionStorage.removeItem('idList');
            sessionStorage.removeItem('idCount');
            window.location.href = "../MobileView/DashBoard.aspx";
        }
    </script>
    <asp:UpdatePanel runat="server" ID="DoctorScheduleUpdatePanel">
        <ContentTemplate>
            <div class="col-md-12 ptb12">
                <%--<span class='btn btn-home btn-icon' onclick='DashBoard()' title='home'><span><i class='material-icons'>home</i></span></span>--%>
               <div class="top-btn">
                    <div class="custom-select">
                        <div class='fLeft pRight5'>
                            <select id='drpBatch' onchange="BatchFunction()" style="display:none;">
                                <option selected="selected" value='0'>Select</option>
                            </select>
                        </div>
                        <%--<asp:DropDownList ID="BatchDropDownList" runat="server" AutoPostBack="true" OnSelectedIndexChanged="BatchDropDownList_SelectedIndexChanged" />--%>
                        <%--<asp:PlaceHolder ID="DropDownBatchPlaceHolder" runat="server" />
                        <%--     <button class="mui-btn mui-btn--primary" data-mui-toggle="dropdown"> 
                             <span class="mui-caret"></span>
                        </button>
                        Dropdown
                    </div>
                    <input type="button" value="&#xf30a; Back" id="bntBackOrg" onclick="BackOrgFunction()" skinid="0" class="btn btn-back fas" />
                    <input type="button" value="&#xf30a; Previous" id="btnPrev" onclick="PrvOrgFunction()" skinid="0" class="btn btn-back fas" />
                    <input type="button" value="Next &#xf30b;" id="btnNext" onclick="NextOrgFunction()" skinid="0" class="btn btn-back fas" />--%>
                    

                </div>

            </div>
            <div class="page-header mb37">
                <div class="col-xl-12 col-sm-12 col-xs-12 border-bottom-inline xs-padd0">
                    <div class="main-topic inner" id="HeaderTitle">
                    </div>
                    <div class="misbtn">
                        <button id="btnMIS" class="btn bg-white-outline btn-icon exdb" onclick="MISDashboar()" style="display: none"><i class="ti-dashboard"></i>&nbsp;MIS</button>
                    </div>
                </div>


            </div>
            <div class="bg-body-dark row center-block">
                <%-- <div class="container-fluid">
                    <div class="gutters-tiny push js-appear-enabled animated fadeIn" data-toggle="appear">
                        <div class="tab row">
                            <div class="block row arrow-up">
                                <div class="col-xl-3 col-sm-6 col-xs-12 " >
                                    <a class='float-Left' href='#' >
                                     <div class='card  pull-up'> 
                <div class='card-body'>  <h5 class='card-title text-capitalize'>No Of Student</h5> 
                <div class='tab-content'> 
                <div class='tab-pane active' >
        <a class='float-Left' href='../MobileView/NoOfStudent.aspx?OrgGroupId=  OrgId  '>
         <a class='float-Left' href='../MobileView/NoOfStudent.aspx?OrgId=  OrgId  '>
        <div class='d-flex align-items-center no-block mt51'> 
                <h1><i class='fas fa-user-graduate text-info'></i></h1> 
                <div class='ml-auto'> 
                <h1 id="StudentNo">  </h1> 
                </div> 
                </div> 
                </a></div> 
            
                                   <%-- <h1>
                                        <asp:PlaceHolder ID="StudentPlaceHolder" runat="server" />
                                    </h1>
                                </div>
                             
                                    
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <a class='float-Left' href='#' >
                                     <div class='card  pull-up'> 
                <div class='card-body'>  <h5 class='card-title text-capitalize'>No Of Employee<</h5> 
                <div class='tab-content'> 
                <div class='tab-pane active' >
      <a class='float-Left' href='../MobileView/NoOfStudent.aspx?OrgGroupId=  OrgId  '>
         <a class='float-Left' href='../MobileView/NoOfStudent.aspx?OrgId=  OrgId  '>
        <div class='d-flex align-items-center no-block mt51'> 
                <h1><i class='fas fa-user-graduate text-info'></i></h1> 
                <div class='ml-auto'> 
                <h1 id="EmployeeNO">  </h1> 
                </div> 
                </div> 
                </a></div> 
            
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <a class='float-Left' href='#' >
                                     <div class='card  pull-up'> 
                <div class='card-body'>  <h5 class='card-title text-capitalize'>User</h5> 
                <div class='tab-content'> 
                <div class='tab-pane active' >
        <a class='float-Left' href='../MobileView/NoOfStudent.aspx?OrgGroupId=  OrgId  '>
         <a class='float-Left' href='../MobileView/NoOfStudent.aspx?OrgId=  OrgId  '>
        <div class='d-flex align-items-center no-block mt51'> 
                <h1><i class='fas fa-user-graduate text-info'></i></h1> 
                <div class='ml-auto'> 
                <h1 id="UserCount">  </h1> 
                </div> 
                </div> 
                </a></div> 
      
                                   <%-- <h1>
                                        <asp:PlaceHolder ID="UserPlaceHolder" runat="server" />
                                    </h1>
                            
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="TransportPlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="InquiryCountPlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="AddmissonPlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="SMSPlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="CircularPlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="StudentPresencePlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="EmployeePresencePlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="FeeCollectionPlaceHolder" runat="server" />
                                    </h1>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="FeePendingPlaceHolder" runat="server" />
                                    </h1>
                                </div>

                                <div class="col-xl-3 col-sm-6 col-xs-12 ">
                                    <h1>
                                        <asp:PlaceHolder ID="EmployeePendingLeavePlaceHolder" runat="server" />
                                    </h1>
                                </div>

                            </div>
                        </div>
                    </div>--%>
                <div class="container-fluid">
                    <div class="gutters-tiny push js-appear-enabled animated fadeIn" data-toggle="appear">
                        <div class="tab row">
                            <div class="block row arrow-up">
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="StudentBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <a onclick="NoOfStudentFunction()">
                                                <h5 class="card-title text-capitalize">Student Summary<i class="ti-arrow-right text-anchor float-right"></i></h5>

                                                <div class="tab-content">
                                                    <div class="tab-pane active">
                                                        <div class="d-flex align-items-center no-block m-t-51">
                                                            <h1 class="pl8"><i class='fas fa-user-graduate text-info'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="StudentNo"></h1>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="EmployeeBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <a onclick="NoOfEmployeeFunction()">
                                                <h5 class="card-title text-capitalize">Employee Summary<i class="ti-arrow-right text-anchor float-right"></i></h5>

                                                <div class="tab-content">
                                                    <div class="tab-pane active">
                                                        <div class="d-flex align-items-center no-block m-t-51">
                                                            <h1 class="pl8"><i class='fas fa-user-tie text-orange'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="EmployeeNO"></h1>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="UserBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <a onclick="NoOfUserFunction()">
                                                <h5 class="card-title text-capitalize">User Summary<i class="ti-arrow-right text-anchor float-right"></i></h5>

                                                <div class="tab-content">
                                                    <div class="tab-pane active">
                                                        <div class="d-flex align-items-center no-block m-t-51">
                                                            <h1 class="pl8"><i class='fas fa-user-check text-success'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="UserCount"></h1>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="TransportBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <a onclick="NoOfTransportFunction()">
                                                <h5 class="card-title text-capitalize">Transport Summary<i class="ti-arrow-right text-anchor float-right"></i></h5>

                                                <div class="tab-content">
                                                    <div class="tab-pane active">
                                                        <div class="d-flex align-items-center no-block m-t-51">
                                                            <h1 class="pl8"><i class='fas fa-truck text-darkp'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="TransportCount"></h1>

                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="AdmissionInquiryBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <a>
                                                <h5 class="card-title text-capitalize">Admission Inquiry<i class="ti-arrow-right text-anchor float-right"></i></h5>
                                                <ul class="nav nav-pills">
                                                    <li class="nav-item">
                                                        <a id="pills-1-tab" data-toggle="pill" href="#pills-1" role="tab">Yesterday</a>
                                                    </li>
                                                    <li class="nav-item">
                                                        <a id="pills-2-tab" data-toggle="pill" href="#pills-2" role="tab">Today</a>
                                                    </li>
                                                    <li class="nav-item">
                                                        <a class="nav-link" id="pills-3-tab" data-toggle="pill" href="#pills-3" role="tab">Week</a>
                                                    </li>
                                                    <li class="nav-item">
                                                        <a class="nav-link" id="pills-4-tab" data-toggle="pill" href="#pills-4" role="tab">Month</a>
                                                    </li>
                                                </ul>
                                                <div class="tab-content">
                                                    <div id="pills-1" onclick="NoOfInquiryCountFunction(1)">
                                                        <div class="d-flex align-items-center no-block m-t-20">
                                                            <h1 class="pl8"><i class='fas fa-question-circle text-danger'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="AdmissionInquiryYesterdaycount"></h1>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div id="pills-2" onclick="NoOfInquiryCountFunction(2)">
                                                        <div class="d-flex align-items-center no-block m-t-20">
                                                            <h1 class="pl8"><i class='fas fa-question-circle text-danger'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="DailyCount"></h1>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="tab-pane" id="pills-3" onclick="NoOfInquiryCountFunction(3)">
                                                        <div class="d-flex align-items-center no-block m-t-20">
                                                            <h1 class="pl8"><i class='fas fa-question-circle text-danger'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="WeeklyCount"></h1>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="tab-pane" id="pills-4" onclick="NoOfInquiryCountFunction(4)">
                                                        <div class="d-flex align-items-center no-block m-t-20">
                                                            <h1 class="pl8"><i class='fas fa-question-circle text-danger'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="MonthlyCount"></h1>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="AdmissionFormBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <h5 class="card-title text-capitalize">Admission Form<i class="ti-arrow-right text-anchor float-right"></i></h5>
                                            <ul class="nav nav-pills">
                                                <li class="nav-item">
                                                    <a id="pills-5-tab" data-toggle="pill" href="#pills-5" role="tab">Yesterday</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a id="pills-6-tab" data-toggle="pill" href="#pills-6" role="tab">Today</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-7-tab" data-toggle="pill" href="#pills-7" role="tab">Week</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-8-tab" data-toggle="pill" href="#pills-8" role="tab">Month</a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div id="pills-5" onclick="AdmissionCountFunction(1)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-check text-sgreen'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="AdmissionYesterdaycount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="pills-6" onclick="AdmissionCountFunction(2)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-check text-sgreen'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="AdmissionDailyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-7" onclick="AdmissionCountFunction(3)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-check text-sgreen'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="AdmissionWeeklyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-8">
                                                    <div class="d-flex align-items-center no-block m-t-20" onclick="AdmissionCountFunction(4)">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-check text-sgreen'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="AdmissionMonthlyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="SMSBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <h5 class="card-title text-capitalize">SMS Summary
                                                      <a class="float-right" href="#"><i class="ti-arrow-right text-anchor"></i></a>
                                            </h5>
                                            <ul class="nav nav-pills">
                                                <li class="nav-item">
                                                    <a id="pills-9-tab" data-toggle="pill" href="#pills-9" role="tab">Yesterday</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a id="pills-10-tab" data-toggle="pill" href="#pills-10" role="tab">Today</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-11-tab" data-toggle="pill" href="#pills-11" role="tab">Week</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-12-tab" data-toggle="pill" href="#pills-12" role="tab">Month</a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div id="pills-9" onclick="SMSCountFunction(1)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-comments text-purple'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="SMSYesterdaycount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="pills-10" onclick="SMSCountFunction(2)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-comments text-purple'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="SMSDailyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-11" onclick="SMSCountFunction(3)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-comments text-purple'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="SMSWeeklyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-12" onclick="SMSCountFunction(4)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-comments text-purple'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="SMSMonthlyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="CircularBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <h5 class="card-title text-capitalize">Circular Summary
                                                      <a class="float-right" href="#"></a>
                                            </h5>
                                            <ul class="nav nav-pills">
                                                <li class="nav-item">
                                                    <a id="pills-13-tab" data-toggle="pill" href="#pills-13" role="tab">Yesterday</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a id="pills-14-tab" data-toggle="pill" href="#pills-14" role="tab">Today</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-15-tab" data-toggle="pill" href="#pills-15" role="tab">Week</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-16-tab" data-toggle="pill" href="#pills-16" role="tab">Month</a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div id="pills-13">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-paste text-orange'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="CircularYesterday"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="pills-14">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-paste text-orange'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="CircularDailyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-15">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-paste text-orange'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="CircularWeeklyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-16">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-paste text-orange'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="CircularMonthlyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="FeeCollectionBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <h5 class="card-title text-capitalize">Fee Collection
                                                      <a class="float-right" href="#"><i class="ti-arrow-right text-anchor"></i></a>
                                            </h5>
                                            <ul class="nav nav-pills">
                                                <li class="nav-item">
                                                    <a id="pills-17-tab" data-toggle="pill" href="#pills-17" role="tab">Yesterday</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a id="pills-18-tab" data-toggle="pill" href="#pills-18" role="tab">Today</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-19-tab" data-toggle="pill" href="#pills-19" role="tab">Week</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-20-tab" data-toggle="pill" href="#pills-20" role="tab">Month</a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div id="pills-17" onclick="FeeCollectionFunction(1)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-money-bill text-grey'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="FeeCollectionYesterday"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="pills-18" onclick="FeeCollectionFunction(2)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-money-bill text-grey'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="FeeCollectionDailyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-19" onclick="FeeCollectionFunction(3)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-money-bill text-grey'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="FeeCollectionWeeklyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-20" onclick="FeeCollectionFunction(4)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-money-bill text-grey'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="FeeCollectionMonthlyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="FeePendingBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <a onclick="FeePendingFunction()">
                                                <h5 class="card-title text-capitalize">Fee Pending<i class="ti-arrow-right text-anchor float-right"></i></h5>

                                                <div class="tab-content">
                                                    <div class="tab-pane active">
                                                        <div class="d-flex align-items-center no-block m-t-51">
                                                            <h1 class="pl8"><i class='fas fa-exclamation-triangle text-warning'></i></h1>
                                                            <div class="ml-auto">
                                                                <h1 id="FeePending"></h1>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="StudentPresenceBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <h5 class="card-title text-capitalize">Student Presence Summary
                                                      <a class="float-right" href="#"><i class="ti-arrow-right text-anchor"></i></a>
                                            </h5>
                                            <ul class="nav nav-pills">
                                                <li class="nav-item">
                                                    <a id="pills-21-tab" data-toggle="pill" href="#pills-21" role="tab">Yesterday</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a id="pills-22-tab" data-toggle="pill" href="#pills-22" role="tab">Today</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-23-tab" data-toggle="pill" href="#pills-23" role="tab">Week</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-24-tab" data-toggle="pill" href="#pills-24" role="tab">Month</a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div id="pills-21" onclick="StudentPresenceFunction(1)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-graduation-cap text-black'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="StudentPresenceYesterdayCount"></h1>
                                                            <h1 id="StudentPresenceYesterdayAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="pills-22" onclick="StudentPresenceFunction(2)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-graduation-cap text-black'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="StudentPresenceDailyCount"></h1>
                                                            <h1 id="StudentPresenceDailyAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-23" onclick="StudentPresenceFunction(3)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-graduation-cap text-black'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="StudentPresenceWeeklyCount"></h1>
                                                            <h1 id="StudentPresenceWeeklyAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-24" onclick="StudentPresenceFunction(4)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-graduation-cap text-black'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="StudentPresenceMonthlyCount"></h1>
                                                            <h1 id="StudentPresenceMonthlyAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="EmployeePresenceBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <h5 class="card-title text-capitalize">Employee Presence Summary
                                                      <a class="float-right" href="#"><i class="ti-arrow-right text-anchor"></i></a>
                                            </h5>
                                            <ul class="nav nav-pills">
                                                <li class="nav-item">
                                                    <a id="pills-25-tab" data-toggle="pill" href="#pills-25" role="tab">Yesterday</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a id="pills-26-tab" data-toggle="pill" href="#pills-26" role="tab">Today</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-27-tab" data-toggle="pill" href="#pills-27" role="tab">Week</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-28-tab" data-toggle="pill" href="#pills-28" role="tab">Month</a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div id="pills-25" onclick="EmployeePresenceFunction(1)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-list text-yellow'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="EmployeePresenceYesterdayCount"></h1>
                                                            <h1 id="EmployeePresenceYesterdayAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="pills-26" onclick="EmployeePresenceFunction(2)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-list text-yellow'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="EmployeePresenceDailyCount"></h1>
                                                            <h1 id="EmployeePresenceDailyAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-27" onclick="EmployeePresenceFunction(3)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-list text-yellow'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="EmployeePresenceWeeklyCount"></h1>
                                                            <h1 id="EmployeePresenceWeeklyAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-28" onclick="EmployeePresenceFunction(4)">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-clipboard-list text-yellow'></i></h1>
                                                        <div class="ml-auto mt-28">
                                                            <h1 id="EmployeePresenceMonthlyCount"></h1>
                                                            <h1 id="EmployeePresenceMonthlyAverage"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-xl-3 col-sm-6 col-xs-12 " id="EmployeeLeavePendingBlog" style="display: none">
                                    <div class="card  pull-up">
                                        <div class="card-body">
                                            <h5 class="card-title text-capitalize">Employee Leave Pending
                                                      <a class="float-right" href="#"></i></a>
                                            </h5>
                                            <ul class="nav nav-pills">
                                                <li class="nav-item">
                                                    <a id="pills-29-tab" data-toggle="pill" href="#pills-29" role="tab">Yesterday</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a id="pills-30-tab" data-toggle="pill" href="#pills-30" role="tab">Today</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-31-tab" data-toggle="pill" href="#pills-31" role="tab">Week</a>
                                                </li>
                                                <li class="nav-item">
                                                    <a class="nav-link" id="pills-32-tab" data-toggle="pill" href="#pills-32" role="tab">Month</a>
                                                </li>
                                            </ul>
                                            <div class="tab-content">
                                                <div id="pills-29">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-exclamation-circle text-pink'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="EmployeePendingYesterday"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div id="pills-30">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-exclamation-circle text-pink'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="EmployeePendingDailyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-31">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-exclamation-circle text-pink'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="EmployeePendingWeeklyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="tab-pane" id="pills-32">
                                                    <div class="d-flex align-items-center no-block m-t-20">
                                                        <h1 class="pl8"><i class='fas fa-exclamation-circle text-pink'></i></h1>
                                                        <div class="ml-auto">
                                                            <h1 id="EmployeePendingMonthlyCount"></h1>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <script>
                function openNav() {
                    document.getElementById("mySidenav").style.width = "344px";
                }

                function closeNav() {
                    document.getElementById("mySidenav").style.width = "0";
                }
            </script>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
