<%@ control language="VB" autoeventwireup="false" inherits="Client_CC_PackageSwitch, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<script language="javascript" type="text/javascript">
    function PriceChange(DDL, PriceTxBx, S, gS, fMt) {

        var DDL_Cycle = document.getElementById(DDL);
        var TxBx_Price = document.getElementById(PriceTxBx);
        var Price = myParseFloat(DDL_Cycle.options[DDL_Cycle.selectedIndex].value.split("|")[1], S, gS);
        TxBx_Price.value = FormatLblPrice(NumberRounding(Price, 2), DDL_Cycle.options[DDL_Cycle.selectedIndex].value.split("|")[2] + ' ', S, gS, fMt);
    }

    function Price(HTxBx_Price, TxBx_Price) {
        var HTX = document.getElementById(HTxBx_Price);
        var TX = document.getElementById(TxBx_Price);
        HTX.value = TX.value;
    }
</script>

<div class="col-xs-12">
    <div class="card">
        <div class="body">

            <div class="row" id="tr_spmultitenantnote" runat="server" visible="false">
                <div class="col-xs-12">
                    <asp:Label ID="Lbl_SPMultitentantNote" CssClass="package-switch" runat="server" Text='<%$Resources:Content,USM0069 %>'></asp:Label>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,L0003%>"
                        EnableViewState="false" />:
                </div>
                <div class="col-sm-5 col-xs-12" id="Td_Package" runat="server">
                </div>
            </div>
            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,L0004%>"
                            EnableViewState="false" />:</label>
                </div>
                <div class="col-sm-5 col-xs-12">
                    <div class="form-group">
                        <asp:DropDownList ID="DDL_Package" AutoPostBack="true" runat="server">
                        </asp:DropDownList>
                    </div>
                </div>
            </div>
            <div class="row" id="TR_Cycle" runat="server">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,GN00001473%>"
                            EnableViewState="false" />:</label>
                </div>
                <div class="col-sm-5 col-xs-12">
                    <asp:DropDownList ID="DDL_Cycle" runat="server">
                    </asp:DropDownList>
                </div>
            </div>
            <div class="row" id="TR_Price" runat="server">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,GN000112%>"
                            EnableViewState="false" />:</label>
                </div>
                <div class="col-sm-5 col-xs-12">
                    <div class="form-group">
                        <div class="form-line">
                            <asp:HiddenField ID="HTxBx_Price" runat="server" />
                            <asp:TextBox ID="TxBx_Price" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <br />
                    <div id="Div_PriceFreeze" runat="server">
                        <asp:CheckBox ID="CB_PriceFreeze" runat="server" Text="<%$ Resources:Content,SMI0286%>" />
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="col-sm-3 col-xs-12 row-label">
                    <label>
                        *<asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,GN000148%>"
                            EnableViewState="false" />:</label>
                </div>
                <div class="col-sm-5 col-xs-12">
                    <asp:TextBox ID="TxBx_Comments" runat="server" Height="80px" TextMode="MultiLine" Width="100%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfv_Comments" ValidationGroup="PackageSwitch" ControlToValidate="TxBx_Comments" runat="server" Text="<%$ Resources:Content,GN0000008%>"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <asp:Button ID="Btn_Generate" ValidationGroup="PackageSwitch" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000281%>" />
                    <asp:Button ID="Btn_Cancel" CausesValidation="false" CssClass="btn btn-primary waves-effect" runat="server" Text='<%$ Resources:Content, GN0000572 %>' />
                </div>
            </div>

        </div>
    </div>
</div>
