<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="DeptWise_Invoices.aspx.cs" Inherits="HRMS.DeptWise_Invoices" %>
<%@ 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">
                        Department Wise Invoices
                        <div class="pull-right">
                                 <asp:Button CssClass="btn btn-info" ID="btn_run" Text="Run Report" runat="server"  ValidationGroup="save"
                                        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 class="control-label col-md-2" runat="server">Date From</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_frm" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                 <asp:RequiredFieldValidator Visible="false" SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_txt_frm" controltovalidate="txt_frm" errormessage="Date From is Required!" />
                            </div>

                            <label id="Label1" class="control-label col-md-2" runat="server">Date To</label>
                            <div class="col-md-3">
                                <asp:TextBox ID="txt_dateto" runat="server" CssClass="form-control datetime"></asp:TextBox>
                                <asp:RequiredFieldValidator Visible="false" SetFocusOnError="true" ValidationGroup="save" runat="server" id="Req_txt_dateto" controltovalidate="txt_dateto" errormessage="Date To is Required!" />
                            </div>

                           </div>



                            <div class="row">
                              <div class="col-md-11">

                             
                                 <br />
                                   <hr />
                                 <div class="row">
                                 <rsweb:ReportViewer ID="ReportViewer1" CssClass="col-md-offset-1"  runat="server" BackColor="#E2E2E2" ShowPrintButton="False" Width="90%"></rsweb:ReportViewer>
                                 </div>
                              </div>
                           </div>
                    </div>
                </section>
            </div>
        </div>
    </div>
    
</asp:Content>
