<%@ Page Language="C#" MasterPageFile="~/masterpages/eClaimWizard.master"  MaintainScrollPositionOnPostback="true" AutoEventWireup="True" Inherits="site_HITS_Claims_Wizard_Claims_Confirmation" Title="Claims Wizard - Claim Confirmation" Theme="eMain" Culture="auto" UICulture="auto" Codebehind="Confirmation.aspx.cs" %>
<%@ Register Src ="~/Controls/GridViews/NoteHistory.ascx" TagPrefix = "uc" TagName = "NoteHistory" %>
<%@ Register Src ="~/Controls/GridViews/SubscriberData.ascx" TagPrefix = "uc" TagName = "SubscriberData" %>
<%@ Register Src ="~/Controls/PopupWindow.ascx" TagPrefix = "uc" TagName = "PopupWindow" %>
<%@ Register TagPrefix="eSecuritelHITSControls" Namespace="WebSite.Controls" Assembly="WebSite" %>

<asp:Content ID="Content1" ContentPlaceHolderID="eContent" Runat="Server">
       
   <uc:PopupWindow ID="PopupChargeback" runat="server" OnOkPressed="PopupChargeback_Clicked" />
    
   <asp:Image ID="m_imgMDNPost" runat="server" Width="1" Height="1"  />

   <asp:Panel ID="m_pnlPayLater" runat="server" Visible="false"> 
        <div class = "greyblock" style="font-size:18px;white-space:nowrap;">
            <table style="width: 100%;">
                <tr>
                    <td>
                        <b><asp:Label ID="lblPayLaterTransactionId" runat="server" Text="<%$ Resources: FulfillmentManagement, PayLaterTransactionId %>"/></b>
                        <asp:Label ID="m_PayLaterTransactionId" runat="server"/>            
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblPayLaterSubscriberInstructions" runat="server" Font-Size="Small" Text="<%$ Resources: FulfillmentManagement, PayLaterSubscriberInstructions %>"/>
                    </td>
                </tr>
            </table>
        </div>
    </asp:Panel>

    <div class ="claimsWizardFormAction">
        <center>
            <asp:Button ID = "m_btnDone" runat = "server" Text = "<%$ Resources: Default, ButtonDone %>" OnClick = "m_btnDone_Clicked" CssClass = "pagebuttonClaimWizard"/>        
            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
            <%--<asp:Button ID="m_btnEscalation" runat="server" Text="Escalation"  CausesValidation="false" />--%>
            <input id="m_btnEscalation" type="button" runat="server" value="<%$ Resources: EscalationManagement, ButtonEscalation %>"  visible="false"/>
            <asp:Button ID="m_btnPrintRMALabel" runat="server" Text="<%$ Resources : Default,ButtonRMALabel %>" OnClick="m_btnPrintRMALabel_Click" target="_blank"  Visible="false" />
        </center>
    </div>
    
    <asp:Panel ID = "m_pnlNormalClaimPart1" runat = "server">                
      <div class = "greyblock" style="font-size:18px;white-space:nowrap;">
        <table width = "100%">
            <tr>
                <td>
                    <b><asp:Label ID="Label37" runat="server" Text="<%$ Resources: ClaimsManagement, LabelClaimStatusIDColon %>"/></b>
                    <asp:Label ID="m_lblClaimStatus" runat="server"/>
                    <asp:Label ID = "Label39" runat = "server" Text = " / "/>            
                    <asp:Label ID="m_lblClaimId" runat="server"/>            
                </td>
                <asp:Panel ID = "m_pnlAuthorizationNumber" runat = "server" Visible = "False">
                <td align = "right">
                    <b><asp:Localize ID = "Localize1" runat = "server" Text = "<%$ Resources: Default, LabelPaymentAuthorizationNumberColon %>" /></b>&nbsp;
                    <asp:Label ID = "m_lblAuthorizationNumber" runat = "server" />                    
                </td>
                </asp:Panel>
            </tr>
        </table>
      </div>
    </asp:Panel>      
      
    <uc:SubscriberData ID = "m_ucSubscriberData" runat = "server" /> 

    <asp:Panel ID = "m_pnlNormalClaimPart2" runat = "server" >
        <asp:Panel ID="m_pnlFulfillmentLocation" runat="server">
            <h2>
                <asp:Literal ID="m_litFulfillmentLocationHeader" runat="server" Text="<%$ Resources: FulfillmentManagement, LabelFulfillmentLocation %>"
                    />
            </h2>
            <table width="100%" cellpadding="0" cellspacing="0" class="gvtable">
                <tr>
                    <td>
                        <asp:GridView ID="m_grdFulfillment" runat="server" Width="100%" AutoGenerateColumns="False"
                            OnRowDataBound="m_grdFulfillment_RowDataBound" >
                            <Columns>
                                <asp:TemplateField HeaderText="<%$ Resources: OrganizationManagement, LabelOrganization %>">
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblOrganizationName" runat="server"/>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$ Resources: OrganizationManagement, OrganizationUnitMenuLabel %>">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="m_hypOrganizationUnitName" runat="server" Target="_blank" Font-Underline="True"
                                            />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$ Resources: Default, LabelContact %>">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="m_hypContact" runat="server" Target="_blank" Font-Underline="True"
                                            />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$ Resources: OrganizationManagement, TelephoneTableHeader %>">
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblPhone" runat="server"></asp:Label>
                                        <asp:Label ID="m_lblExtension" runat="server"></asp:Label>
                                        <br />
                                        <asp:Label ID="m_lblFax" runat="server"/>
                                        <br />
                                        <asp:HyperLink ID="m_hlEmail" runat="server" CssClass="EmailBox" Font-Underline="True"
                                            />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$ Resources: AddressResources, TableHeaderAddress %>">
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblAddress1" runat="server" />
                                        <asp:Label ID="m_lblAddress2" runat="server" />
                                        <br />
                                        <asp:Label ID="m_lblCity" runat="server" />
                                        <asp:Label ID="m_lblState" runat="server" />
                                        <asp:Label ID="m_lblPostalCode" runat="server" />
                                        <asp:Label ID="m_lblCountry" runat="server" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="<%$ Resources: FulfillmentManagement, LabelHoursOperation %>">
                                    <ItemTemplate>
                                        <asp:Label ID="m_lblHoursOfOperation" runat="server"/>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                            <RowStyle HorizontalAlign = "Left" />
                            <HeaderStyle HorizontalAlign = "Center" />
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </asp:Panel>
        
        <h2>
            <asp:Label ID="Label44" runat="server" Text="<%$ Resources: ClaimsManagement, LabelLossSummary %>" />
        </h2>
        <div class="greyblock">
            <table cellpadding="0" cellspacing="0" class="gvtable" border="0" width="100%">
                <tr>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label6" runat="server" Text="<%$ Resources: SubscriberManagement, LabelFirstName %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblFirstName" runat="server"/>
                    </td>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label12" runat="server" Text="<%$ Resources: SubscriberManagement, LabelSubscriberSince %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblSubscriberSince" runat="server"/>
                    </td>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label26" runat="server" Text="<%$ Resources: SubscriberManagement, StatusLabel %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblStatus" runat="server"/>
                    </td>
                </tr>
                <tr>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label4" runat="server" Text="<%$ Resources: SubscriberManagement, LabelLastName %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblLastName" runat="server"/>
                    </td>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label14" runat="server" Text="<%$ Resources: SubscriberManagement, CoveredSinceLabel %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblCoveredSince" runat="server"/>
                    </td>                    
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label35" runat="server" Text="<%$ Resources: ClaimsManagement, LabelLossTypeColon %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblLossType" runat="server"/>
                    </td>
                </tr>
                <tr>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label36" runat="server" Text="<%$ Resources: OrganizationManagement, HeaderOrganization %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblOrganization" runat="server"/>
                    </td>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label49" runat="server" Text="<%$ Resources: SubscriberManagement, CoverageEffectiveLabel %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblCoverageEffectiveDate" runat="server"/>
                    </td>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label7" runat="server" Text="<%$ Resources: Default, LabelLossDateColon %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblLossDate" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label8" runat="server" Text="<%$ Resources: SubscriberManagement, LabelAccountColon %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblAccountNumber" runat="server" />
                    </td>
                     <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label13" runat="server" Text="<%$ Resources: ClaimsManagement, TerminationDateLabel %>" />
                    </td>
                    <td>
                        <asp:Label ID="m_lblTerminationDate" runat="server"/>
                    </td>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label9" runat="server" Text="<%$ Resources: ClaimsManagement, LabelProcessedbyColon %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblProcessedByLossSummary" runat="server"/>
                    </td>
                </tr>
                <tr>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label10" runat="server" Text="<%$ Resources: ClaimsManagement, ProcessingFeeLabel %>"/>:
                        
                    </td>
                    <td>
                        <asp:Label ID="m_lblProcessingFee" runat="server"/>
                    </td>
                      <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label15" runat="server" Text="<%$ Resources: ClaimsManagement, TerminationReasonLabel %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblTerminationReason" runat="server"/>
                    </td>
                    <td style="font-weight: bold;" align = "right">
                        <asp:Label ID="Label11" runat="server" Text="<%$ Resources: ClaimsManagement, LabelCollectedbyColon %>"/>
                    </td>
                    <td>
                        <asp:Label ID="m_lblCollectedByLossSummary" runat="server"/>
                    </td>
                </tr>                
            </table>
        </div>
        
        <asp:Panel ID="m_pnlShippingDetails" runat="server">
          
            <h2>
                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: LogisticsManagement, LabelShippingDetails %>" />
            </h2>
            <div class="greyblock">
                <table cellpadding="0" cellspacing="0" class="gvtable" border="0" width="25%">
                    <tr valign="top">
                        <td style="font-weight: bold;" align = "right">
                            <asp:Label ID="Label2" runat="server" Text="<%$ Resources: ClaimsManagement, LabelRMANumbColon %>"/>
                        </td>
                        <td>
                            <asp:Label ID="m_lblRMANumber" runat="server"/>
                        </td>
<%--
                        <td style="font-weight: bold;" align = "right">
                            <asp:Label ID="Label3" runat="server" Text="<%$ Resources : LogisticsManagement,LabelShippingStatusColon %>" />
                        </td>
                        <td>
                            <asp:Label ID="m_lblShippingStatus" runat="server" />
                        </td>
--%>
                    </tr>
                </table>
            </div>
        </asp:Panel>

        <asp:Panel ID="m_pnlClaimDetails" runat="server">
          
            <h2>
                <asp:Literal ID="Label16" runat="server" Text="<%$ Resources: ClaimsManagement, LabelLossDetails %>"/>
            </h2>
            <div class="greyblock">
                <table cellpadding="0" cellspacing="0" class="gvtable" border="0" width="100%">
                    <tr valign="top">
                        <td>
                            <table>
                                <tr>
                                    <td valign="top" align="right">
                                        <b>
                                            <asp:Label ID="Label17" runat="server" Text="<%$ Resources: ClaimsManagement, LabelLossDescription %>"/></b>
                                    </td>
                                    <td style="overflow: inherit;">
                                        <asp:TextBox ID="m_txtLossDescription" runat="server" ReadOnly="True" TextMode="MultiLine"
                                            CssClass="notestb"/>
                                    </td>
                                </tr>
                                <asp:Panel ID="m_pnlLostStolen" runat="server" Visible="False" >
                                    <tr>
                                        <td align="right">
                                            <b>
                                                <asp:Label ID="Label19" runat="server" Text="<%$ Resources: ClaimsManagement, PoliceReportNumberLabel %>"/></b>
                                        </td>
                                        <td>
                                            <asp:Label ID="m_lblPoliceReportNumber" runat="server"/>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <b>
                                                <asp:Label ID="Label20" runat="server" Text="<%$ Resources: ClaimsManagement, PoliceStationLabel %>"/></b>
                                        </td>
                                        <td>
                                            <asp:Label ID="m_lblPoliceStation" runat="server"/>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <b>
                                                <asp:Label ID="Label21" runat="server" Text="<%$ Resources: UsersManagement, LabelUserPhoneNumber %>"/></b>
                                        </td>
                                        <td>
                                            <asp:Label ID="m_lblPhoneNumber" runat="server"/>
                                        </td>
                                    </tr>
                                </asp:Panel>
                                <asp:Panel ID = "m_pnlDamageDefectiveWarranty" runat = "server" Visible= "False">
                                    <tr>
                                        <td align = "right">
                                            <b><asp:Label ID = "Label1" runat = "server" Text = "<%$ Resources: ClaimsManagement, LabelWaterDamageColon %>"/></b>
                                        </td>
                                        <td>
                                            <asp:Label ID = "m_lblWaterDamage" runat = "server"/>
                                        </td>
                                    </tr>
                                </asp:Panel>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
            <h2>
                <asp:Label ID="Label22" runat="server" Text="<%$ Resources: HandsetManagement, LabelHandsetInformation %>" />
            </h2>
            <div class="greyblock">
                <table runat="server" id="m_tblHandsetInformation" cellpadding="0" cellspacing="0"
                    class="gvtable" border="0" width="70%">
                    <tr id="Tr1" runat="server">
                        <td id="Td1" runat="server">
                            &nbsp;
                        </td>
                        <td id="Td2" runat="server">
                            <b>
                                <asp:Label ID="Label23" runat="server" Text="<%$ Resources: HandsetManagement, LabelOriginal %>" /></b>
                        </td>
                        <td id="Td3" runat="server">
                            <b>
                                <asp:Label ID="Label24" runat="server" Text="<%$ Resources: HandsetManagement, LabelClaimed %>"/></b>
                        </td>
                        <td id="Td4" runat="server">
                            <b>
                                <asp:Label ID="Label25" runat="server" Text="<%$ Resources: HandsetManagement, LabelVerified %>"/></b>
                        </td>
                    </tr>
                    <tr id="Tr2" runat="server">
                        <td id="Td5" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label27" runat="server" Text="<%$ Resources: ModelManagement, LabelModelColon %>"/>
                        </td>
                        <td id="Td6" runat="server">
                            <asp:HyperLink ID="m_hypOriginalModel" runat="server" Target="_blank" Font-Underline="True"
                                />
                        </td>
                        <td id="Td7" runat="server">
                            <asp:Label ID="m_lblClaimedModel" runat="server"/>
                        </td>
                        <td id="Td8" runat="server">
                            <asp:Label ID="m_lblVerifiedModel" runat="server" />
                        </td>
                    </tr>
                    <tr id="Tr3" runat="server">
                        <td id="Td9" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label28" runat="server" Text="<%$ Resources: HandsetManagement, LabelMDNColon %>" />
                        </td>
                        <td id="Td10" runat="server">
                            <asp:HyperLink ID="m_hypOriginalMDN" runat="server" Target="_blank" Font-Underline="True"
                                />
                        </td>
                        <td id="Td11" runat="server">
                            <asp:Label ID="m_lblClaimedMDN" runat="server" />
                        </td>
                        <td id="Td12" runat="server">
                            <asp:Label ID="m_lblVerifiedMDN" runat="server"/>
                        </td>
                    </tr>
                    <tr id="Tr4" runat="server">
                        <td id="Td13" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label29" runat="server" Text="<%$ Resources: HandsetManagement, LabelESNIMEI %>"/>
                        </td>
                        <td id="Td14" runat="server">
                            <asp:HyperLink ID="m_hypOriginalESN_IMEI" runat="server" Target="_blank" Font-Underline="True"
                                />
                        </td>
                        <td id="Td15" runat="server">
                            <asp:Label ID="m_lblClaimedESN_IMEI" runat="server" />
                        </td>
                        <td id="Td16" runat="server">
                            <asp:Label ID="m_lblVerifiedESN_IMEI" runat="server" />
                        </td>
                    </tr>
                    <tr id="Tr5" runat="server">
                        <td id="Td17" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label30" runat="server" Text="<%$ Resources: FulfillmentManagement, LabelFulfilledByColon %>" />
                        </td>
                        <td id="Td18" runat="server">
                            <asp:HyperLink ID="m_hypOriginalFulfilledBy" runat="server" Target="_blank" Font-Underline="True"
                                />
                        </td>
                        <td id="Td19" runat="server">
                            <asp:Label ID="m_lblClaimedFulfilledBy" runat="server"/>
                        </td>
                        <td id="Td20" runat="server">
                            <asp:Label ID="m_lblVerifiedFulfilledBy" runat="server"/>
                        </td>
                    </tr>
                    <tr id="Tr6" runat="server">
                        <td id="Td21" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label31" runat="server" Text="<%$ Resources: FulfillmentManagement, LabelFulfilledDateColon %>"/>
                        </td>
                        <td id="Td22" runat="server">
                            <asp:Label ID="m_lblOriginalFulfilledDate" runat="server"/>
                        </td>
                        <td id="Td23" runat="server">
                            <asp:Label ID="m_lblClaimedFulfilledDate" runat="server"/>
                        </td>
                        <td id="Td24" runat="server">
                            <asp:Label ID="m_lblVerifiedFulfilledDate" runat="server"/>
                        </td>
                    </tr>
                    <tr id="Tr7" runat="server">
                        <td id="Td25" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label32" runat="server" Text="<%$ Resources: HandsetManagement, LabelHandsetSupplierColon %>"/>
                        </td>
                        <td id="Td26" runat="server">
                            <asp:HyperLink ID="m_hypOriginalHandsetSupplier" runat="server" Target="_blank" Font-Underline="True"
                                />
                        </td>
                        <td id="Td27" runat="server">
                            <asp:Label ID="m_lblClaimedHandsetSupplier" runat="server"/>
                        </td>
                        <td id="Td28" runat="server">
                            <asp:Label ID="m_lblVerifiedHandsetSupplier" runat="server"/>
                        </td>
                    </tr>
                    <tr id="Tr8" runat="server">
                        <td id="Td29" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label33" runat="server" Text="<%$ Resources: ClaimsManagement, WarrantyExpirationLabel %>" />
                        </td>
                        <td id="Td30" runat="server">
                            <asp:Label ID="m_lblOriginalWarrantyExpiration" runat="server"/>
                        </td>
                        <td id="Td31" runat="server">
                            <asp:Label ID="m_lblClaimedWarrantyExpiration" runat="server" />
                        </td>
                        <td id="Td32" runat="server">
                            <asp:Label ID="m_lblVerifiedWarrantyExpiration" runat="server" />
                        </td>
                    </tr>
                    <tr id="Tr9" runat="server">
                        <td id="Td33" style="font-weight: bold;" runat="server">
                            <asp:Label ID="Label34" runat="server" Text="<%$ Resources: HandsetManagement, LabelHandsetReturnedColon %>"  />
                        </td>
                        <td id="Td34" runat="server">
                            <asp:Label ID="m_lblHandsetReturnedHandsetInformation" runat="server"/>
                        </td>
                    </tr>
                </table>
            </div>
        </asp:Panel>

    </asp:Panel>

    <uc:NoteHistory ID = "m_ucNoteHistory" runat = "server" OnNoteSubmitted="m_ucNoteHistory_NoteSubmitted"  />
     <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="Label3" runat="server" EnableViewState="false" Text="<%$ Resources: SubscriberManagement, NotesHeaderText %>" />
                </td>
                <td align="right" style="margin: 0px; padding: 2px;">
                    <asp:ImageButton ID="imgArchiveNote" runat="server" CssClass="modalClose" Height="18px"
                        ImageUrl="~/images/closeButton.png" CausesValidation="false" 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="hiddenTargetControlForModalPopup"
        Style="display: none" />
    <eSecuritelHITSControls:HITSModalPopupExtender runat="server" ID="modalPopupWindow" TargetControlID="hiddenTargetControlForModalPopup"
        PopupControlID="pnlNoteArchive" BackgroundCssClass="modalBackground" BehaviorID="DisplayMessage"
         PopupDragHandleControlID="pnlNoteArchiveHeader" CancelControlID="imgArchiveNote" />
</asp:Content>

