<%@ Page Language="C#" MasterPageFile="~/masterpages/eClaimWizard.master" MaintainScrollPositionOnPostback="true" AutoEventWireup="True" Inherits="site_HITS_Claims_Wizard_SubscriberDetails" Title="Claims Wizard - Step 3 - Subscriber Details" Culture="auto" UICulture="auto" Theme="eMain" Codebehind="SubscriberDetails.aspx.cs" %>

<%@ Register Src="../../../../../Controls/Claims/RCIRPopupWindow.ascx" TagName="RCIRPopupWindow" TagPrefix="uc1" %>
<%@ Register Assembly="eSecuritel.HITS.UI.Components" Namespace="eSecuritel.HITS.UI.Components" TagPrefix="cc1" %>
<%@ Register Src="~/Controls/GridViews/NoteHistory.ascx" TagPrefix="uc" TagName="NoteHistory" %>
<%@ Register Src="~/Controls/Claims/SubscriberDetails.ascx" TagPrefix="uc" TagName="SubscriberDetails" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="System.Web.UI" tagprefix="cc2" %>

<%@ Register Src="~/Controls/PopupWindowConfirmFindPhone.ascx" TagName="PopupWindowConfirmFindPhone" TagPrefix="eSecuritelHITSControls" %>
<%@ Register TagPrefix="eSecuritelHITSControls" Namespace="WebSite.Controls" Assembly="WebSite" %>
<%@ Register Src ="~/Controls/PopupWindow.ascx" TagName = "PopupWindow_Okay_Btn" TagPrefix = "uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="eContent" Runat="Server">
    
    <uc:PopupWindow_Okay_Btn ID = "ucPopupWindowWithOkayBtn" runat = "server" />
    

    <asp:HiddenField runat="server" id="hdnLostOrStolenPressed" />
    <br />
    <asp:Panel ID="pnlWarning" runat="server" EnableViewState="False"
        style="display: none; width: 250px;">

        <asp:Panel ID="pnlWarningHeader" runat="server" CssClass="modalHeader">
            <asp:Label ID="Label33" runat="server" Text="<%$ Resources: Default, LabelWarning %>" />
        </asp:Panel>
        <asp:Panel ID="Panel1" runat="server" CssClass="modalContent">
            <center>
                <div>
                    <asp:Literal ID="litWarningMessage" runat="server" />
                </div>
                <asp:Button ID="btnCloseWarning" runat="server" Text="<%$ Resources: Default, ButtonClose %>"
                    Width="65px" />
            </center>
        </asp:Panel>

    </asp:Panel>
     
    <asp:Panel ID="pnlLossSubTypes" runat="server" EnableViewState="True"
        style="display: none; width: 350px;">
        <asp:Panel runat="server" ID="pnlLossSubTypeHeader" CssClass="modalHeader">
            <asp:Literal runat="server" ID="lblLossSubTypesHeader" Text="<%$ Resources: ServicePlanManagement, DamagedOptions %>"/>
        </asp:Panel>
        <asp:Panel runat="server" ID="pnlLossSubTypeContent" CssClass="modalContent">
            <div>
                <asp:Label ID="lblSubType" runat="server" Text="<%$ Resources: ServicePlanManagement, LabelSubFeature %>" />
                &nbsp;&nbsp
                <asp:DropDownList runat="server" ID="ddlSubType"/>
            </div>
            <div style="margin: auto; text-align: center; margin-top: 10px;">
                <asp:Button runat="server" ID="btnSubLossTypeContinue" OnClick="btnSubLossTypeContinue_Click" Text="<%$ Resources: Default, Continue %>"/>
                &nbsp;&nbsp;
                <asp:Button runat="server" ID="btnCloseSubLossTypeModal" OnClick="btnCloseSubLossTypeModal_Click" Visible="True" Text="<%$ Resources: Default, ButtonCancel %>" />
            </div>
        </asp:Panel>
    </asp:Panel> 

    <asp:Button runat="server" EnableViewState="False"
        ID="hiddenTargetControlForModalPopup" style="display: none" />
    <eSecuritelHITSControls:HITSModalPopupExtender runat="server" ID="modalWarningPopupExtender"
        TargetControlID="hiddenTargetControlForModalPopup"
        PopupControlID="pnlWarning"
        BackgroundCssClass="modalBackground"
        
        PopupDragHandleControlID="pnlWarningHeader"
        BehaviorID="modalWarningPopupExtender" DynamicServicePath="" Enabled="True" />
    
     <asp:Button runat="server" EnableViewState="False"
        ID="hiddenTargetForSubtypePopup" style="display: none" />
    <eSecuritelHITSControls:HITSModalPopupExtender runat="server" ID="modalSubTypePopupExtender"
        TargetControlID="hiddenTargetForSubtypePopup"
        PopupControlID="pnlLossSubTypes"
        BackgroundCssClass="modalBackground"
        
        PopupDragHandleControlID="pnlLossSubTypeHeader"
        BehaviorID="modalSubTypePopupExtender" DynamicServicePath="" Enabled="True" />

    <h2>
        <asp:Label ID="Label1" runat="server" Text="<%$ Resources: ClaimsManagement, LabelLossType %>" />
    </h2>
    <center>
        <div class="claimsWizardFormAction">
            <span style="margin-right: 10px;">
                <asp:Button ID="btnLost" runat="server" Width="80px" OnClick="btnLost_Clicked"
                    Text="<%$ Resources: Default, ButtonLost %>" />
            </span>
            <span style="margin-right: 10px;">
                <asp:Button ID="btnStolen" runat="server" Width="80px" OnClick="btnStolen_Clicked"
                    Text="<%$ Resources: Default, ButtonStolen %>" />
            </span>
            <span style="margin-right: 10px;">
                <asp:Button ID="btnDamaged" runat="server" Width="80px" OnClick="btnDamaged_Clicked"
                    Text="<%$ Resources: Default, ButtonDamaged %>" />
            </span>

            <span style="margin-right: 10px;">
                <asp:Button ID="btnExtendedWarranty" runat="server" Width="80px"
                    OnClick="btnExtendedWarranty_Clicked" Visible="False"
                    Text="<%$ Resources: Default, ButtonWarranty %>" />
            </span>
            <span style="margin-right: 10px;">
                <asp:Button ID="btnDefect" runat="server" Width="80px"
                    OnClick="btnDefect_Clicked" Visible="False"
                    Text="<%$ Resources: Default, ButtonDefect %>" />
            </span>
            <span style="margin-right: 10px;">
                <asp:Button ID="btnMalMEF" runat="server" Width="80px" OnClick="btnMalFunction_Clicked"
                    Text="<%$ Resources: Default, ButtonMalfunction %>" />
            </span>
            <span style="margin-right: 10px;">
                <asp:Button ID="btnReturn" runat="server" Width="80px" OnClick="btnReturn_Clicked"
                    Text="<%$ Resources: Default, ButtonReturn %>" />
            </span>
            <span style="margin-right: 10px;">
                <asp:Button ID="btnReject" runat="server" Width="80px" Visible="false" OnClick="btnReject_Clicked"
                    Text="<%$ Resources: Default, ButtonReject %>" />
            </span>
            <span>
                <asp:Button ID="btnFileRCIR" runat="server" Width="80px" Text="<%$ Resources: Default, ButtonFileRCIR %>"
                    OnClick="btnFileRCIR_Click" />
            </span>
            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
            <span>
                <%--<asp:Button ID="m_btnEscalation" runat="server" Width="100px" 
                Text="Escalation" CausesValidation="false"/>--%>
                <%--<input id="m_btnEscalation" type="button" runat="server" value="<%$ Resources: EscalationManagement, ButtonEscalation %>" visible="false" />--%>
            </span>
        </div>
    </center>

    <eSecuritelHITSControls:ConfirmPopupControl runat="server" id="PopupWindowYesNo" OnYesClicked="PopupWindowYesNo_YesClicked" OnNoClicked="PopupWindowYesNo_NoClicked" />
    <eSecuritelHITSControls:PopupWindowConfirmFindPhone runat="server" id="FindMyPhoneConfirmation" OnYesClicked="FindMyPhoneConfirmation_YesClicked" OnNoClicked="FindMyPhoneConfirmation_NoClicked" />
    <ajaxToolkit:TabContainer ID="tabContainerSubscriberDetail" runat="server">
        <ajaxToolkit:TabPanel ID="tabPanelSubscriberDetails" runat="server" HeaderText="<%$ Resources: SubscriberManagement, SubscriberDetailsHeaderText %>">
            <ContentTemplate>
                <asp:Panel ID="pnlMain" runat="server">
                    <uc:SubscriberDetails ID="ucSubscriberDetails" runat="server"
                        EnableViewState="true" />
                    <uc1:RCIRPopupWindow ID="ucRCIRPopupWindow" runat="server" OnProcessClicked="ucRCIRPopupWindow_ProcessClicked" />
                </asp:Panel>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel ID="tabPanelAddNotesHistory" runat="server" HeaderText="<%$ Resources: Default, HeaderTextAddNotesHistory %>">
            <ContentTemplate>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" EnableViewState="true">
                    <ContentTemplate>
                        <uc:NoteHistory ID="ucNoteHistory" runat="server" EnableViewState="true" PageSize="5"
                            OnNoteSubmitted="ucNoteHistory_NoteSubmitted" />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
    </ajaxToolkit:TabContainer>

    <asp:Panel ID="m_pnlComplete" runat="server"
        Style="display: none; width: 350px;">
        <asp:Panel ID="m_pnlCompleteHeader" runat="server" EnableViewState="False"
            CssClass="modalHeader">
            <asp:Label ID="lbl" runat="server" Text="<%$ Resources: ClaimsManagement, LabelClaimProcessingComplete %>"></asp:Label>
        </asp:Panel>
        <asp:Panel ID="m_pnlCompleteBody" runat="server" CssClass="modalContent">
            <div style="padding: 5px;">
                <asp:Label ID="m_lblCompleteBody" runat="server" />
            </div>
            <asp:Button ID="m_btnProcessNewClaim" runat="server" EnableViewState="False" Text="<%$ Resources: ClaimsManagement, ButtonProcessNewClaim %>"
                OnClick="m_btnProcessNewClaim_Clicked" />
        </asp:Panel>
    </asp:Panel>
    <asp:Panel ID="pnlNoteArchive" runat="server" Style="display: none; width: 800px;">
    <asp:Panel ID="pnlNoteArchiveHeader" runat="server" EnableViewState="false" CssClass="modalHeader">
        <table cellpadding="0" cellspacing="0" width="99%; margin: 0px;">
            <tr>
                <td align="center" style="margin: 0px; padding: 2px;">
                    <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources: SubscriberManagement, NotesHeaderText %>" />
                </td>
                <td align="right" style="margin: 0px; padding: 2px;">
                    <asp:ImageButton ID="imgArchiveNote" CausesValidation="false" runat="server" CssClass="modalClose" Height="18px"
                        ImageUrl="~/images/closeButton.png" ToolTip="<%$ Resources: Default, ToolTipClose %>" Width="18px" />
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="pnlNoteArchiveBody" runat="server" CssClass="modalContent">
        <div ID="divNotes" runat="server" style="width:100%;height:375px;overflow:scroll;">
                        <uc:NoteHistory ID="ucNoteArchive" runat="server" />
         </div>           
    </asp:Panel>
        </asp:Panel>

        <asp:Button runat="server" EnableViewState="false" ID="hiddenTargetControlForModalPopup2"
        Style="display: none" />
    <eSecuritelHITSControls:HITSModalPopupExtender runat="server" ID="modalPopupWindow" TargetControlID="hiddenTargetControlForModalPopup2"
        PopupControlID="pnlNoteArchive" BackgroundCssClass="modalBackground" BehaviorID="DisplayMessage"
         PopupDragHandleControlID="pnlNoteArchiveHeader" CancelControlID="imgArchiveNote" />
    <asp:Button runat="server" EnableViewState="False" ID="Button1"
        style="display: none" />
    <eSecuritelHITSControls:HITSModalPopupExtender runat="server" ID="m_modalClaimCompletePopupExtender"
        TargetControlID="hiddenTargetControlForModalPopup"
        PopupControlID="m_pnlComplete"
        BackgroundCssClass="modalBackground"
        
        PopupDragHandleControlID="m_pnlCompleteHeader"
        BehaviorID="m_modalClaimCompletePopupExtender" DynamicServicePath=""
        Enabled="True" />

  <!-- Code to support Claim Adjudication/Rejection Lookup Popup -->
    <asp:Panel runat="server" ID="pnlLicensedClaimRejectionPopup"
        Style="display: none; width: 800px; height: 400px;">
            <asp:Panel ID="pnlLicensedClaimRejectionHeader" runat="server" EnableViewState="false" CssClass="modalHeader">
                <asp:Label ID="lblLicensedClaimRejectionHeader" runat="server" EnableViewState="false" Text="Redirecting to Rejection Page"/>
            </asp:Panel>
            <asp:Panel ID="pnlLicensedClaimRejectionBody" runat="server" CssClass="modalContent" Style="text-align: left; color:red">
                <asp:Label ID="Label4" runat="server" EnableViewState="false" Text="The following items need to be reviewed before continuing." /><br /><br />
                <asp:Label ID="lblLicensedClaimRejectionBody" runat="server" EnableViewState="false" /><br /><br />
                <div style="text-align:center">
                <asp:Button runat="server" ID="btnRedirectToRejection" Text="<%$ Resources: Default, ButtonReject %>" CausesValidation="false" EnableViewState="false" OnClick="btnReject_Clicked"/><br />
                </div>
            </asp:Panel>
    </asp:Panel>
    <eSecuritelHITSControls:HITSModalPopupExtender id="mdlLicensedClaimRejectionPopup" runat="server" 
        popupcontrolid="pnlLicensedClaimRejectionPopup" backgroundcssclass="modalBackground"
        targetcontrolid="hiddenTargetControlForModalPopup"
        behaviorid="mdlLicensedClaimRejectionPopup">
    </eSecuritelHITSControls:HITSModalPopupExtender>
<!-- End -->

</asp:Content>
