<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hrm_Employee_MyTravel, App_Web_a0ih5yyi" uiculture="auto" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerAutoPostBackControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl"
    TagPrefix="hims" %>
<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="timePicker" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <uc2:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="213"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="TopPanel" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-search"></i>
                                                    <asp:Label ID="headerTextLabel" runat="server" Text="Search"></asp:Label>
                                                    </header>
                                                </div>
                                                <div class="fRight mt-27">
                                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0"
                                                        class="btn btn-add fas" Text="&#xf067; Add" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="himsBoxContent card-body">
                                            <div class="contentHolder">
                                                <asp:Panel ID="PanelSearch" runat="server">
                                                    <div class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchEmployeeCodeLabel" runat="server" Text="Employee Code"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5 display-flex">
                                                            <asp:TextBox ID="SearchEmployeeCodeTextBox" SkinID="CustomWidthTextBox"
                                                                runat="server" MaxLength="100" AutoPostBack="true"> </asp:TextBox>
                                                            <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="SearchEmployeeCodeImageButton"
                                                                runat="server" OnClick="SearchEmployeeCodeImageButton_Click" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                                            <asp:HiddenField ID="SearchEmployeeIdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchEmployeeNameLabel" runat="server" Text="Employee Name"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SearchEmployeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="100"> </asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <%--  <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchEmployeeTypeLabel" Text="Leave Type" runat="server" meta:resourcekey="HeaderAgeLabelResource1"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SearchEmployeeLeaveTypeDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                Width="154px">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>--%>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <timePicker:TimeSelector ID="TimeSelector1" runat="server" DisplaySeconds="False"
                                                            SelectedTimeFormat="Twelve" AmPm="AM" Date="" Hour="0" Minute="0" Enabled="false"
                                                            Second="0" meta:resourcekey="ActivityStartTimeSelectorResource1" CssClass="pTop5" />
                                                    </div>
                                                   
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="StatusSearchLabel" runat="server" Text="Status"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="SearchStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                                CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchFromDateLabel2" runat="server" Text="From Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDatePickerControl2"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchToDateLabel3" runat="server" Text="To Date"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDatePickerControl3"
                                                                runat="server" />
                                                        </div>
                                                    </div>
                                                   
                                                    <div class="alignCenter pTop10 col-md-12 center">
                                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" TabIndex="3" runat="Server" OnClick="SearchButton_Click"
                                                            SkinID="0" class="btn-search btn fas" />
                                                        <asp:Button ID="ResetButton" runat="server" TabIndex="4" Text="&#xf0e2; Clear" OnClick="ResetButton_Click" 
                                                            SkinID="0" class="btn-reset btn fas" />
                                                    </div>
                                                   
                                                    <br />
                                                </asp:Panel>
                                                <div id="CsrBenefiteMasterGridDiv" runat="server" visible="false">
                                                    <div class="himssuHeader7WireBox pTop5 col-md-12" id="PatientRelationDiv"
                                                        runat="server" style="width: 100%">
                                                        <div class="himsBoxHeader" id="ListDiv" runat="server" visible="true">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle">
                                                                <div class="headerText">
                                                                    <div class="fLeft">
                                                                    </div>
                                                                </div>
                                                                <div align="right" class="fRight" style="margin-top: 0px;">
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent table-responsive">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <asp:GridView ID="MyTravelListGridView" OnRowDataBound="MyTravelListGridView_RowDataBound"
                                                                        OnPageIndexChanging="MyTravelListGridView_PageIndexChanging" runat="server" AutoGenerateColumns="False"
                                                                        AllowPaging ="false" DataKeyNames="TravelId,StatusId" PagerSettings-Visible="false"
                                                                        EmptyDataText="No records available for the search criteria" ShowHeader="True"
                                                                        CssClass="table table-striped table-bordered table-hover">
                                                                        <Columns>
                                                                            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                        Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField HeaderText="Employee Code" DataField="EmployeeCode" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField HeaderText="Employee Name" DataField="EmployeeName" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField HeaderText="From Date" DataField="TravelFromDate" DataFormatString="{0:dd/MM/yyyy}"
                                                                                HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField HeaderText="To Date" DataField="TravelToDate" DataFormatString="{0:dd/MM/yyyy}"
                                                                                HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField HeaderText="No Of Days" DataField="NoOfDays" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>
                                                                            <asp:BoundField HeaderText="Report Date" DataField="ReportDate" DataFormatString="{0:dd/MM/yyyy}"
                                                                                HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="10%" />
                                                                            </asp:BoundField>

                                                                            <asp:BoundField HeaderText="Travel Reson" DataField="TravelReason" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="15%" />
                                                                            </asp:BoundField>
                                                                            <asp:TemplateField HeaderText="Status" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                                HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="StatusLabel" runat="server" Text='<%#Eval("StatusName")%>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <%--   <asp:BoundField HeaderText="Status" DataField="StatusName" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemStyle Width="5%" />
                                                                            </asp:BoundField>--%>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                                <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                                    <div class="card-head">
                                        <div class="himsBoxHeader">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <asp:Label ID="Label1" runat="server" Text="Leave" />
                                                </div>
                                            </div>
                                        </div>
                                        <div class="fRight mt-27 pagination display-flex">
                                            <table>
                                                <tr>
                                                    <td class="formLabel">
                                                        <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                            <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                                OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                                            </asp:LinkButton>
                                                            <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                                OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                            </asp:LinkButton>
                                                            &nbsp; &nbsp;
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                            <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                            <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                            <asp:Label ID="TotalRecord" runat="server" />
                                                             &nbsp; &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                            <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                                runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                                OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                            </asp:LinkButton>
                                                        </div>
                                                    </td>
                                                    <td>
                                                        &nbsp; &nbsp; <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                            class="btn btn-back fas" Text="&#xf30a; Back" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EmployeeCodeLabel" runat="server" Text="Employee Code" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="EmployeeCodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                        MaxLength="100" AutoPostBack="true" OnTextChanged="EmployeeCodeTextBox_TextChanged"> </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Search" ID="EmployeeCodeImageButton"
                                                        runat="server" OnClick="EmployeeCodeImageButton_Click" ImageUrl="../../../../Images/icons/icon_find.gif" />
                                                    <asp:HiddenField ID="TravelIdHiddenField1" runat="server" />
                                                    <asp:HiddenField ID="EmployeeIdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="StatusIdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="EmployeeNameLabel" runat="server" Text="Employee Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="EmployeeNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        Enabled="false" SkinID="CustomWidthTextBox" runat="server" MaxLength="100"> </asp:TextBox>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ReportDateLabel" runat="server" Text="Report Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="ReportDatePickerControl1" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TravelPeriodTypelbl" Text="Travel Period" runat="server" SkinID="MandatoryLabel"
                                                        meta:resourcekey="HeaderAgeLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="TravelPeriodDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                        OnSelectedIndexChanged="PeriodDropDownList_SelectedIndexChange" AutoPostBack="true"
                                                        CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                           
                                            <div id="TimeSelectorDiv" runat="server" visible="false">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="FromTimeLabel" runat="server" Text="From Time"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <timePicker:TimeSelector ID="FromTimeSelector" runat="server" DisplaySeconds="False"
                                                            SelectedTimeFormat="Twelve" AmPm="AM" Date="" Hour="0" Minute="0" Visible="true"
                                                            Second="0" meta:resourcekey="ActivityStartTimeSelectorResource1" CssClass="timepicker" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="ToTimeLabel" runat="server" Text="To Time"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <timePicker:TimeSelector ID="ToTimeSelector" runat="server" DisplaySeconds="False"
                                                            SelectedTimeFormat="Twelve" AmPm="AM" Date="" Hour="0" Minute="0" Visible="true"
                                                            Second="0" meta:resourcekey="ActivityStartTimeSelectorResource1" CssClass="timepicker" />
                                                    </div>
                                                </div>
                                            </div>
                                          
                                            <%--<div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="LeaveTypeIdLabel2" Text="Leave Type" runat="server" SkinID="MandatoryLabel"
                                                        meta:resourcekey="HeaderAgeLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="LeaveTypeIdDropDownList" AutoPostBack="true" runat="server"
                                                        SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="LeaveTypeDropDownList_SelectedIndexChange"
                                                        Width="154px">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>--%>
                                            <%-- <div runat="server" visible="false">
                                                <asp:DropDownList ID="AvailableLeaveDropDownList" runat="server">
                                                </asp:DropDownList>
                                            </div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AvailableLeaveLabel" runat="server" Text="Available Leave"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="AvailableLeaveTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        ReadOnly="true" SkinID="CustomWidthTextBox" Width="150px" runat="server" MaxLength="100"> </asp:TextBox>
                                                </div>
                                            </div>--%>
                                            <div class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="AvailableLeaveOldYearLabel" runat="server" Text="Available Leave (Old Year)"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="AvailableLeaveOldYearTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        ReadOnly="true" SkinID="CustomWidthTextBox" runat="server" MaxLength="100"> </asp:TextBox>
                                                    <asp:Label ID="TotalLeaveLabel" runat="server"></asp:Label>
                                                </div>
                                            </div>
                                          
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromDateLabel2" runat="server" Text="From Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="TravelFromDatePickerControl" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ToDateLabel" runat="server" Text="To Date" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="TravelToDatePickerControl" runat="server" />
                                                </div>
                                            </div>
                                            
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="NoOfHourLabel" runat="server" Text="No Of Days"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="NoOfDaysTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        ReadOnly="true" SkinID="CustomWidthTextBox" runat="server" MaxLength="5"> </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TravelReasonlable" runat="server" Text="Travel Reason" SkinID="MandatoryLabel"> </asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="TravelReasonTextBox" runat="server" SkinID="MultiLineTextbox"
                                                        TextMode="MultiLine" MaxLength="200"></asp:TextBox>
                                                    <%--    <asp:ImageButton ID="LeaveReasonButton" runat="server" SkinID="FindImage" ToolTip="Leave Reason Search"
                                                        ImageUrl="~/Images/icons/icon_find.gif" TabIndex="8" OnClick="LeaveReasonButton_OnClick"
                                                        meta:resourcekey="LeaveReasonButtonResource1" />--%>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TravelRemarkLabel" runat="server" Text="Travel Remark"> </asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="TravelRemarkTextBox" runat="server" SkinID="MultiLineTextbox"
                                                        TextMode="MultiLine" MaxLength="200"></asp:TextBox>
                                                    <%--    <asp:ImageButton ID="LeaveReasonButton" runat="server" SkinID="FindImage" ToolTip="Leave Reason Search"
                                                        ImageUrl="~/Images/icons/icon_find.gif" TabIndex="8" OnClick="LeaveReasonButton_OnClick"
                                                        meta:resourcekey="LeaveReasonButtonResource1" />--%>
                                                </div>
                                            </div>
                                            
                                             <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StatusReasonLabel" runat="server" Text="Status Reason"> </asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StatusReasonTextBox" runat="server" SkinID="MultiLineTextbox"
                                                     TextMode="MultiLine" MaxLength="100"></asp:TextBox>
                                                    <%--    <asp:ImageButton ID="LeaveReasonButton" runat="server" SkinID="FindImage" ToolTip="Leave Reason Search"
                                                        ImageUrl="~/Images/icons/icon_find.gif" TabIndex="8" OnClick="LeaveReasonButton_OnClick"
                                                        meta:resourcekey="LeaveReasonButtonResource1" />--%>
                                                </div>
                                            </div>
                                        
                                            <%--  <div class="outerBox pTop5">
                                                <div class="fLeft">
                                                    <asp:CheckBox ID="FileAttachmentCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="FileAttachmentCheckBox_CheckedChanged" />
                                                    <asp:Label ID="FileAttachmentLabel" runat="server" class="pLeft5" Text="File Attachment"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>--%>
                                            <%--<div id="FileUploaddiv" visible="False" runat="server">
                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:FileUpload ID="FileUpload1" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5">
                                                    <div class="controlLabelWidth">
                                                        <asp:Button runat="server" ID="RefreshButton" Text="Refresh" OnClick="RefreshButton_OnClick"
                                                            SkinID="CustomWidthButton" Width="70px" />
                                                    </div>
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div style="padding: 5px 0 0 10px">
                                                    <asp:Label ID="Label6" Text="Click on refresh button to view current uploaded Files"
                                                        runat="server" />
                                                </div>
                                                <div class="cBoth">
                                                </div>
                                                <div id="Div11" class="himssuHeader6WireBox box-body box-solid gridviewfont" runat="server"
                                                    style="width: 100%; margin-right: 5px;">
                                                    <div id="UploadDiv" visible="False" runat="server">
                                                        <div class="spacer">
                                                            <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                        </div>
                                                        <div class="himsBoxHeader" id="HeaderDiv" visible="False" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle" style="width: 99%">
                                                                <div class="headerText">
                                                                    <div class="">
                                                                        <asp:Label ID="Label7" Text="File List" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                <ContentTemplate>
                                                                    <div id="GridViewDiv" runat="server" visible="false">
                                                                        <asp:GridView ID="FileGridView" runat="server" Width="100%" CssClass="table table-striped table-bordered"
                                                                            AutoGenerateColumns="False" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Files Uploaded">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="File Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left"
                                                                                    ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:HyperLink ID="FileNameHyperLink" runat="server" Text='<%# Eval("FileName") %>'
                                                                                            NavigateUrl='<%# Eval("FilePath") %>' Target="_blank"></asp:HyperLink>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Delete" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center"
                                                                                    ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:ImageButton ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_OnClick"
                                                                                            ImageUrl="~/Images/icons/icon_delete.gif" ToolTip="Delete" />
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>--%>
                                            <div id="EmployeeLeaveDiv" class="himssuHeader6WireBox col-md-12"
                                                runat="server" style="width: 100%; margin-right: 5px;" visible="false">
                                                <div class="himsBoxHeader" id="Div1" visible="False" runat="server">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle" style="width: 99%">
                                                        <div class="headerText">
                                                            <div class="">
                                                                <asp:Label ID="EmployeeLeaveLabel" Text="Employee Leave" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent">
                                                    <asp:GridView ID="EmployeeLeaveDetailGridView" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive" CssClass="table table-striped table-bordered"
                                                        AutoGenerateColumns="False" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Records Found !!">
                                                        <Columns>
                                                            <asp:BoundField HeaderText="Leave Type" DataField="Leave Type" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="25%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="Balance Leave" DataField="Balance Leave" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="25%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="No. Of Leave (Used Leave)" DataField="No. Of Leave" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="25%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="Available Balance" DataField="Available Balance" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="25%" />
                                                            </asp:BoundField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                           
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/builtjs/travel-master-built" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/travel-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
