<%@ control language="VB" autoeventwireup="false" inherits="Billing_CC_SellAddOn, MachSol.MachPanel.Web" %>
<%@ Register Assembly="GroupRadioButton" Namespace="Vladsm.Web.UI.WebControls" TagPrefix="EM" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/SellEasyAddOn.ascx" TagName="SellEasyAddOn" TagPrefix="EM" %>

<div class="row">
    <div id="Div_Error" class="col-xs-12 row-label col-red" runat="server" visible="false">
    </div>
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,GN000139%>" EnableViewState="false"></asp:Literal>
                </h3>
            </div>
            <div class="body">
                <div id="Pnl_HideOnPreviewBill" runat="server">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,GN000140%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_PackageType" runat="server" AutoPostBack="True">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN000141%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_Package" runat="server" AutoPostBack="true">
                                </asp:DropDownList>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-xs-12">
                        <EM:SellEasyAddOn ID="SellEasyAddOn" runat="server" />
                    </div>
                </div>

                <div class="row" id="Pnl_HideOld" runat="server" visible="false">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN000142%>"
                                EnableViewState="false" />
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <table cellpadding="0" cellspacing="0" border="0">
                                <div class="row">
                                    <div class="col-sm-4 col-xs-12">
                                        <asp:DropDownList ID="DDL_AddOnLabel" runat="server" AutoPostBack="True">
                                        </asp:DropDownList>
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="display-inline" runat="server" id="Div_Quantity">
                                            x
                            <asp:TextBox ID="TxBx_Quantity" runat="server" Text="<%$ Resources:Content,GN00001032%>"></asp:TextBox>
                                            <EM:FilteredTextBoxExtender ID="FTE_DisplayValue" Enabled="true" runat="server"
                                                FilterType="Numbers,Custom" ValidChars="0123456789" TargetControlID="TxBx_Quantity">
                                            </EM:FilteredTextBoxExtender>
                                        </div>
                                    </div>
                                </div>
                            </table>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal37" runat="server" Text='<%$ Resources:Content,Dev336%>' />:
                        </div>
                        <div class="col-sm-4 col-xs-12"> 
                            <textarea id="TxBx_PackageComments" runat="server" cols="80" rows="7" readonly />

                        </div>
                    </div>
                    <div class="row" id="Tr_Addons" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN000129%>"
                                EnableViewState="false" />
                        </div>
                        <td colspan="2">
                            <asp:DropDownList ID="DDL_AddOn" runat="server" AutoPostBack="True">
                            </asp:DropDownList>
                            <asp:Repeater ID="Rep_CBL_AddOns" runat="server">
                                <ItemTemplate>
                                    <table class="tblNewListing">
                                        <div class="row">
                                            <td colspan="2">
                                                <asp:CheckBox ID="CB_AddOn" runat="server" />
                                                <input type="hidden" id="HTxBx_AddOnId" runat="server" />
                                                <input type="hidden" id="HTxBx_ODiscount" runat="server" />
                                                <input type="hidden" id="HTxBx_OSetup" runat="server" />
                                                <input type="hidden" id="HTxBx_OPrice" runat="server" />
                                        </div>
                                        </div>
                                                <div class="row" id="TR_CBBilling" runat="server">
                                                    <div class="col-sm-4 col-xs-12">
                                                        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN0000201%>"
                                                            EnableViewState="false" />:
                                <asp:TextBox ID="TxBx_Setup" runat="server"></asp:TextBox>
                                                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                                            EnableViewState="false" />
                                                        <asp:TextBox ID="TxBx_Price" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                    </table>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <table class="tblNewListing">
                                        <div class="row">
                                            <td colspan="2">
                                                <asp:CheckBox ID="CB_AddOn" runat="server" />
                                                <input type="hidden" id="HTxBx_AddOnId" runat="server" />
                                                <input type="hidden" id="HTxBx_ODiscount" runat="server" />
                                                <input type="hidden" id="HTxBx_OSetup" runat="server" />
                                                <input type="hidden" id="HTxBx_OPrice" runat="server" />
                                        </div>
                                        </div>
                                                <div class="row" id="TR_CBBilling" runat="server">
                                                    <div class="col-sm-4 col-xs-12">
                                                        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN0000201%>"
                                                            EnableViewState="false" />:
                                <asp:TextBox ID="TxBx_Setup" runat="server"></asp:TextBox>
                                                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                                            EnableViewState="false" />
                                                        <asp:TextBox ID="TxBx_Price" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                    </table>
                                </AlternatingItemTemplate>
                            </asp:Repeater>
                            <asp:Repeater ID="Rep_RBL_AddOns" runat="server">
                                <ItemTemplate>
                                    <table class="tblNewListing">
                                        <div class="row">
                                            <td colspan="2">
                                                <EM:GroupRadioButton ID="RB_AddOn" runat="server" />
                                                <label>
                                                    <div id="Div_AddOn" runat="server" class="display-inline">
                                                    </div>
                                                </label>
                                                <input type="hidden" id="HTxBx_AddOnId" runat="server" />
                                                <input type="hidden" id="HTxBx_ODiscount" runat="server" />
                                                <input type="hidden" id="HTxBx_OSetup" runat="server" />
                                                <input type="hidden" id="HTxBx_OPrice" runat="server" />
                                        </div>
                                        </div>
                                                <div class="row" id="TR_RBBilling" runat="server">
                                                    <div class="col-sm-4 col-xs-12">
                                                        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN0000201%>"
                                                            EnableViewState="false" />:
                                <asp:TextBox ID="TxBx_Setup" runat="server"></asp:TextBox>
                                                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                                            EnableViewState="false" />
                                                        <asp:TextBox ID="TxBx_Price" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                    </table>
                                </ItemTemplate>
                                <AlternatingItemTemplate>
                                    <table class="tblNewListing">
                                        <div class="row">
                                            <td colspan="2">
                                                <EM:GroupRadioButton ID="RB_AddOn" runat="server" />
                                                <label>
                                                    <div id="Div_AddOn" runat="server" class="display-inline">
                                                    </div>
                                                </label>
                                                <input type="hidden" id="HTxBx_AddOnId" runat="server" />
                                                <input type="hidden" id="HTxBx_ODiscount" runat="server" />
                                                <input type="hidden" id="HTxBx_OSetup" runat="server" />
                                                <input type="hidden" id="HTxBx_OPrice" runat="server" />
                                        </div>
                                        </div>
                                                <div class="row" id="TR_RBBilling" runat="server">
                                                    <div class="col-sm-4 col-xs-12">
                                                        <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN0000201%>"
                                                            EnableViewState="false" />:
                                <asp:TextBox ID="TxBx_Setup" runat="server"></asp:TextBox>
                                                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                                            EnableViewState="false" />
                                                        <asp:TextBox ID="TxBx_Price" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                    </table>
                                </AlternatingItemTemplate>
                            </asp:Repeater>
                    </div>


                    <asp:Panel ID="Pnl_BillingOFFUI" runat="server">
                        <div class="row">
                            <div id="TD_Cycle" runat="server" class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,GN000144%>"
                                    EnableViewState="false" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <input id="HTxBx_PGID" runat="server" type="hidden" />
                                <input id="HTxBx_CID" runat="server" type="hidden" />
                                <input id="HTxBx_CS" runat="server" type="hidden" />
                                <input id="HTxBx_DT" runat="server" type="hidden" />
                                <asp:DropDownList ID="DDL_Cycle" runat="server" AutoPostBack="True">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="row" id="TR_Setup" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                *<asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,GN0000201%>"
                                    EnableViewState="false" />:
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <input type="hidden" id="HTxBx_ODiscount" runat="server" />
                                <input type="hidden" id="HTxBx_OSetup" runat="server" />
                                <input type="hidden" id="HTxBx_OPrice" runat="server" />
                                <asp:TextBox ID="TxBx_SetupPrice" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <div class="row" id="TR_Price" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                *
            <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,GN000112%>"
                EnableViewState="false" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:TextBox ID="TxBx_Paid" runat="server"></asp:TextBox>
                            </div>
                        </div>
                        <div class="row" id="Tr_PriceFreeze" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN000145%>"
                                    EnableViewState="false" />
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:CheckBox ID="ChBx_PriceFreeze" runat="server" Checked="True"></asp:CheckBox>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 col-xs-12"></div>
                            <div class="col-sm-4 col-xs-12">
                                <asp:LinkButton CssClass="linkButtonCancel" ID="LB_PreviewBill" runat="server" CausesValidation="False"
                                    Text="<%$ Resources:Content,GN000146%>"></asp:LinkButton>
                            </div>
                        </div>
                    </asp:Panel>

                    <asp:Panel runat="server" ID="TR_PreviewBill" Visible="false">
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                    EnableViewState="false" />:
                            </div>
                            <div class="col-sm-9 col-xs-12" id="TD_Price" runat="server">
                            </div>
                        </div>
                        <div class="row" id="Tr_Discount" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,GN000147%>"
                                    EnableViewState="false" />:
                            </div>
                            <div class="col-sm-9 col-xs-12" id="TD_Discount" runat="server">
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN0000201%>"
                                    EnableViewState="false" />:
                            </div>
                            <div class="col-sm-9 col-xs-12" id="TD_Setup" runat="server">
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN000114%>"
                                    EnableViewState="false" />:
                            </div>
                            <div class="col-sm-9 col-xs-12" id="TD_Total" runat="server">
                            </div>
                        </div>
                        <div class="row" id="Tr_YouGet" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,USM0098%>"
                                    EnableViewState="false" />:
                            </div>
                            <div class="col-sm-9 col-xs-12" id="TD_Income" runat="server">
                            </div>
                        </div>
                    </asp:Panel>
                </div>

                <div id="Pnl_HideOnPreviewBill2" runat="server">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,GN000148%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:TextBox ID="TxBx_Comments" runat="server" MaxLength="500" TextMode="MultiLine" Width="100%" Height="150px"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12">
                            <asp:Button ID="Btn_Add" class="btn btn-primary waves-effect btnAction" runat="server" Text="<%$ Resources:Content,GN000111%>" />
                            <asp:Button class="btn btn-primary waves-effect" ID="LB_Close" runat="server" Text="<%$ Resources:Content,GN0000572%>" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script lang="javascript">
    AllowArrowKeysInFilteredTextBoxExtender('<%=FTE_DisplayValue.ClientID%>');
</script>
