<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="ControlPurchasing_Period.aspx.cs" Inherits="HRMS.Purcahsing.ControlPurchasing_Period" %>
<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">

                    </header>

                    <div class="panel-body">





                                         <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
                            CssClass="table table-striped table-bordered table-hover" CellPadding="0"
                            Width="90%" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound">
                            <Columns>
                                <asp:TemplateField HeaderStyle-Width="1%">
                                    <ItemTemplate>
                                        <asp:HiddenField ID="hid_templine" runat="server"
                                            Value='<%#Bind("TEMPLATE_LINE_ID")%>' />
                                        <asp:HiddenField ID="hid_doc_type" runat="server"
                                            Value='<%#Bind("DOCUMENT_TYPE")%>' />
                                    </ItemTemplate>
                                </asp:TemplateField>


                                <asp:BoundField HeaderText="Period Name" DataField="" />
                                <asp:BoundField HeaderText="Period  Number" DataField="" />
                                <asp:BoundField HeaderText="Fiscal Year" DataField="" />
                                <asp:BoundField HeaderText="Start Date" DataField="" />
                                <asp:BoundField HeaderText="End Date" DataField="" />

                                <asp:TemplateField HeaderText="Period Status" HeaderStyle-Width="10%">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddl_status" runat="server" CssClass="form-control select2"></asp:DropDownList>
                                    </ItemTemplate>
                                </asp:TemplateField>
                              
                                <asp:TemplateField HeaderText="Action" ItemStyle-Width="6%">
                                    <ItemTemplate>

                                        <asp:LinkButton ID="lnk_add" ValidationGroup="d_save"
                                            runat="server" CommandName="gadd"><i class="fa fa-plus"
                                                                style="font-size:20px !important;"></i></asp:LinkButton>
                                    </ItemTemplate>
                                    <ItemStyle Width="6%"></ItemStyle>
                                </asp:TemplateField>
                            </Columns>
                            <%--<FooterStyle CssClass="footerStyle" />
                                        <HeaderStyle CssClass="headerStyle" />
                                        <RowStyle CssClass="rowStyle" />--%>
                        </asp:GridView>

                    </div>
                </section>
            </div>
        </div>
    </div>
</asp:Content>
