<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="emp_accrual_plan.aspx.cs" Inherits="HRMS.HR.People.emp_accrual_plan" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<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">Accruals </span>
                    
                    <div class="pull-right">
                        <asp:button Visible="false" text="Save" CssClass="btn btn-info" ID="btn_save" runat="server" />
                        <asp:button Visible="false" text="Back" CssClass="btn btn-info" ID="btn_cancel" runat="server" />
                    </div>
                </header>
                    <div class="panel-body">
                <div class="row">
                    <label class="control-label col-md-2">Name</label>
                    <div class="col-md-3">
                        <asp:TextBox ID="txt_name" CssClass="form-control" runat="server"  Enabled="false"></asp:TextBox>
                    </div>

                     <label class="control-label col-md-2">Accrual Category</label>
                    <div class="col-md-3">
                        <asp:textbox ID="txt_cat" CssClass="form-control" Enabled="false" runat="server" />
                    </div>
                </div>
                <hr />
                <div class="row">
                    <label class="control-label col-md-2">Dates</label>
                </div>
               
                <div class="row" style="padding-top:10px">
                    <label class="control-label col-md-2">Entitlement Calculation</label>
                    <div class="col-md-2">
                        <asp:TextBox Enabled="false" CssClass="form-control col-md-1" ID="txt_date_frm" runat="server"></asp:TextBox>
                    </div>

                    <label class="control-label col-md-1"></label>
                    <div class="col-md-2">
                        <asp:TextBox Enabled="false" CssClass="form-control col-md-2" ID="txt_dateto" runat="server"></asp:TextBox>
                    </div>

                    <label class="control-label col-md-2" runat="server" visible="false">Last Accrual</label>
                    <div class="col-md-2">
                        <asp:TextBox CssClass="form-control col-md-2" ID="TextBox3" visible="false" runat="server"></asp:TextBox>
                    </div>
                </div>

                <div class="row">
                    <label class="control-label col-md-2">Net Entitlement</label>
                    <div class="col-md-2">
                        <asp:TextBox CssClass="form-control" ID="txt_net_ent" runat="server" Enabled="false"></asp:TextBox>
                    </div>
                </div>
                <hr />
                <div class="row">
                    <label class="control-label col-md-2">Entitlement Details</label>
                </div>
                        <br />
                        <div class="row">
                            <div class="col-md-12">
                                    <asp:GridView ID="grd" runat="server" AutoGenerateColumns="False" 
                      cellpadding="0" border="0" CssClass="table table-striped table-bordered table-hover">
                        <Columns>
                            
                            <asp:BoundField HeaderText="Element Name" DataField="ELEMENT_NAME" />
                            <asp:BoundField HeaderText="Input Value Name" DataField="Input Value Name" />
                            <asp:TemplateField HeaderText="Total Entitlements">
                              <ItemTemplate>
                                <%#Eval("Total Entitlements","{0:n}")%>
                              </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField ItemStyle-CssClass="hidden" HeaderStyle-CssClass="hidden" HeaderText="Total Entitlements" DataField="Total Entitlements" />
                            <asp:BoundField HeaderText="Effect On Net" DataField="Effect On Net" />
                        </Columns>
                          <%-- Mandatory--%>
            <RowStyle CssClass="rowStyle"/>
           <%-- Mandatory--%>
            <HeaderStyle CssClass="headerStyle" />
           <%-- optional--%>
           <FooterStyle  CssClass="footerStyle"  />
                    </asp:GridView>
                            </div>
                         
                        </div>

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

</asp:Content>