<%@ Page Title="" Language="C#" MasterPageFile="~/masterpages/eDashboard.master"
    AutoEventWireup="true" CodeBehind="Wizard.aspx.cs" Inherits="WebSite.site.Administrative.RatePlans.Wizard" %>

<%@ Register Src="../../../Controls/RatePlan/ServicePlan.ascx" TagName="ServicePlan"
    TagPrefix="uc" %>
<%@ Register Src="../../../Controls/RatePlan/ServicePlanDetails.ascx" TagName="ServicePlanDetails"
    TagPrefix="uc" %>
<%@ Register Src="../../../Controls/RatePlan/RatePlanContract.ascx" TagName="RatePlanContract"
    TagPrefix="uc" %>
<%@ Register Src="../../../Controls/RatePlan/RatePlanFeatures.ascx" TagName="RatePlanFeatures"
    TagPrefix="uc" %>
<%@ Register Src="../../../Controls/RatePlan/ContractFeatureMap.ascx" TagName="ContractFeatureMap"
    TagPrefix="uc" %>
<%@ Register Src="~/Controls/DefaultHeader.ascx" TagName="DefaultHeader" TagPrefix="uc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=ResolveClientUrl("~/style/smoothness/jquery-ui-1.9.1.custom.css")%>" />
    <link rel="stylesheet" type="text/css" href="<%=ResolveClientUrl("~/style/eMain.css")%>" />
    <!--[if IE]>
        <script type="text/javascript" src="/eSecuritel/HITS/WebSite/script/excanvas.compiled.js"></script>
    <![endif]-->
    <script src="<%=ResolveClientUrl("~/script/jquery-1.8.3.min.js")%>" type="text/javascript"></script> 
    <script src="<%=ResolveClientUrl("~/script/jquery-ui-1.8.12.custom.js")%>" type="text/javascript"></script> 
    <script src="<%=ResolveClientUrl("~/script/inputmask.js")%>" type="text/javascript"></script> 
    <script src="<%=ResolveClientUrl("~/script/jquery.bt.min.js")%>" type="text/javascript"></script> 
    <script src="<%=ResolveClientUrl("~/script/serviceplan.js")%>" type="text/javascript"></script> 

    <asp:Label ID="m_litSearchTip" runat="server" Text="<%$ Resources: Default, LabelHITSSubMenuServicePlan %>" CssClass="floatright" />

    <h1>
        <asp:Literal ID="m_litHeader" runat="server" Text="<%$ Resources : ServicePlanManagement, LabelServicePlan %>" />
    </h1>
    <uc:DefaultHeader ID="DefaultHeader1" runat="server" />

    <div id="ServicePlanWizard">
        <div id="breadcrumb">
            <asp:Label ID="lblStatus" runat="server" Visible="false" />
        </div>
        <asp:MultiView runat="server" ActiveViewIndex="0" ID="ServicePlanWizardViews">
            <asp:View runat="server" ID="ServicePlanView">
                <div id="ServicePlanStepDiv">
                    <uc:ServicePlan ID="ucServicePlan" runat="server" />
                    <br />
                    <br />
                    <div class="greyblock" style="overflow: hidden">
                        <asp:Button runat="server" ID="btn_DefineContract" Text="<%$ Resources: ServicePlanManagement, ButtonDefineContracts %>" ValidationGroup="ServicePlanValildationGroup" />
                    </div>
                </div>
            </asp:View>
            <asp:View runat="server" ID="ContractView">
                <div id="ContractStepDiv">
                    <div>
                        <h2><asp:CheckBox Text="<%$ Resources: ServicePlanManagement, ChkBoxInsurance %>" runat="server" ID="chkInsurance" AutoPostBack="true" /></h2>
                        <br/>
                        <uc:RatePlanContract ID="ucInsuranceContract" runat="server" EnableInlineSave="false" />
                    </div>
                    <div>
                        <h2><asp:CheckBox Text="<%$ Resources: ServicePlanManagement, ChkBoxExtendedService %>" runat="server" ID="chkService" AutoPostBack="true" /></h2>
                        <br/>
                        <uc:RatePlanContract ID="ucServiceContract" runat="server" EnableInlineSave="false" />
                    </div>
                    <div>
                        <h2><asp:CheckBox Text="<%$ Resources: ServicePlanManagement, ChkBoxMWService %>" runat="server" ID="chkMW" AutoPostBack="true" /></h2>
                        <br/>
                        <uc:RatePlanContract ID="ucMWContract" runat="server" EnableInlineSave="false" />
                    </div>
                    <div>
                        <h2><asp:CheckBox Text="<%$ Resources: ServicePlanManagement, ChkBoxReplacementService %>" runat="server" ID="chkReplacement" AutoPostBack="true" /></h2>
                        <br/>
                        <uc:RatePlanContract ID="ucReplacementContract" runat="server" EnableInlineSave="false" />
                    </div>
                    <div>
                        <h2><asp:CheckBox Text="<%$ Resources: ServicePlanManagement, ChkBoxAdditionalService %>" runat="server" ID="chkAdditional" AutoPostBack="true" /></h2>
                        <br/>
                        <uc:RatePlanContract ID="ucAdditionalContract" runat="server" EnableInlineSave="false" />
                    </div>
                    <br />
                    <br />
                    <div class="greyblock" style="overflow: hidden">
                        <asp:Button runat="server" ID="btn_Back1" Text="<%$ Resources: Default, ButtonBack %>" OnClick="btn_Back_Click" />
                        <asp:Button runat="server" ID="btn_AddFeatures" Text="<%$ Resources: ServicePlanManagement, ButtonAddFeatures %>" Enabled="false" />
                    </div>
                </div>
            </asp:View>
            <asp:View runat="server" ID="AddFeaturesView">
                <div id="AddFeaturesStepDiv">
                    <uc:ContractFeatureMap ID="ucContractFeatureMap" runat="server" />
                    <br />
                    <br />
                    <div class="greyblock" style="overflow: hidden">
                        <asp:Button runat="server" ID="btn_Back2" Text="<%$ Resources: Default, ButtonBack %>" OnClick="btn_Back_Click" />
                        <asp:Button runat="server" ID="btn_DefineFeatures" Text="<%$ Resources: ServicePlanManagement, ButtonDefineFeatures %>" />
                    </div>
                </div>
            </asp:View>
            <asp:View runat="server" ID="DefineFeaturesView">
                <div id="DefineFeaturesStepDiv">
                    <uc:RatePlanFeatures ID="ucRatePlanFeatures" runat="server" />
                    <br />
                    <br />
                    <div class="greyblock" style="overflow: hidden">
                        <asp:Button runat="server" ID="btn_Back3" Text="<%$ Resources: Default, ButtonBack %>" OnClick="btn_Back_Click" />
                        <asp:Button runat="server" ID="btn_Confirm" Text="<%$ Resources: ServicePlanManagement, ButtonReview %>" />
                    </div>
                </div>
            </asp:View>
            <asp:View runat="server" ID="ConfirmAndSaveView">
                <div id="ConfirmationStepDiv">
                    <div style="display:block;text-align:right;width:auto;">
                        <asp:LinkButton ID="lnk_EditServicePlan" runat="server" Text="<%$ Resources: ServicePlanManagement, HyperLinkEditServicePlan %>" />  
                    </div>
                    <uc:ServicePlan ID="ucServiceSummary" runat="server" ReadOnly="true" />
                    <br />
                    <br />
                    <div style="display:block;text-align:right;width:auto;">
                        <asp:LinkButton ID="lnk_EditContracts" runat="server" Text="<%$ Resources: ServicePlanManagement, HyperLinkEditContracts %>" />
                    </div>
                    <uc:ServicePlanDetails ID="ucServicePlanDetails" runat="server" />
                    <br />
                    <br />
                    <div style="display:block;text-align:right;width:auto;">
                        <asp:LinkButton ID="lnk_EditFeatures" runat="server" Text="<%$ Resources: ServicePlanManagement, HyperLinkEditFeatures %>" />  
                    </div>
                    <uc:RatePlanFeatures ID="ucFeatureSummary" runat="server" ReadOnly="true" />
                    <br />
                    <br />
                    <div class="greyblock" style="overflow: hidden">
                        <asp:Button runat="server" ID="btn_Back4" Text="<%$ Resources: Default, ButtonBack %>" OnClick="btn_Back_Click" />
                        <asp:Button runat="server" ID="btn_Save" Text="<%$ Resources: Default, ButtonSave %>" />
                    </div>
                </div>
            </asp:View>
        </asp:MultiView>
    </div>
</asp:Content>
