<%@ Page Title="Trial Balance" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="TrialBalance.aspx.cs" Inherits="ZFJINV.Reports.Accounts.TrialBalance" %>

<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%;">Trial Balance 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="POS Name" class="mydatepickerclass myInput"></asp:TextBox>
                    </div>
                    <div class="col-md-3">

                        <label class="lbStyle">COA Level:</label>
                        <asp:DropDownList ID="txtCOALevel" AutoPostBack="true" runat="server" CssClass="select2 form-control "
                            AppendDataBoundItems="true" OnSelectedIndexChanged="txtCOALevel_SelectedIndexChanged">
                        </asp:DropDownList>
                    </div>

                    <div class="col-md-3">
                        <label class="lbStyle">COA Code:</label>
                        <asp:DropDownList ID="txtCOACode" runat="server" class="select2 form-control "></asp:DropDownList>
                    </div>
                    <div class="col-md-3">
                        <label class="lbStyle">Status:</label>
                        <asp:DropDownList ID="txtStatus" runat="server" class="select2 form-control "></asp:DropDownList>
                    </div>
                    <div class="col-md-3">
                        <label class="lbStyle">Type:</label>
                        <asp:DropDownList ID="txtType" runat="server" class="select2 form-control ">
                            <asp:ListItem Value="COAWise"></asp:ListItem>
                            <asp:ListItem Value="SupplierWise"></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" runat="server" OnClick="btnViewReport_Click" 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";
                    //window.open("Viewer.aspx", "_blank");
                }
            }
        }

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