<%@ Page Language="C#" MasterPageFile="~/MasterFile/TimeCheck.master" AutoEventWireup="true"
    CodeFile="TA_UI_Transactions_LeaveSanctionModify_Angler.aspx.cs" Inherits="Transactions_TA_UI_Transactions_LeaveSanctionModify_Angler" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="ConLeaveSanctionModify" ContentPlaceHolderID="BodyContentPH" runat="Server">
    <!--[if gt IE 5.5]>
	<link rel="stylesheet" type="text/css" href="../css/ProgressforIE.css" />
	
<![endif]-->

    <script type="text/javascript">

  function LeaveSanctionValidation()
    {
    
     var status=document.aspnetForm.ctl00_BodyContentPH_hdnStatusofApplication.value;
     var Authority=document.aspnetForm.ctl00_BodyContentPH_hdnAutorityLevel.value;
      if(Authority=='2' && status=='Pending')
      {
      return confirm('Reporting person yet to approve, do you want to continue?');
      
      }
      else
      {
      return true;
      }      
    
    }
    
    function ClientSideClick(myButton) {
    
            // Client side validation
            if (typeof (Page_ClientValidate) == 'function') {
            if (Page_ClientValidate() == false)
            { return false; }
            }

            //make sure the button is not of type "submit" but "button"
            if (myButton.getAttribute('type') == 'button') {
            // disable the button
            myButton.disabled = true;
            myButton.value = "Processing..."; 
            }
            return true;
            }
    
    function RedirectionFunction()
    {
        //alert('Test');
        document.getElementById('ctl00_BodyContentPH_btn_Cancel').click();
    }
    function hidedivPrivateNotes()
    {
    //document.getElementById('ctl00_BodyContentPH_divPrivateNotes').style.display="none";
    }
    function showhidedivPrivateNotes()
    {
    if(document.getElementById('ctl00_BodyContentPH_chkBoxPrivateNotes').checked==true)
    {    
     document.getElementById('ctl00_BodyContentPH_divToMail').style.display="block";
    
    if(document.getElementById('ctl00_BodyContentPH_divStatus')!=null)
    {
    document.getElementById('ctl00_BodyContentPH_divStatus').style.display="none";
    }
    }
    else
    {
    //document.getElementById('ctl00_BodyContentPH_divPrivateNotes').style.display="none";
    if(document.getElementById('ctl00_BodyContentPH_divStatus')!=null)
    {   
    document.getElementById('ctl00_BodyContentPH_divStatus').style.display="block";
    document.getElementById('ctl00_BodyContentPH_divToMail').style.display="none";
    }
    }
    
    }
    
        var LeaveType = "Select Leave Type";
        var LeaveRestrictType = "Select Leave/Restricted Holiday";
        var FrmDate = "Fill From Date";
        var Todate="Fill To Date";
        var FillReason="Fill Reason"; 
        var SaveConfirmation="Are you sure to, Save?"

var MaxLength = "Maximum length is ";


function MaxLengthh(maxLength)
{
 
MaxLength=maxLength;  
}
        function SetAlertMessages(Leavetype,LeaveRestrict,frmdate, Tdate, Reason,confirmation) {
            LeaveType = Leavetype;
            LeaveRestrictType = LeaveRestrict;
            FrmDate = frmdate;
            Todate = Tdate;
            FillReason = Reason;
            SaveConfirmation = confirmation;
        }
        
    
    function Validation()
    {
        var LTypeIndex=document.aspnetForm.ctl00_BodyContentPH_ddl_LeaveType.selectedIndex;
        var LeaveType=document.aspnetForm.ctl00_BodyContentPH_ddl_LeaveType.options[LTypeIndex].value; 
        var TypeIndex=document.aspnetForm.ctl00_BodyContentPH_ddl_Type.selectedIndex;
        var Type=document.aspnetForm.ctl00_BodyContentPH_ddl_Type.options[TypeIndex].value; 
        if(LeaveType=="-Select-")  
        {
            alert(LeaveType);
             return false;
        }
        else if (Type=="-Select-") 
        {
            alert(LeaveRestrictType);
             return false;
        }
        else if(document.aspnetForm.ctl00_BodyContentPH_txtFromDate.value=="")
        {
            alert(FrmDate);
              return false;
        } 
        else if(document.aspnetForm.ctl00_BodyContentPH_txtToDate.value=="")
        {
            alert(Todate);
              return false;
        } 
        else if(document.aspnetForm.ctl00_BodyContentPH_txtReason.value=="")
        {
            alert(FillReason);
              return false;  
        
        }
       /* else if(document.aspnetForm.ctl00_BodyContentPH_txtFromDate.value!="" && document.aspnetForm.ctl00_BodyContentPH_txtToDate.value!="")
        {   
           
               var Curdate=new Date();
               var CurYear=Curdate.getFullYear();
               var CurMonth=Curdate.getMonth();
               CurMonth=CurMonth+1;
               if(CurMonth < 10)
               {
                var CurMonth="0" + CurMonth;
               }
               
               var cdate=Curdate.getDate();
                              
               var TDate=document.aspnetForm.ctl00_BodyContentPH_txtToDate.value;
               var FDate=document.aspnetForm.ctl00_BodyContentPH_txtFromDate.value;
               
               var Tmon=TDate.substring(0,2);
               var Tdate=TDate.substring(3,5);
               var Tyear=TDate.substring(5,TDate.length);
               
               var Fmon=FDate.substring(0,2);
               var Fdate=FDate.substring(3,5);
               var Fyear=FDate.substring(5,FDate.length);
               
               if ((Fyear<CurYear) || (Tyear<CurYear))
               {
                 
                   if (Fyear<CurYear)
                   {
                        alert("From Year is Past")
                        return false;
                   }
                   if (Tyear<CurYear)
                   {
                        alert("To Year is Past")
                        return false;
                   }
                }   
                   if((Fyear==CurYear) && (Tyear==CurYear))
                   {
                        
                        if((Fmon < CurMonth) || (Tmon < CurMonth))
                        {
                           if(Fmon < CurMonth)
                            {
                                alert("From Month Is past");
                                return false;   
                            }
                            if(Tmon < CurMonth)
                            {
                                alert("To Month Is past");
                                return false;   
                            }
                        }    
                        
                   }
               if(Fmon == Tmon)
              {
                  
                if((Fdate < cdate) || (Tdate < cdate) )
                  {  
                    if(Fdate < cdate)
                    {
                        alert("From Date is past");
                        return false;
                    }
                    if(Tdate < cdate)
                    {
                        alert("To Date is past");
                        return false;
                    
                    }
                  }
                  else
                  {
                      if(Fdate > Tdate)
                      {
                           alert("ToDate Should be Greater than FromDate");
                           return false;
                      }
                 }  
             }
       }*/
    else
    {
        return confirm(SaveConfirmation);   
    }
   // return true;   
   }
   
//   function openPopupMailTo()
//   {
//        var MailType="TO";
//        popupwindow('GetEmailIdsPopup.aspx?MailType=' + MailType + '', 'Test', 700, 500); 
////        window.open('GetEmailIdsPopup.aspx?MailType=' + MailType + '','Test','height=610,top=200,left=250,width=600');
//        return false;
//   }
//    function openPopupMailCc()
//   {
//        var MailType="CC";
//        popupwindow('GetEmailIdsPopup.aspx?MailType=' + MailType + '', 'Test', 700, 500);
////        window.open('GetEmailIdsPopup.aspx?MailType=' + MailType + '','Test','height=610,top=200,left=250,width=600');
//        return false;
//   }
   
      function openPopupMailTo() {
            var MailType = "TO";
            document.getElementById('ctl00_BodyContentPH_iframePopup').src ='GetEmailIdsPopup.aspx?MailType=' + MailType + '', '';
           // window.open('GetEmailIdsPopup.aspx?MailType=' + MailType + '', '', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no,height=700,top=200,left=250,width=800;scrollbars=yes');
            return false;
        }
        function openPopupMailCc() {
            var MailType = "CC";
             document.getElementById('ctl00_BodyContentPH_iframePopup').src ='GetEmailIdsPopup.aspx?MailType=' + MailType + '', '';
           // window.open('GetEmailIdsPopup.aspx?MailType=' + MailType + '', '', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no,height=700,top=200,left=250,width=800;scrollbars=yes');
            return false;
        }
        
   function LeaveAvailed()
   {
    
        var EmployeeId=document.getElementById('ctl00_BodyContentPH_hdnEmployeeId').value;
        document.getElementById('ctl00_BodyContentPH_iframeLeave').src ='PopUp_LeaveAvailedQuota.aspx?EmployeeId=' + EmployeeId ;
//        popupwindow('PopUp_LeaveAvailedQuota.aspx?EmployeeId=' + EmployeeId + '', 'Test', 700, 500) 
//        window.open('PopUp_LeaveAvailedQuota.aspx?EmployeeId=' + EmployeeId + '','Test','height=340,top=200,left=120,width=320');
        return false;
   
   }
   
    function popupwindow(url, title, w, h) {
  var left = (screen.width/2)-(w/2);
  var top = (screen.height/2)-(h/2);
  return window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
} 
    </script>

    <div class="content-header">
        <h1 style="background-image: url('../dist/img/lve-san.png'); background-repeat: no-repeat;
            padding-left: 35px">
            <asp:Label ID="lbl_Header" runat="server"></asp:Label>
        </h1>
        <asp:SiteMapPath ID="site" runat="server" CssClass="breadcrumb">
            <NodeStyle CssClass="active" />
        </asp:SiteMapPath>
    </div>
    <div class="content">
        <div id="myModal" class="modal modal-default fade" role="dialog">
            <div class="modal-dialog" style="min-width: 85%;">
                <!-- Modal content-->
                <div class="modal-content" style="margin-top: 50px">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" style="border-radius: 50px;">
                            &times;</button>
                        <h4 class="modal-title" style="padding-bottom: 10px">
                            <asp:Label ID="lblSelectEmployee" runat="server" Text="Select Employee"></asp:Label>
                        </h4>
                    </div>
                    <div class="modal-body" style="padding-top: 0px">
                        <iframe id="iframePopup" runat="server" scrolling="auto" width="100%" height="650px"
                            style="border-style: none"></iframe>
                    </div>
                    <div class="modal-footer" style="display: none">
                        <button type="button" class="btn btn-primary pull-right" data-dismiss="modal">
                            Close</button>
                    </div>
                </div>
            </div>
        </div>
        <div id="myModalLeave" class="modal modal-default fade" role="dialog">
            <div class="modal-dialog" style="width: 50%;">
                <!-- Modal content-->
                <div class="modal-content" style="margin-top: 50px">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" style="border-radius: 50px;">
                            &times;</button>
                        <h4 class="modal-title" style="padding-bottom: 10px">
                            <asp:Label ID="Label3" runat="server" Text="Leave Availed Days"></asp:Label>
                        </h4>
                    </div>
                    <div class="modal-body" style="padding-top: 0px">
                        <iframe id="iframeLeave" runat="server" scrolling="auto" width="100%" height="400px"
                            style="border-style: none"></iframe>
                    </div>
                    <div class="modal-footer" style="display: none">
                        <button type="button" class="btn btn-primary pull-right" data-dismiss="modal">
                            Close</button>
                    </div>
                </div>
            </div>
        </div>
        <div class="exda-table">
            <h6>
                <span style="color: Red">|</span>
                <asp:Label ID="lbl_IndicatesMandatoryFields" runat="server" Text="Mandatory"></asp:Label>
                (1 No.)</h6>
        </div>
        <div class="emp-filter">
            <div class="form-horizontal">
                <div class="row">
                    <%-- <div class="col-md-12" style="color: Red;">
            <span class="fa fa-asterisk"></span>
           
        </div>--%>
                    <div class="col-md-12">
                        <div class="row form-group">
                            <div class="col-md-2">
                                <asp:Label ID="lblEmployeeId" runat="server" Text="Employee Id"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <asp:Label ID="lblEmployeeIdData" runat="server" CssClass="form-control"></asp:Label>
                            </div>
                            <div class="col-md-1">
                            </div>
                            <div class="col-md-2">
                                <asp:Label ID="lbl_EmpName" runat="server"></asp:Label></div>
                            <div class="col-md-3">
                                <asp:Label ID="lbl_EmployeeName" runat="server" CssClass="form-control"></asp:Label>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-2">
                                <asp:Label ID="Label2" Text="Level Name" runat="server"></asp:Label></div>
                            <div class="col-md-3">
                                <asp:Label ID="lblLevel" runat="server" CssClass="form-control"></asp:Label>
                            </div>
                            <div class="col-md-1">
                            </div>
                            <div class="col-md-2">
                                <asp:Label ID="lblLeaveApplicationDate" Text="Leave Application Date" runat="server"></asp:Label></div>
                            <div class="col-md-3">
                                <asp:Label ID="lblLeaveApplicationDateData" runat="server" CssClass="form-control"></asp:Label>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-2">
                                <asp:Label ID="lblLeaveAvailedMonth" Text="Leave Availed" runat="server"></asp:Label>
                                <asp:HiddenField ID="hdnEmployeeId" runat="server" />
                            </div>
                            <div class="col-md-10">
                                <asp:Label ID="lblLeaveAvailedMonthData" runat="server" BorderStyle="None" Style="display: none;"></asp:Label>
                                <asp:LinkButton ID="Button1" runat="server" CssClass="btn view-btn fa-eye" Text="&nbsp;&nbsp;View"
                                    OnClientClick="javascript:return LeaveAvailed();" data-toggle="modal" data-target="#myModalLeave" />
                                <asp:Label ID="lblLeaveAvailedYear" Text="Leave Availed in this Year" runat="server"
                                    Style="display: none;"></asp:Label>
                                <asp:Label ID="lblLeaveAvailedYearData" runat="server" BorderStyle="None" Style="display: none;"></asp:Label>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-11" style="overflow:auto;padding-bottom:10px;">
                                <div id="divLeaveDetails" runat="server">
                                    <asp:GridView ID="grv_LeaveApplication" runat="server" AutoGenerateColumns="False"
                                        AllowSorting="True" PageSize="5" CssClass="table das-table1" CellPadding="4"
                                        OnRowDataBound="grv_LeaveApplication_RowDataBound">
                                        <Columns>
                                            <asp:TemplateField HeaderText="Leave Category">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblLeaveCategory" Text='<%# Eval("Type") %>' runat="server"></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Leave Type">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblLeaveType" runat="server" Text='<%# Bind("LeaveType") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="From">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblLeaveFrom" runat="server" Text='<%# Bind("LeaveFrom") %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="To">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblLeaveTo" Text='<%# Eval("LeaveTo") %>' runat="server"></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Session From">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblSessionFrom" Text='<%# Eval("Leave_SessionFrom") %>' runat="server"></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="Session To">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblSessionTo" Text='<%# Eval("Leave_SessionTo") %>' runat="server"></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle Width="100px" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="No.of Days">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblLeaveDays" Text='<%# Eval("NumberOfDays") %>' runat="server"></asp:Label>
                                                </ItemTemplate>
                                                <ItemStyle Width="100px" />
                                            </asp:TemplateField>
                                        </Columns>
                                        <EmptyDataTemplate>
                                            No Records Found
                                        </EmptyDataTemplate>
                                        <HeaderStyle CssClass="empheader" />
                                        <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-2">
                                <asp:Label ID="lbl_Reason" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <asp:Label ID="lblReason" runat="server" Text="lblReason" CssClass="form-control"></asp:Label>
                            </div>
                            <div class="col-md-1">
                            </div>
                            <div class="col-md-2">
                                <asp:Label ID="lbl_PrivateNotes" Text="Private Notes" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-2">
                                <asp:CheckBox ID="chkBoxPrivateNotes" runat="server" CssClass="checkbox checkbox-primary"
                                    Text=" " onclick="javascript:showhidedivPrivateNotes();" />
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-11">
                                <div id="divPrivateNotes" runat="server" style="width: 100%;overflow:auto;padding-bottom:10px;">
                                    <div id="divNotesConversation" runat="server" style="overflow: auto;">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-2">
                                <asp:Label ID="lblIntimationType" runat="server" Text="Intimation Type"></asp:Label>
                            </div>
                            <%--<asp:Label ID="lblIntimationTypeData" runat="server"></asp:Label>--%>
                            <div class="col-md-1">
                                <asp:RadioButton ID="rbtnP" runat="server" GroupName="IntimationType" Checked="true"
                                    Text="Planned" CssClass="radio radio-primary" /></div>
                            <div class="col-md-1">
                                <asp:RadioButton ID="rbtnUPWI" runat="server" GroupName="IntimationType" Text="UP-WI"
                                    CssClass="radio radio-primary" /></div>
                            <div class="col-md-1">
                                <asp:RadioButton ID="rbtnUPWOI" runat="server" GroupName="IntimationType" Text="UP-WOI"
                                    CssClass="radio radio-primary" /></div>
                            <div class="col-md-1">
                            </div>
                            <div class="col-md-2">
                                <asp:Label ID="lbl_Remarks" runat="server"></asp:Label>
                            </div>
                            <div class="col-md-3">
                                <asp:TextBox ID="txtRemarks" runat="server" MaxLength="1000" onkeypress="return chkMaxLen(event,this,1000);"
                                    TextMode="MultiLine" CssClass="form-control man-dat" Style="resize: none;"></asp:TextBox>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-11" style="overflow:auto;padding-bottom:10px;">
                                <div id="divLeaveConversation" runat="server" style="overflow: auto;">
                                </div>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div id="divToMail" runat="server" style="width: 100%; display: none">
                                <div class="col-md-2">
                                    <asp:Label ID="lblApprovalTO" runat="server" Text="To Mail Ids"></asp:Label></div>
                                <div class="col-md-9">
                                    <div class="input-group input-group-sm">
                                        <asp:TextBox ID="txtApprovalTO" runat="server" CssClass="form-control man-dat" Height="70px"
                                            TextMode="MultiLine" OnKeyPress="return false" placeholder="Use Semicolon(;) to separate Email Ids"
                                            Style="resize: none"></asp:TextBox>
                                        <span class="input-group-btn">
                                            <asp:Button ID="btnApprovalTO" runat="server" CssClass="btn save-btn" Text="To..."
                                                Style="min-width: 45px" Height="70px" OnClientClick="javascript:return openPopupMailTo();"
                                                data-toggle="modal" data-target="#myModal" />
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-2">
                                <asp:Label ID="lblApprovalCC" runat="server" Text="Cc Mail Ids"></asp:Label>
                            </div>
                            <div class="col-md-9">
                                <div class="input-group input-group-sm">
                                    <asp:TextBox ID="txtApprovalCC" runat="server" CssClass="form-control" TextMode="MultiLine"
                                        placeholder="Use Semicolon(;) to separate Email Ids" Style="resize: none" Height="70px"></asp:TextBox>
                                    <span class="input-group-btn">
                                        <asp:Button ID="btnApprovalCC" runat="server" CssClass="btn save-btn" Text="Cc..."
                                            Style="min-width: 45px" OnClientClick="javascript:return openPopupMailCc();"
                                            data-toggle="modal" data-target="#myModal" Height="70px" />
                                    </span>
                                </div>
                            </div>
                        </div>
                        <div class="row form-group" style="display:none;">
                            <div id="divStatus" runat="server" style="width: 100%">
                                <div class="col-md-2">
                                
                                </div>
                                <div class="col-md-10">
                                    <asp:RadioButtonList ID="rblStatus" runat="server" RepeatDirection="Horizontal" CssClass="radio radio-primary"
                                        RepeatLayout="Flow">
                                    </asp:RadioButtonList>
                                    <asp:Label ID="lbl_Error" runat="server" Style="color: #ff0000"></asp:Label>
                                </div>
                            </div>
                        </div>
                        <div class="row form-group">
                            <div class="col-md-2">
                                 <asp:Label ID="lblStatus" runat="server" Text="Status"></asp:Label>
                            </div>
                            <div class="col-md-10" style="padding-left: 0px">
                            
                                <div class="col-md-2">
                                    <asp:RadioButton ID="rbApproved" Text="Approved" runat="server" CssClass="radio radio-primary"
                                        GroupName="ValStatus" OnCheckedChanged="rbApproved_OnCheckedChanged"  />
                                </div>
                                <div class="col-md-2">
                                    <asp:RadioButton ID="rbForwarded" Text="Forwarded" runat="server" CssClass="radio radio-primary"
                                        GroupName="ValStatus" OnCheckedChanged="rbForwarded_OnCheckedChanged"  />
                                </div>
                                <div class="col-md-2">
                                    <asp:RadioButton ID="rbPending" Text="Pending" runat="server" CssClass="radio radio-primary"
                                        GroupName="ValStatus" OnCheckedChanged="rbPending_OnCheckedChanged" />
                                </div>
                                <div class="col-md-2">
                                    <asp:RadioButton ID="rbRejected" Text="Rejected" runat="server" CssClass="radio radio-primary"
                                        GroupName="ValStatus" OnCheckedChanged="rbRejected_OnCheckedChanged"  />
                                </div>
                                <div class="col-md-2">
                                    <asp:RadioButton ID="rbResend" Text="Resend" runat="server" CssClass="radio radio-primary"
                                        GroupName="ValStatus" OnCheckedChanged="rbResend_OnCheckedChanged" />
                                </div>
                                <div class="col-md-1">
                                    <asp:RadioButton ID="rbReply" Text="Reply" runat="server" CssClass="radio radio-primary"
                                        GroupName="ValStatus" OnCheckedChanged="rbReply_OnCheckedChanged" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-11" align="right">
                        <asp:LinkButton ID="btn_Save" runat="server" CssClass="btn save-btn  fa-floppy-o"
                            OnClick="btn_Save_Click" OnClientClick="if(LeaveSanctionValidation())ClientSideClick(this);else return false;"
                            UseSubmitBehavior="false" />
                        <asp:LinkButton ID="btn_Cancel" runat="server" CausesValidation="False" CssClass="btn save-btn fa-angle-left"
                            OnClick="btn_Cancel_Click" />
                        <asp:HiddenField ID="hdnStatusofApplication" runat="server" />
                        <asp:HiddenField ID="hdnAutorityLevel" runat="server" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
