<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" MaintainScrollPositionOnPostback="true"
    AutoEventWireup="True" EnableEventValidation="false" EnableViewStateMac="false"
    Inherits="site_HITS_ClaimHoldDetails" Title="Brightstar Device Protection: Rapids Details" Theme="eMain"
    CodeBehind="ClaimHoldDetails.aspx.cs" %>

<%@ Register Src="~/Controls/Ramp/RampDocumentVerification.ascx" TagName="RampDocumentVerification"
    TagPrefix="uc1" %>
<%@ Register Src="~/Controls/Ramp/RampManualProcess.ascx" TagName="RampManualProcess"
    TagPrefix="uc1" %>
<%@ Register Src="~/Controls/Ramp/RampProcessHistory.ascx" TagName="RampProcessHistory"
    TagPrefix="uc1" %>
<%@ Register Src="~/Controls/Ramp/AdjusterAndFraudReview.ascx" TagName="RampAdjusterReviewProcess"
    TagPrefix="uc1" %>
<%@ Register Src="~/Controls/Ramp/AdjusterAndFraudReview.ascx" TagName="RampFraudManagementReviewProcess"
    TagPrefix="uc1" %>
<%@ Register Src="~/Controls/Claims/SubscriberEmailDialogue.ascx" TagName="SubscriberEmailDialogue"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/Claims/Questionnaire.ascx" TagName="InternalReviewQuestionnaire"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/Claims/Questionnaire.ascx" TagName="ExternalReviewQuestionnaire"
    TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <div>
        <eSecuritelHITSControls:ExtendedValidationSummary runat="server" ID="ValidationSummary"
            Width="99%" HeaderText="<%$ Resources: EscalationManagement, ThefollowingitemsneedHeaderText %>">
        </eSecuritelHITSControls:ExtendedValidationSummary>
    </div>
    <div>
        <eSecuritelHITSControls:DefaultTitle runat="server" ID="DefaultTile" Title="Claim Holds"
            IsMasterLinkVisible="true"></eSecuritelHITSControls:DefaultTitle>
    </div>
    <div id="subnav">
        <ul class="pagenav">
            &nbsp;
        </ul>
    </div>
    <script type="text/javascript" language="javascript">
        Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(pageLoadedHandler)

        function pageLoadedHandler(sender, args) {
            window.scrollTo(0, 0);

        }

        function ShowProgressIndicatorAdjusterReview() {
            if (document.getElementById('ctl00_eContent_tabSubscriberDetails_AdjusterReviewTabPanel_RampAdjusterReviewProcess_pnlProcessingAdjusterReview')) {
                document.getElementById('ctl00_eContent_tabSubscriberDetails_AdjusterReviewTabPanel_RampAdjusterReviewProcess_pnlProcessingAdjusterReview').style.visibility = "visible";
            }
            return true;
        }

        function ShowProgressIndicatorFraudReview() {
            if (document.getElementById('ctl00_eContent_tabSubscriberDetails_FraudReviewTabPanel_RampFraudManagementReviewProcess_pnlProcessingFraudManagementReview')) {
                document.getElementById('ctl00_eContent_tabSubscriberDetails_FraudReviewTabPanel_RampFraudManagementReviewProcess_pnlProcessingFraudManagementReview').style.visibility = "visible";
            }
            return true;
        }
        
        function tabSubscriberDetails_ActiveTabChanged(sender, e) {
            var manageRecordingURL = window.location.href.split('WebSite')[0] + "WebSite/ManageRecording.aspx";
            var url = manageRecordingURL + "?TabIndex=" + sender.get_activeTabIndex() + "&PageUrl=" + window.location.href.split('?')[0] + "&TabId=tabSubscriberDetails";
            $.ajax({ url: url, cache: false });
        }
    </script>
    <style type="text/css">
        .modalBackground1
        {
            background-color: #d2d2d2;
            filter: alpha(opacity=50);
            opacity: 0.5;
        }
        .modalPopup1
        {
            padding-top: 10px;
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 10px;
            width: 650px;
            height: 450px;
        }
        
        .padPanel
        {
            padding-top: 5px;
            padding-left: 5px;
            padding-right: 5px;
            padding-bottom: 5px;
        }
        
        .GridStyle th
        {
            background-color: #022755;
            text-align: left;
            font-weight: bold;
            font-size: 15px;
            padding: 4px;
            color: White;
        }
    </style>
    <asp:Table ID="tblSuccess" runat="server">
        <asp:TableRow>
            <asp:TableCell>
                <asp:Label ID="m_lblSuccess" runat="server" Font-Bold="True" Font-Size="12px"></asp:Label>
            </asp:TableCell>
        </asp:TableRow>
    </asp:Table>
    <h2>
        <asp:Literal runat="server" ID="asp_Literal6593" Text="<%$ Resources: ClaimsManagement,LabelClaimInformation %>"></asp:Literal>
    </h2>
    <div class="greyblock">
        <div>
            <table border="0" cellpadding="0" cellspacing="0" class="gvTable">
                <tr>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litSubscriberName" runat="server" Text="<%$ Resources: RapidsManagement, LabelSubscriberNameHeader %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblSubscriberName" runat="server"></asp:Label>
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litClaimNumberHeader" runat="server" Text="<%$ Resources: RapidsManagement, LabelClaimNumberHeader %>" />
                    </td>
                    <td>
                        <asp:Label runat="server" ID="m_lblClaimNumber"></asp:Label>
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litClaimedESN" runat="server" Text="<%$ Resources: RapidsManagement, ClaimedESNHeader %>" />
                    </td>
                    <td>
                        <asp:Label runat="server" ID="m_lblClaimedESN"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litMDN" runat="server" Text="<%$ Resources: RapidsManagement, LabelMDNHeader %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblMDN" runat="server"></asp:Label>
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litClaimDate" runat="server" Text="<%$ Resources: RapidsManagement, LabelClaimDateHeader %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblClaimDate" runat="server" />
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litLossType" runat="server" Text="<%$ Resources: RapidsManagement, LossTypeHeader %>" />
                    </td>
                    <td>
                        <asp:Label runat="server" ID="m_lblLossType"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litEmailAddress" runat="server" Text="<%$ Resources: RapidsManagement, LabelEmailAddressHeader %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblEmailAddress" runat="server"></asp:Label>
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litClaimStatus" runat="server" Text="<%$ Resources: RapidsManagement, ClaimStatusHeader %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblClaimStatus" runat="server" />
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litLossDate" runat="server" Text="<%$ Resources: RapidsManagement, LossDateHeader %>" />
                    </td>
                    <td>
                        <asp:Label runat="server" ID="m_lblLossDate"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litClaimedModel" runat="server" Text="<%$ Resources: RapidsManagement, ClaimedModelHeader %>" />
                    </td>
                    <td>
                        <asp:Label runat="server" ID="m_lblClaimedModel"></asp:Label>
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litClaimHoldStatus" runat="server" Text="<%$ Resources: RapidsManagement, HoldStatusHeader %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblClaimHoldStatus" runat="server" />
                    </td>
                    <td style="font-weight: bold">
                        <asp:Literal ID="m_litCoverageEffectiveDate" runat="server" Text="<%$ Resources: RapidsManagement, CoverageEffectiveDateHeader %>" />
                    </td>
                    <td>
                        <asp:Label runat="server" ID="m_lblCoverageEffectiveDate"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <br />
    <ajaxToolkit:TabContainer runat="server" ID="tabSubscriberDetails" ActiveTabIndex="0" OnClientActiveTabChanged="tabSubscriberDetails_ActiveTabChanged"
        Width="100%">
        <ajaxToolkit:TabPanel runat="server" ID="tabClaimHoldsPanel" HeaderText="Document Verification"
            CssClass="padPanel">
            <ContentTemplate>
                <div>
                    <asp:Panel ID="DocumentVerficationPanelWithContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <uc1:RampDocumentVerification ID="ucRampDocumentVerification" runat="server" />
                    </asp:Panel>
                    <asp:Panel ID="DocumentVerficationPanelWithoutContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <asp:Label ID="DocumentVerficationPanelWithoutContentText" runat="server" Text="<%$ Resources: RapidsManagement, DocumentVerificationWithoutContentText %>"></asp:Label>
                    </asp:Panel>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="AdjusterReviewTabPanel" HeaderText="Adjuster Review"
            CssClass="padPanel">
            <ContentTemplate>
                <div>
                    <asp:Panel ID="AdjusterReviewPanelWithContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <uc1:RampAdjusterReviewProcess ID="RampAdjusterReviewProcess" runat="server" OnEmailDialogTriggerEvent="uc_EmailDialogTriggerEvent" />
                    </asp:Panel>
                    <asp:Panel ID="AdjusterReviewPanelWithoutContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <asp:Label ID="AdjusterReviewPanelWithoutContentText" runat="server" Text="<%$ Resources: RapidsManagement, AdjusterAndFraudReviewWithoutContentText %>"></asp:Label>
                    </asp:Panel>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="FraudReviewTabPanel" HeaderText="Fraud Review"
            CssClass="padPanel">
            <ContentTemplate>
                <div>
                    <asp:Panel ID="FraudManagementPanelWithContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <uc1:RampFraudManagementReviewProcess ID="RampFraudManagementReviewProcess" runat="server"
                            OnEmailDialogTriggerEvent="uc_EmailDialogTriggerEvent" />
                    </asp:Panel>
                    <asp:Panel ID="FraudManagementPanelWithoutContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <asp:Label ID="FraudReviewPanelWithoutContentText" runat="server" Text="<%$ Resources: RapidsManagement, FraudManagementReviewWithoutContentText %>"></asp:Label>
                    </asp:Panel>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="ManualProcessTabPanel" HeaderText="Manual Process"
            CssClass="padPanel">
            <ContentTemplate>
                <div>
                    <asp:Panel ID="ManualProcesssPanelWithContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <uc1:RampManualProcess ID="ucRampManualProcess" runat="server" />
                    </asp:Panel>
                    <asp:Panel ID="ManualProcessPanelWithoutContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <asp:Label ID="ManualProcessPanelWithoutContentText" runat="server" Text="<%$ Resources: RapidsManagement, ManualProcessTriggerWithoutContentText %>"></asp:Label>
                    </asp:Panel>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="InternalReviewTabPanel" HeaderText="Internal Review"
            CssClass="padPanel">
            <ContentTemplate>
                <div>
                    <asp:Panel ID="InternalReviewPanelWithContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <uc:InternalReviewQuestionnaire ID="ucQuestionnaireInternalReview" runat="server"
                            OnEmailDialogTriggerEvent="uc_EmailDialogTriggerEvent" />
                    </asp:Panel>
                    <asp:Panel ID="InternalReviewPanelWithoutContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <asp:Label ID="InternalReviewPanelWithoutContentText" runat="server" Text="<%$ Resources: RapidsManagement, InternalReviewPanelWithoutContentText %>"></asp:Label>
                    </asp:Panel>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="ExternalReviewTabPanel" HeaderText="External Review"
            CssClass="padPanel">
            <ContentTemplate>
                <div>
                    <asp:Panel ID="ExternalReviewPanelWithContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <uc:ExternalReviewQuestionnaire ID="ucQuestionnaireExternalReview" runat="server"
                            OnEmailDialogTriggerEvent="uc_EmailDialogTriggerEvent" />
                    </asp:Panel>
                    <asp:Panel ID="ExternalReviewPanelWithoutContent" runat="server" BorderStyle="Solid"
                        BorderWidth="1px" BorderColor="#e99f1a" CssClass="padPanel">
                        <asp:Label ID="ExternalReviewPanelWithoutContentText" runat="server" Text="<%$ Resources: RapidsManagement, ExternalReviewPanelWithoutContentText %>"></asp:Label>
                    </asp:Panel>
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="tabClaimHoldHistoryPanel" HeaderText="Process History">
            <ContentTemplate>
                <div>
                    <uc1:RampProcessHistory ID="ucRampProcessHistory" runat="server" />
                </div>
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
    </ajaxToolkit:TabContainer>
    <uc:SubscriberEmailDialogue ID="ucSubscriberEmailDialogue" runat="server" OnEmailPopulated="ucSubscriberEmailDialogue_EmailPopulated"
        OnEmailPopulationCancelled="ucSubscriberEmailDialogue_EmailPopulationCancelled" />
</asp:Content>
