<%@ Page Language="C#" MasterPageFile="~/masterpages/eFulfillmentWizard.master" MaintainScrollPositionOnPostback="true"
    AutoEventWireup="True" Inherits="site_HITS_Claims_Wizard_Fulfillment_Rejection"
    Title="Fulfillment Wizard - Rejection" Theme="eMain" Culture="auto" 
    UICulture="auto" Codebehind="Rejection.aspx.cs" %>

<%@ Register Src="~/Controls/GridViews/NoteHistory.ascx" TagPrefix="uc" TagName="NoteHistory" %>
<%@ Register Src="~/Controls/HITSCalendar.ascx" TagName="HITSCalendar" TagPrefix="uc" %>
<%@ Register Src="~/Controls/Claims/SubscriberDetails.ascx" TagName="SubscriberDetails"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/GridViews/ClaimHistory.ascx" TagName="ClaimHistory"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/GridViews/HandsetHistory.ascx" TagPrefix="uc" TagName="HandsetHistory" %>
<%@ Register TagPrefix="eSecuritelHITSControls" Namespace="WebSite.Controls" Assembly="WebSite" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <div style="text-align: center; margin-top: 3px; margin-bottom: 10px; width: 100%"
        class="claimsWizardSectionGridInput">
        <asp:Button ID="m_btnDone" runat="server" Text="Done" OnClick="m_btnDone_Clicked"
            CssClass="pagebuttonClaimWizard" />
        <span style="margin-right: 10px;">
            <input id="m_btnEscalation" type="button" runat="server" value="Escalation" visible="false" />
        </span>
    </div>
    <asp:Panel ID="m_pnlEmailFormCollapsed" runat="server" CssClass="collapsePanel">
        <div style="float: left">
            <asp:Localize ID="Localize2" runat="server" EnableViewState="false" Text="Send Email to Designated Client Recipients" /></div>
        <div style="float: left; margin-left: 15px;">
            <asp:Label ID="m_lblShowHide" runat="server" Text="(Hide Details...)" /></div>
        <div style="float: right; margin-right: 5px; vertical-align: middle;">
            <asp:ImageButton ID="m_ibtnShowHide" runat="server" CausesValidation="false" ImageUrl="~/images/expand_blue.jpg"
                AlternateText="(Hide Details...)" />
        </div>
    </asp:Panel>
    <asp:Panel ID="m_pnlEmailForm" runat="server" CssClass="uncollapsePanel">
        <center>
            <div class="claimsWizardFormAction">
                <asp:Button ID="m_btnSend" runat="server" CssClass="pagebuttonClaimWizard" Text="Send"
                    OnClick="m_btnSend_Clicked" CausesValidation="False" />
            </div>
            <div style="margin-top: -5px;">
                <asp:Literal ID="m_litEmailStatus" runat="server" />
            </div>
        </center>
        <table cellpadding="0" cellspacing="0" class="gvtable" border="0">
            <tr>
                <td style="font-weight: bold">
                    <asp:Localize ID="Localize3" runat="server" EnableViewState="false" Text="<%$ Resources : Default,LabelToColon %>" />
                </td>
                <td>
                    <asp:TextBox ID="m_txtTo" runat="server" Width="400px" />
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold;">
                    <asp:Localize ID="Localize4" runat="server" EnableViewState="false" Text="<%$ Resources : Default,LabelFromColon %>" />
                </td>
                <td>
                    <asp:Label ID="m_lblFrom" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold;">
                    <asp:Localize ID="Localize5" runat="server" EnableViewState="false" Text="Subject:" />
                </td>
                <td>
                    <asp:Literal ID="m_lblSubject" runat="server" Text="Claim Rejection" />
                </td>
            </tr>
            <tr>
                <td valign="top" style="font-weight: bold;">
                    <asp:Localize ID="Localize6" runat="server" EnableViewState="false" Text="Body:" />
                </td>
                <td>
                    <asp:TextBox ID="m_txtBody" runat="server" TextMode="MultiLine" Width="400px" Height="120px" />
                </td>
            </tr>
        </table>
        <hr />
    </asp:Panel>
    <ajaxToolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="Server"
        TargetControlID="m_pnlEmailForm" ExpandControlID="m_pnlEmailFormCollapsed" CollapseControlID="m_pnlEmailFormCollapsed"
        TextLabelID="m_lblShowHide" ImageControlID="m_ibtnShowHide" ExpandedText="(Hide Details...)"
        CollapsedText="(Show Details...)" ExpandedImage="~/images/collapse_blue.jpg"
        CollapsedImage="~/images/expand_blue.jpg" SuppressPostBack="true" Collapsed="true" />
    <uc:SubscriberDetails ID="ucSubscriberDetails" runat="server" />
    <uc:HandsetHistory ID="ucHandsetHistory" runat="server" />
    <uc:ClaimHistory ID="ucClaimHistory" runat="server" />
    <asp:Panel ID="m_pnlRejectionComplete" runat="server" Style="display: none; width: 300px;">
        <asp:Panel ID="m_pnlRejectionCompleteHeader" runat="server" EnableViewState="false"
            CssClass="modalHeader">
            <asp:Localize ID="Localize1" runat="server" EnableViewState="false" Text="Rejection Complete" />
        </asp:Panel>
        <asp:Panel ID="m_pnlRejectionCompleteBody" runat="server" CssClass="modalContent">
            <div style="padding: 5px;">
                <asp:Label ID="m_lblRejectionCompleteBody" runat="server" />
            </div>
            <asp:Button ID="m_btnReturnToFulfillmentMaster" runat="server" EnableViewState="false"
                Text="Return" OnClick="m_btnReturnToFulfillmentMaster_Clicked" />
        </asp:Panel>
    </asp:Panel>
    <asp:Button runat="server" EnableViewState="false" ID="hiddenTargetControlForModalPopup"
        Style="display: none" />
    <eSecuritelHITSControls:HITSModalPopupExtender runat="server" ID="m_modalRejectionCompletePopupExtender"
        TargetControlID="hiddenTargetControlForModalPopup" PopupControlID="m_pnlRejectionComplete"
        BackgroundCssClass="modalBackground"  PopupDragHandleControlID="m_pnlRejectionCompleteHeader" />
    <uc:NoteHistory ID="m_ucNoteHistory" runat="server" OnNoteSubmitted="m_ucNoteHistory_NoteSubmitted" />
</asp:Content>
