<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AppointListOldVersion.aspx.cs" Inherits="Axium.Web.Appoint.AppointListOldVersion" EnableViewState="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>

    <meta http-equiv="X-UA-Compatible" content="IE=8" />
     
    <!-- css styles -->
    <link href="../Includes/Css/simplePagination.css" rel="stylesheet" type="text/css" />
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
    <!-- plug in -->
    <script src="../Includes/JQueryUI/js/jquery-3.5.1.min.js" type="text/javascript"></script>
    <script src="../Includes/JQueryUI/js/jquery-migrate-3.3.2.min.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/json2.min.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/jquery.numeric.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/jqModal-r14.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/ui.datepicker.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/dateControl.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/jquery.maxlength-1.0.3.min.js" type="text/javascript"></script>    
    <script src="../Includes/Scripts/jquery.timer.js" type="text/javascript"></script>    
    <script src="../Includes/Scripts/jquery.validate-1.19.2.min.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/jquery.simplePagination.js" type="text/javascript"></script>
    
    <!-- custom -->
    <script src="../Includes/Scripts/utilities.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/iframe.231520.js" type="text/javascript"></script>
    <script src="../Includes/Scripts/appoint.list.240.js" type="text/javascript"></script>    

</head>
<body id="appointListPage" onload="initPage()" class="p-2">
<form id="form1" runat="server">
    <asp:HiddenField runat="server" ID="FromDateField"/>
    <asp:HiddenField runat="server" ID="ToDateField"/>
    <asp:HiddenField runat="server" ID="hdnTotalRowCount"/> <%--38809391--%>
<div id="AppointmentList">
    <h1>Appointment List</h1>

     

    <div id="Appointment">
        <span class="Completed">Completed</span>
        <span class="Confirmed">CONFIRMED</span>
        <span class="NotConfirmed">NOT CONFIRMED</span>
        <span class="Navigation">
            <span class="Label">View By:</span>
            <a href="/PatientAccess/Appoint/AppointListOldVersion.aspx" class="selected firstItem">List</a>
            <a href="/PatientAccess/Appoint/AppointMonthlyCalendar.aspx">Month</a>
            <a href="/PatientAccess/Appoint/AppointYearlyCalendar.aspx" class="lastItem">Year</a>
        </span>
    </div>
    <div id="ListSearch">
        <div id="Date">
            <span id="FromDate">
                <span class="Label">Date From:</span>
                <asp:Image ID="FromDateImgError" runat="server" ImageUrl="../Includes/Images/unchecked.png" CssClass="imgErrorHide" AlternateText="Form Date"/>
                <br />
                <asp:Panel runat="server" ID="FromDateControlDiv"></asp:Panel>
            </span>
            <span id="ToDate">
                <span class="Label">Date To:</span>
                <asp:Image ID="ToDateImgError" runat="server" ImageUrl="../Includes/Images/unchecked.png" CssClass="imgErrorHide" AlternateText="To Date" />
                <br />
                <asp:Panel runat="server" ID="ToDateControlDiv"></asp:Panel>
            </span>
        </div>
        <div id="Show">
            <asp:Label ID="OptionsLabel" runat="server" Visible="False"></asp:Label>
            <span id="TitleSpan" runat="server" class="Title">Show</span>
            <span id="Planned" runat="server">
                <asp:CheckBox ID="PlannedChk" runat="server" Text=" Planned" />
            </span>
            <span id="Cancelled" runat="server">
                <asp:CheckBox ID="CancelledChk" runat="server" Text=" Cancelled" />
            </span>
            <span id="Failed" runat="server">
                <asp:CheckBox ID="FailedChk" runat="server" Text=" Failed" />
            </span>
        </div>
        <div id="Submit">
            <asp:Button ID="Button1" runat="server" Text="Submit" onclick="SubmitClick" OnClientClick="checkDates()" />
        </div>
    </div>
    <div id="Info">
		<asp:Repeater ID="AppointRangeRepeater" runat="server" onitemdatabound="AppointRangeRepeaterItemDataBound">
            <ItemTemplate> 
                <div id="ItemRow" runat="server">
                    <span class="ConfirmStatus" id="ConfirmStatus" runat="server"><%#Eval("ConfirmStatusString")%></span>
                    <span class="AppointStatus" id="AppointStatus" runat="server"><%# Eval("AppointStatus") %></span>
                    <asp:Label CssClass="AppointDate" ID="ApptDate" runat="server"></asp:Label>
                    <span class="AppointTime"><%#Eval("AppointTime")%></span>
                    <span id="ProviderSpan" runat="server" class="Provider">
                        <span class="Label">Provider:</span>
                        <span class="Info"><%# Eval("PrimProvider")%></span>
                    </span>
                    <span id="ClinicChairDiv" runat="server" class="Chair">
                        <span id="ClinicChairSpan" runat="server" class="Label" title="Clinic/Chair:"></span>
                        <span id="ClinicSpan" runat="server" class="Info"><%# Eval("Clinic")%></span> <span id="ChairSpan" runat="server" class="Info"><%#Eval("Chair")%></span>
                    </span>
                </div>      
            </ItemTemplate>
            <FooterTemplate>        
                <asp:Literal ID="lblEmptyData"
                    Text="" runat="server" Visible="false">
                </asp:Literal>
            </FooterTemplate>
        </asp:Repeater>
        
        <div id="paginatationArea" class="bottomArea" runat="server">
            <div class="pagination-page"></div>
        </div>
        <asp:Button runat="server" ID="PageClickButton" OnClick="PageClick" />

        <asp:HiddenField runat="server" ID="OptionsValue" />
        <asp:HiddenField runat="server" ID="CurrentPageValue" Value="0" />
    </div>
       
</div>
<asp:PlaceHolder ID="AutoLogout" runat="server" Visible="false" EnableViewState="false" />
</form>
<script type="text/javascript">
   $(window).on("load", function () {        // AX-24898.24919.2 $(window).bind("load", function () {
        $(".integer").numeric(false, function () { this.value = ""; this.focus(); });
        var childHeight = $('#AppointmentList').outerHeight();
        $('#AppointListId', window.parent.document).css('height', childHeight);
    });
</script>
</body>
</html>
