<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Components_Biometric_ManualPanuch, App_Web_rexfqpke" title="Manual Punch" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage">
                <div>
                    <div class="himssuHeader3WireBox">
                        <table width="0px" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="166"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="whiteboxpaddingleft row">
                        <div class="himssuHeader2WireBox card card-box">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="Panel1" runat="server">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">

                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                            </header>

                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <div class="himsBoxContent card-body padd-0">
                                <div class="contentHolder">
                                    <div id="Fromdiv" runat="server">
                                        <div class="outerBox pTop5 col-md-6 ">
                                            <div class="controlLabelWidth">
                                                <asp:RadioButton ID="rbEntryDeptanddevisionwise" Text="Entire Department/Division wise" runat="server" Checked="true" GroupName="Type" />
                                                <asp:RadioButton ID="rbMissingPunch" Text="Missing Punch Entry" runat="server" GroupName="Type" />
                                            </div>
                                            <div class="fLeft pRight5">
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3 ">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblManualPunchFor" runat="server" Text="Manual Punch For" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ddlSourceTypeId" SkinID="CustomWidthDropDownList" CssClass="form-control" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3 ">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblOrganization" runat="server" Text="Organization" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ddlOrganization" SkinID="CustomWidthDropDownList" CssClass="form-control" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3 ">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblDate" runat="server" Text="Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <DPC:DatePickerControl ID="txtDate" runat="server" DisplayDatePicker="true" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3 ">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblOption" runat="server" Text="Option"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ddlOption" SkinID="CustomWidthDropDownList" AutoPostBack="true" CssClass="form-control" runat="server"
                                                    OnSelectedIndexChanged="ddlOption_SelectedIndexChanged">
                                                    <asp:ListItem>--SELECT--</asp:ListItem>
                                                    <asp:ListItem Value="1">Pay Time</asp:ListItem>
                                                    <asp:ListItem Value="2">Punch</asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3 ">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblPunchTime" runat="server" Text="Punch Time" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <%--<timePicker:TimeSelector ID="EndTimeSelectorNew" runat="server" DisplaySeconds="false"
                                                    SelectedTimeFormat="Twelve" AmPm="AM" Date="" Hour="0" Minute="0"
                                                    Second="0" CssClass="timepicker"></timePicker:TimeSelector>--%>
                                                <cc1:TimeSelector ID="EndTimeSelectorNew" runat="server" DisplaySeconds="false" CssClass="timepicker"></cc1:TimeSelector>
                                            </div>
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblPunch" runat="server" Text="Punch" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ddlInoutPunch" SkinID="CustomWidthDropDownList" CssClass="form-control" runat="server">
                                                    <asp:ListItem>--SELECT--</asp:ListItem>
                                                    <asp:ListItem Value="1">In</asp:ListItem>
                                                    <asp:ListItem Value="2">Out</asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="alignCenter pTop5 col-md-12 pb5">
                                    <asp:Button ID="btnApplyAll" Text="search" runat="Server" OnClick="search_Click" SkinID="0" CssClass="btn btn-search fas" />
                                    <asp:Button ID="Applyall" Text="Apply" runat="Server" OnClick="Applyall_Click" SkinID="0" CssClass="btn btn-search fas" />
                                </div>
                                <div class="cBoth">
                                </div>
                                <div class="col-md-12 pTop15">
                                    <div class="himsBoxContent table-responsive ">
                                        <asp:GridView runat="server" ID="gdvManualPunch" AutoGenerateColumns="False"
                                            EmptyDataText="No records Found!!!" DataKeyNames="EmpName" AllowPaging="False"
                                            ShowHeader="True" CssClass="table table-striped table-bordered" OnRowDataBound="gdvManualPunch_RowDataBound">
                                            <PagerSettings Visible="False" />
                                            <Columns>
                                                <asp:TemplateField HeaderText="Select" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="4%"
                                                    ItemStyle-Wrap="true">
                                                    <HeaderTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="chkCheck" runat="server" OnCheckedChanged="HeaderSelectCheckBox_checked" Enabled="true" AutoPostBack="true"
                                                                Visible="true" />
                                                            <span></span>
                                                        </label>
                                                    </HeaderTemplate>
                                                    <ItemStyle HorizontalAlign="Center" />
                                                    <ItemTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                            <span></span>
                                                        </label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="ID No" meta:resourcekey="TemplateFieldResource1">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblCode" runat="server" Text='<%# bind("EmpCode") %>' CssClass="boxEllips"></asp:Label>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle HorizontalAlign="Left" Width="10%" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Name" meta:resourcekey="TemplateFieldResource2">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblEmpName" runat="server" Text='<%# bind("EmpName") %>' CssClass="boxEllips"></asp:Label>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle HorizontalAlign="Left" Width="30%" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Mode" meta:resourcekey="TemplateFieldResource2">
                                                    <ItemTemplate>
                                                        <asp:DropDownList ID="ddlMode" runat="server" SkinID="CustomWidthDropDownList"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Width="160px">
                                                            <asp:ListItem>--SELECT--</asp:ListItem>
                                                            <asp:ListItem Value="1">In</asp:ListItem>
                                                            <asp:ListItem Value="2">Out</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle HorizontalAlign="Left" Width="30%" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Punch Time" ItemStyle-Width="40%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <%--<timepicker:timeselector id="txtPunchTime" runat="server" displayseconds="false"
                                                            selectedtimeformat="Twelve" ampm="AM" date="" hour="0" minute="0"
                                                            second="0" cssclass="timepicker"></timepicker:timeselector>--%>

                                                        <cc1:TimeSelector ID="txtPunchTime" runat="server" DisplaySeconds="false" CssClass="timepicker"></cc1:TimeSelector>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle HorizontalAlign="Left" Width="40%" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="No of Punch" ItemStyle-Width="40%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true">
                                                    <ItemTemplate>
                                                        <asp:Label ID="lblNoofPunch" runat="server" Text='<%# bind("NoofPunch") %>' CssClass="boxEllips"></asp:Label>
                                                    </ItemTemplate>
                                                    <HeaderStyle HorizontalAlign="Left" />
                                                    <ItemStyle HorizontalAlign="Left" Width="40%" />
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/Punch-Master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
