<%@ page language="C#" autoeventwireup="true" inherits="Transactions_TA_UI_Transactions_SwipesHandling, App_Web_f1nxgpvb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="htmlSwipesList" runat="server">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
        name="viewport" />
    <title>Timecheck</title>
    <link id="stylebootstrap" rel="stylesheet" runat="server" type="text/css" />
    <link id="stylefontawesome" rel="stylesheet" runat="server" type="text/css" />
   <link id="styleAdminLTE" rel="stylesheet" runat="server" type="text/css" />
   <link id="stylecustom" rel="stylesheet" runat="server" type="text/css" />  
   <link id="stylefonts" rel="stylesheet" runat="server" type="text/css" />   
</head>
<body>
    <form id="aspnetForm" runat="server">
        <div class="content">
            <div class="inr-ftr">
                <div class="row">
                    <div class="col-sm-12" style="padding: 5px">
                        <asp:Label ID="lbl_Header" runat="server" Text="Swipes Handling" Style="font-size: 15px;padding-left:25px;padding-right:25px"></asp:Label>

                    </div>
                    <div class="clearfix">
                    </div>
                </div>
            </div>
            <div class="emp-filter">
                <div class="form-horizontal">
                    <div class="row form-group">
                        <div class="col-md-12">
                            <div class="table-responsive">
                                <asp:GridView ID="grd" runat="server" AllowPaging="true" PageSize="15" AutoGenerateColumns="false"
                                    OnRowDataBound="grd_RowDataBound" OnPageIndexChanging="grd_PageIndexChanging"
                                    CssClass="table das-table1">
                                    <Columns>
                                        <asp:TemplateField HeaderStyle-CssClass="empheader" ItemStyle-CssClass="table-icons">
                                            <HeaderTemplate>
                                                <%--  <asp:Label ID="lblCheckAll" Text="" runat="server"></asp:Label>--%>
                                                <asp:CheckBox ID="checkall" runat="server" Text="" AutoPostBack="true" OnCheckedChanged="grv_CheckAll_CheckedChanged" />
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <asp:CheckBox ID="deletethis" runat="server" AutoPostBack="true" OnCheckedChanged="grv_Check_CheckedChanged"></asp:CheckBox>
                                            </ItemTemplate>
                                            <ItemStyle Width="6%" />
                                            <HeaderStyle />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="ManualTimeEntryId" Visible="false" HeaderStyle-CssClass="empheader"
                                            ItemStyle-CssClass="table-icons">
                                            <ItemTemplate>
                                                <asp:Label ID="lblClkID" runat="server" Text='<% # Bind("Clk_ID") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Employee ID" HeaderStyle-CssClass="empheader" ItemStyle-CssClass="table-icons">
                                            <ItemTemplate>
                                                <asp:Label ID="lblEmployeeCode" runat="server" Text='<%# Eval("EmployeeCode") %>' Style="overflow-y: auto; overflow-x: auto; word-break: break-all; width: 150px; word-wrap: break-word; display: inline-block;"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>   
                                        <asp:TemplateField HeaderText="Employee Name" HeaderStyle-CssClass="empheader" ItemStyle-CssClass="table-icons">
                                            <ItemTemplate>
                                                <asp:Label ID="lblEmpName" runat="server" Text='<%# Eval("EmpName") %>' Style="overflow-y: auto; overflow-x: auto; word-break: break-all; width: 150px; word-wrap: break-word; display: inline-block;"></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>                                       
                                        <asp:TemplateField HeaderText="In Date" HeaderStyle-CssClass="empheader" ItemStyle-CssClass="table-icons">
                                            <ItemTemplate>
                                                <asp:Label ID="lblInDate" runat="server" Text='<%# Eval("InDate")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="In Time" HeaderStyle-CssClass="empheader" ItemStyle-CssClass="table-icons">
                                            <ItemTemplate>
                                                <asp:Label ID="lblInTime" runat="server" Text='<%# Eval("InTime")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>                                        
                                        <asp:TemplateField HeaderText="Ignore Punches" HeaderStyle-CssClass="empheader" ItemStyle-CssClass="table-icons">
                                            <ItemTemplate>
                                                <asp:Label ID="lblIsVoid" runat="server" Text=' <%# Eval("IsVoid")%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <RowStyle Height="30px" CssClass="table-bg" BorderColor="#C5DFFC" />
                                    <PagerStyle Font-Overline="False" HorizontalAlign="Right" CssClass="GridPager" />
                                    <PagerSettings FirstPageText="<<" LastPageText=">>" Mode="NumericFirstLast" NextPageText=">"
                                        PreviousPageText="<" />
                                    <AlternatingRowStyle BackColor="white" />
                                </asp:GridView>
                            </div>
                        </div>
                    </div>
                    <div class="row form-group">
                        <div class="col-md-12">
                            <div class="pull-right-button">
                                <asp:LinkButton ID="btnVoid" CssClass="btn save-btn fa-thumbs-o-down" runat="server"
                                    CausesValidation="true" OnClick="btnVoid_Click" />
                                <asp:LinkButton ID="btnUnVoid" CssClass="btn save-btn fa-plus-square-o" runat="server"
                                    CausesValidation="true" OnClick="btnUnVoid_Click" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
