<%@ Page Title="" Language="C#" MasterPageFile="~/Application.Master" AutoEventWireup="true" CodeBehind="Currency.aspx.cs" Inherits="DreamSoft_Web_App.Administration.Currency" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <%@ Register Src="~/User_Controls/ucSearchGrid.ascx" TagPrefix="ucSearchGrid" TagName="ucSearchGrid" %>
    <%@ Register Src="~/User_Controls/ucToolBar.ascx" TagPrefix="ucToolBar" TagName="ucToolBar" %>
</asp:Content>
<asp:Content ID="cotMain" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:UpdatePanel ID="upnlwzMain" UpdateMode="Always" runat="server">
        <ContentTemplate>
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_content">
                            <asp:HiddenField ID="hdnRecordId" Value="0" runat="server" />
                            <asp:HiddenField ID="hdnRecordIds" Value="" runat="server" />
                            <asp:HiddenField ID="hdnRowIndex" Value="0" runat="server" />
                            <div class="x_title">
                                <h4>
                                    <asp:Label ID="lblFormTitle" runat="server"></asp:Label></h4>
                                <div class="clearfix"></div>
                            </div>
                            <div id="wizard" class="form_wizard wizard_horizontal">
                                <ul class="wizard_steps">
                                    <li>
                                        <a runat="server" id="aStep1" class="selected">
                                            <span class="step_no">1</span>
                                            <small>Search Records</small>
                                            </span>
                                        </a>
                                    </li>
                                    <li>
                                        <a runat="server" id="aStep2" class="disabled">
                                            <span class="step_no">2</span>
                                            <small>Manage Records</small>
                                            </span>
                                        </a>
                                    </li>
                                </ul>
                            </div>

                            <div class="col-xs-12 col-sm-12 col-lg-12">
                                <ucToolBar:ucToolBar runat="server" ID="ucToolBar" />
                            </div>
                            <div class="col-xs-12 col-sm-12 col-lg-12">
                                <asp:Wizard ID="wzMain" CssClass="col-sm-12" DisplaySideBar="false" OnActiveStepChanged="wzMain_ActiveStepChanged"
                                    runat="server" class="form_wizard wizard_horizontal">
                                    <WizardSteps>
                                        <asp:WizardStep ID="Step0" runat="server">
                                            <ucSearchGrid:ucSearchGrid runat="server" ID="ucSearchGrid" />
                                        </asp:WizardStep>
                                        <asp:WizardStep ID="Step1" runat="server">
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-8">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Name*</span>
                                                        <asp:TextBox ID="txtCurrencyName" MaxLength="50" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter Name" required />
                                                    </div>
                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Code</span>
                                                        <asp:TextBox ID="txtCurrencyCode" MaxLength="10" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter Code" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-8">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Sub Currency</span>
                                                        <asp:TextBox ID="txtCurrencySub" MaxLength="10" runat="server" CssClass="form-control" AutoCompleteType="Disabled" autocomplete="off"
                                                            placeholder="Enter Sub Crrency" />
                                                    </div>
                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Base Currency</span>
                                                        <asp:RadioButtonList ID="optBaseCurrency" runat="server" CssClass="form-control" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Selected="True" style="margin-right: 20px">Yes</asp:ListItem>
                                                            <asp:ListItem Value="1" style="margin-right: 30px">No</asp:ListItem>
                                                        </asp:RadioButtonList>

                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-3">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Exchange Rate</span>
                                                        <asp:TextBox ID="txtCurrencyValue" MaxLength="10"  type="number" step="0.001"  runat="server" CssClass="form-control text-right" AutoCompleteType="Disabled" autocomplete="off" required
                                                            placeholder="0.000" />
                                                    </div>

                                                </div>
                                                <div class="col-xs-12 col-sm-12 col-lg-3">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Base Currency</span>
                                                        <asp:DropDownList ID="cmbConversionFactor" runat="server" CssClass="form-control">
                                                            <asp:ListItem Value="*" Selected="True">Multiply</asp:ListItem>
                                                            <asp:ListItem Value="/">Divide</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon">Status</span>
                                                        <asp:RadioButtonList ID="optRecordStatus" runat="server" CssClass="form-control" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Selected="True" style="margin-right: 20px">Active</asp:ListItem>
                                                            <asp:ListItem Value="1" style="margin-right: 30px">Not Active</asp:ListItem>
                                                        </asp:RadioButtonList>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-xs-12 col-sm-12 col-lg-4 pull-left">
                                                    <small>
                                                        <asp:Label runat="server" ID="lblLastModication"></asp:Label>
                                                    </small>
                                                </div>
                                            </div>
                                        </asp:WizardStep>
                                    </WizardSteps>
                                    <StartNavigationTemplate>
                                        <asp:Button ID="NextButton" Visible="false" runat="server" Text="Next" CommandName="MoveNext" CssClass="btn btn-primary btn-sm" />
                                    </StartNavigationTemplate>
                                    <FinishNavigationTemplate>
                                        <asp:Button ID="btnPrevious" runat="server" formnovalidate="true" Text="Previous" CssClass="btn btn-success btn-sm" ToolTip="MOVE BACK TO PREVIOUS SCREEN" CommandName="MovePrevious" />
                                    </FinishNavigationTemplate>
                                </asp:Wizard>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

