<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="RPT_ledger.aspx.cs" Inherits="HRMS.RPT_ledger" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class="main-panel">
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                      <header class="panel-heading" style="padding-bottom:30px">
                           <span class="label label-primary">Ledger Report</span>
                    
                         <div class="pull-right">
                       <asp:Button CssClass="btn btn-primary" ID="btn_run" runat="server" Text="Run Report" 
                                 onclick="btn_run_Click"/>
                    </div>
                    </header>

                    <div class="panel-body">
                         <div class="span6">
                                <div id="divMessage" runat="server" visible="false" class="alert alert-info alert-dismissable">
                                    <i class="icon-check-sign"></i>
                                    <asp:Label ID="lblMessage" class="msg" runat="server" Text="" ></asp:Label>
                                </div>
                                <div class="span6">
                                    <div id="diverrorMessage" runat="server" visible="false" class="alert alert-danger alert-dismissable">
                                         <i class="icon-check-sign"></i>
                                        <asp:Label ID="lblerrorMessage" class="msg" runat="server" Text="" ></asp:Label>
                                    </div>
                                </div>
                           </div>



                           <div class="row">
                                <label id="Label1" class="control-label col-md-2" runat="server">Accounts</label>
                                <div class="col-md-8">
                                    <asp:DropDownList ID="ddl_acc" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                </div>
                            </div>



                            <div class="row">
                                <label id="Label2" class="control-label col-md-2" runat="server">Date From</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_date_frm" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                </div>

                                <label id="Label3" class="control-label col-md-2" runat="server">Date To</label>
                                <div class="col-md-3">
                                    <asp:TextBox ID="txt_date_to" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                </div>
                            </div>

                            <hr />

                             <div class="row">
                                 <%--<rsweb:ReportViewer ID="rpt_ledger" CssClass="col-md-offset-1" runat="server" BackColor="#E2E2E2" ShowPrintButton="False" Width="80%"></rsweb:ReportViewer>--%>
                                  <rsweb:ReportViewer ID="rpt_ledger" CssClass="col-md-offset-1" runat="server" BackColor="#E2E2E2" ShowPrintButton="False" Width="80%"></rsweb:ReportViewer>
                             </div>

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

    <script src="../../ThemeScrips/jquery.min.js"></script>
    <link href="../../ThemeScrips/select2.min.css" rel="stylesheet" />
    <script src="../../ThemeScrips/select2.min.js"></script>
    <script>
        $('.select2').select2();
    </script>

</asp:Content>
