<%@ page language="C#" autoeventwireup="true" masterpagefile="~/MasterFile/TimeCheck.master" inherits="Transactions_TA_UI_Transactions_ManualTimeEntrySanctionView, App_Web_rlktq3vh" %>

<asp:Content ID="ConManualEntrySanctionView" ContentPlaceHolderID="BodyContentPH"
    runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" width="600">
        <tr>
            <td valign="top">
                <img height="15" src="../Images/corner1<%=Session["Direction"] %>.gif" width="15" /></td>
            <td background="../Images/sideline.gif" bgcolor="#eaeaea" valign="top">
                <img height="1" src="../Images/spacer.gif" width="1" /></td>
            <td valign="top">
                <img height="15" src="../Images/corner2<%=Session["Direction"] %>.gif" width="15" /></td>
        </tr>
        <tr>
            <td background="../Images/line<%=Session["Direction"] %>.gif">
            </td>
            <td bgcolor="#eaeaea" valign="top">
                <table align="center" border="0" cellpadding="2" cellspacing="1" width="600">
                    <tr>
                        <td class="ModuleTitle" colspan="2" style="height: 26px" valign="top">
                            <asp:Label ID="lbl_Header" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <table align="center" border="0" cellpadding="5" cellspacing="0" width="100%">
                                <tr>
                                    <td class="td" colspan="2" width="90%">
                                        <asp:GridView ID="gdManualEntrySanctionView" runat="server" AutoGenerateColumns="False"
                                            CellPadding="5" CssClass="td" Width="100%" AllowPaging="True" AllowSorting="True" OnPageIndexChanged="gdManualEntrySanctionView_PageIndexChanged" OnPageIndexChanging="gdManualEntrySanctionView_PageIndexChanging" OnSorting="gdManualEntrySanctionView_Sorting">
                                               <Columns>
                                                <asp:HyperLinkField DataNavigateUrlFields="ManualTimeEntry_Id" DataNavigateUrlFormatString="TA_UI_Transactions_ManualTimeEntrySanctionModify.aspx?ManualTimeEntry_Id={0}"
                                                    DataTextField="Employee_FirstName" HeaderText="Employee Name" SortExpression="Employee_FirstName"
                                                    ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" />
                                                <asp:TemplateField HeaderText="Manual Time Entry Date" SortExpression="ManualTimeEntry_Date">
                                                    <EditItemTemplate>
                                                        <asp:TextBox onpaste="return true"     ID="txtManualTimeEntryDate" runat="server" Text='<%# Bind("ManualTimeEntry_Date") %>'></asp:TextBox>
                                                    </EditItemTemplate>
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblManualTimeEntryDate" runat="server" Text='<%# Bind("ManualTimeEntry_Date") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="In Entry" SortExpression="InDateTime">
                                                    <EditItemTemplate>
                                                        <asp:TextBox onpaste="return true"     ID="txtInEntry" runat="server" Text='<%# Bind("InDateTime") %>'></asp:TextBox>
                                                    </EditItemTemplate>
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblInEntry" runat="server" Text='<%# Bind("InDateTime") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Out Entry" SortExpression="OutDateTime">
                                                    <EditItemTemplate>
                                                        <asp:TextBox onpaste="return true"     ID="txtOutEntry" runat="server" Text='<%# Bind("OutDateTime") %>'></asp:TextBox>
                                                    </EditItemTemplate>
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblOutEntry" runat="server" Text='<%# Bind("OutDateTime") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Status" SortExpression="ManualTimeEntry_Status" ItemStyle-HorizontalAlign="Left"
                                                    HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblManualTimeEntryStatus" runat="server" Text='<%# Bind("ManualTimeEntry_Status") %>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <HeaderStyle CssClass="td" />
                                           <EmptyDataTemplate>
                                           <asp:Label ID="lblNoRecords" runat="server" OnLoad="GetEmptyText"></asp:Label>
                                           </EmptyDataTemplate>
                                        </asp:GridView>
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr align="center">
                                    <td>
                                        <asp:Button ID="btnBack" runat="server" CssClass="but" OnClick="btnBack_Click" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
            <td background="../Images/line1<%=Session["Direction"] %>.gif">
            </td>
        </tr>
        <tr>
            <td valign="bottom">
                <img height="15" src="../Images/corner3<%=Session["Direction"] %>.gif" width="15" /></td>
            <td background="../Images/sideline1.gif" bgcolor="#eaeaea" valign="bottom">
                <img height="1" src="../Images/spacer.gif" width="1" /></td>
            <td valign="bottom">
                <img height="15" src="../Images/corner4<%=Session["Direction"] %>.gif" width="15" /></td>
        </tr>
    </table>
</asp:Content>
