<%@ Page Title="Sales Analysis" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="SalesAnalysis.aspx.cs" Inherits="ZFJINV.Reports.Sales.SalesAnalysis" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <div class="row">
        <div class="col-md-12 mySpace">
            <div class="caption cap">

                <span class="caption-subject font-blue sbold" style="font-size: 150%;">Sales Analysis Report Parameters</span>
            </div>

            <div class="ui segment">
                <div class="ui stackable form">

                    <div class="col-md-3">
                        <label class="lbStyle">From Date:</label>
                        <asp:TextBox ID="txtFromDate" class="mydatepickerclass myInput" runat="server"></asp:TextBox>
                    </div>
                    <div class="col-md-3">
                        <label class="lbStyle">To Date:</label>
                        <asp:TextBox ID="txtToDate" runat="server" title="To Date" class="mydatepickerclass myInput"></asp:TextBox>
                    </div>
                    <div class="col-md-3">
                        <label class="lbStyle">Product ID:</label>
                        <asp:DropDownList ID="txtProductID" runat="server" class="select2 form-control "></asp:DropDownList>

                    </div>

                    <div class="col-md-3">

                        <label class="lbStyle">Brand</label>
                        <asp:TextBox ID="txtBrand" runat="server" class="select2 form-control"></asp:TextBox>

                    </div>

                     <div class="col-md-3">
                        <label class="lbStyle">POS ID:</label>
                        <asp:DropDownList ID="txtPOSID" runat="server" class="select2 from contrast"></asp:DropDownList>
                    </div>
                    <div class="col-md-3">

                        <label class="lbStyle">Saleman ID</label>
                        <asp:DropDownList ID="txtSaleManID" runat="server" class="select2 form-control "></asp:DropDownList>

                    </div>

                    <div class="col-md-3">

                        <label class="lbStyle">Report Type</label>
                        <asp:DropDownList ID="txtReportType" runat="server" class="select2 form-control ">
                            <asp:ListItem Value="Default"></asp:ListItem>
                            <asp:ListItem Value="Monthly"></asp:ListItem>
                            <asp:ListItem Value="Quarterly"></asp:ListItem>
                            <asp:ListItem Value="Annually"></asp:ListItem>
                        </asp:DropDownList>

                    </div>

                    <div class="newButton">

                        <img src="../assets/global/img/ripples.gif" style="display: none; padding: 0;" id="loaderButton" />

                        <asp:Button ID="btnViewReport" OnClick="btnViewReport_Click" runat="server" CssClass="btn green-meadow" Text="View Report" OnClientClick="SetTarget();" />

                    </div>

                    <div class="row">
                    </div>
                </div>
            </div>
            <div class="col-md-8 ">
                <div class="messagealert" id="alert_container">
                </div>
            </div>

        </div>

    </div>
    <script type="text/javascript">
        function pageLoad(sender, args) {
            if (args.get_isPartialLoad()) {
                function SetTarget() {
                    document.forms[0].target = "_blank";
                }
            }
        }

        function SetTarget() {
            document.forms[0].target = "_blank";
        }
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="footerContent" runat="server">
</asp:Content>
