<%@ page title="" language="C#" masterpagefile="~/html/MasterPage.master" autoeventwireup="true" inherits="html_DebtorsMaster, App_Web_susspz30" enableeventvalidation="false" async="true" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 
	<style type="text/css">

		a img{border: none;}
		ol li{list-style: decimal outside;}
		div#container{margin: 0 auto;padding: 1em 0;}
		div.side-by-side{width: 100%;margin-bottom: 1em;}
		div.side-by-side > div{float: left;width: 50%;}
		div.side-by-side > div > em{margin-bottom: 10px;display: block;}
		.clearfix:after{content: "\0020";display: block;height: 0;clear: both;overflow: hidden;visibility: hidden;}
		
	</style>
       <link rel="stylesheet" href="../CSS/chosen.css" />
       <link href="../css/buttoncss.css" type="text/css" rel="Stylesheet"/>
       <script type="text/javascript" src="../js/JScript.js"></script>
       <script src="../js/JScript_showDiv_Hide.js" type="text/javascript"></script>


      <style type="text/css">
           .shadow_five222 {
            background-color: #FFF0DB;      
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            -o-border-radius: 10px;
            -ms-border-radius: 10px;
            border-radius: 10px;
            -moz-box-shadow: 0px 0px 0px #B1A59A;
            -webkit-box-shadow: 0px 0px 0px #B1A59A;
            -o-box-shadow: 0px 0px 0px #B1A59A;
            -ms-box-shadow: 0px 0px 0px #B1A59A;
            box-shadow: 0px 0px 0px #B1A59A;
           width:65%;
            }
         .shadow_five223 {
            background-color: #FFF0DB;      
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            -o-border-radius: 10px;
            -ms-border-radius: 10px;
            border-radius: 10px;
            -moz-box-shadow: 0px 0px 0px #B1A59A;
            -webkit-box-shadow: 0px 0px 0px #B1A59A;
            -o-box-shadow: 0px 0px 0px #B1A59A;
            -ms-box-shadow: 0px 0px 0px #B1A59A;
            box-shadow: 0px 0px 0px #B1A59A;
           width:100%;
        }
     .modelbackground
        {
        	background-color:Gray;
	        filter:alpha(opacity=70);
	        opacity:0.7;
        }
         .categorypanel
        {
        	background-color:White;
        	border:2px solid black;
        	
        		}  
     .Label
    {

       background-image: linear-gradient(to bottom, #fcfcfc, #f7f7f7 3%, #ff9966 12%,#55002b 90%, #55002b);
-webkit-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
-moz-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white ;
box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
            height:25px;

}
     
        .style1
        {
            height: 6%;
        }
        
            .shadow_five2 {
             background-color: #E1E1E1 ;
             -moz-border-radius: 10px;
             -webkit-border-radius: 10px;
             -o-border-radius: 10px;
             -ms-border-radius: 10px;
             border-radius: 10px;
             -moz-box-shadow: 3px 3px 5px #B1A59A;
             -webkit-box-shadow: 3px 3px 5px #B1A59A;
             -o-box-shadow: 3px 3px 5px #B1A59A;
             -ms-box-shadow: 3px 3px 5px #B1A59A;
             box-shadow: 3px 3px 5px #B1A59A;
             padding-top : auto;
             height:auto;
         }
              .cssPager table
        {
        	margin:7px 0px;
        	color:Blue;
        }   
        .cssPager span
        {        	
        	background-color:#F2F2F2;
        	border:1px solid #999999;
        	padding:1px 4px;
        	color:Blue;
        	font-weight:bold;
        }
        .cssPager td
        {
        	padding:0px 4px;           		
        }
        
                .cssLoadingTimer
        {        	
        	/* filter:alpha(opacity=90);       	
        	opacity:0.7; */        	
        	text-align:center; 
        	position:fixed; 
        	margin:5% 0% 0px 30%; 
        	   
        	width:300px;
        	height:20%;
        	background-color:#ffebcc;
        	display:inline;
            z-index:999;
            margin-top:200px;
            align:center;
        	
        
        }
     
    </style>
    
      <style type="text/css">
 .categorypanel
        {
        	background-color:#b3ebf4;
        	/*border:2px solid black;*/
        	
        }
      
  .contactpanelcss
        {
        	width:98%;
        	  margin: 0px;
         background-color: White;
         border: 5px solid #8AE2FF;
         padding: 0px;
         margin-top: 0px;
        	     	   	
        }
   .font
   {
	font-size:12px;
	font-family:Verdana;
	}

     .style2
     {
         height: 49px;
     }

     .style3
     {
         height: 28px;
     }
     .style4
     {
         height: 25px;
     }
     .style5
     {
         height: 31px;
     }
     .style7
     {
         height: 28px;
         width: 289px;
     }
     .style8
     {
         height: 31px;
         width: 289px;
     }
     .style9
     {
         height: 25px;
         width: 289px;
     }
     .style10
     {
         width: 327px;
     }
     .style11
     {
         width: 103px;
     }
     .style12
     {
         width: 15px;
     }
  </style>
      <style type="text/css">
        .style2
        {
            width: 100%;
        }
         .style34
     {
         width: 117px;
         height: 32px;
     }
     .regular-checkboxgrid1 
    {
	    -webkit-appearance: none;
    	background-color: #fafafa;
    	border: 1px solid #cacece;
    	box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
	    padding: 9px;
	    border-radius: 3px;
	    display: inline-block;
	    position: relative;
	    width: 110px;
	    overflow:auto;
	    height:100px;
        top: 0px;
        left: 0px;
     }
     .contactpanelcss
        {
        	width:65%;
        	margin:0px;
        	background-color:White;
        	border:6px solid ActiveBorder;
        	padding:5px;
        	margin-top:0px;
        	     	   	
        }   
    
         .shadow_five {
        background-color: #FFECCE;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        -o-border-radius: 10px;
        -ms-border-radius: 10px;
        border-radius: 10px;
        -moz-box-shadow: 3px 3px 5px #B1A59A;
        -webkit-box-shadow: 3px 3px 5px #B1A59A;
        -o-box-shadow: 3px 3px 5px #B1A59A;
        -ms-box-shadow: 3px 3px 5px #B1A59A;
        box-shadow: 3px 3px 5px #B1A59A;
        padding: 10px;
        margin-bottom:10px;
        
    }
     .p1
        {
       background-image: linear-gradient(to bottom, #fcfcfc, #f7f7f7 3%, #ff9966 12%,#ff9966 90%, #bfbfbf);
-webkit-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
-moz-box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white ;
box-shadow: 0 4px 25px rgba(0,0,0,0.32), inset 0 1px 0 white;
            height:35px;
            width:250px;
        }
        .style36
        {
            height: 32px;
        }
         .shadow_five1 {
            background-color: #F2FFC6;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            -o-border-radius: 10px;
            -ms-border-radius: 10px;
            border-radius: 10px;
            -moz-box-shadow: 3px 3px 5px #B1A59A;
            -webkit-box-shadow: 3px 3px 5px #B1A59A;
            -o-box-shadow: 3px 3px 5px #B1A59A;
            -ms-box-shadow: 3px 3px 5px #B1A59A;
            box-shadow: 3px 3px 5px #B1A59A;
            margin-bottom: 10px;
            width:100%;
        }
         .cssLoadingTimer
        {        	
        	/* filter:alpha(opacity=90);       	
        	opacity:0.7; */        	
        	text-align:center; 
        	position:fixed; 
        	margin:5% 0% 0px 30%; 
        	background-color:White;
          
        	width:300px;
        	height:150PX;
        	 background-color:#ffebcc;
        	
        
        }  
    </style>

   
   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    
      <script type="text/javascript">
       //seema added this code  28062019
        $().ready(function () {
            var user_id = $('input[id$=hf_id]').val();
            //alert(user_id);
                       $("[id*=ddlCrName]").change(function () {
                          // alert("sss");
                           var CID = $("[id*=ddlCrName]").find("option:selected").val();
                        //   alert(CID);
                           $.ajax({
                               type: "POST",
                               url: "DebtorsMaster.aspx/Bind_custdata_list",
                               data: "{user_id:'" + user_id + "',CID:'" + CID + "'}",
                               contentType: "application/json; charset=utf-8",
                               dataType: "json",
                               success: function (response) {
                                   var Emailid = response.d;
                                 // alert(Emailid);
                                   var arr = Emailid.split(',');
                                  // alert(arr);
                                   $('#txtCrCity').val(arr[0]);
                                   $('#ddlpname').val(arr[1]);
                                   $('#txtemailid').val(arr[2]); 
                                   //alter("jnhjkkj");
                                   //$('#txtstate').val(arr[3]); 
                                   $.each(response.d, function () {


                                   });


                               },

                               failure: function (response) {
                                   // alert("Test");
                               }
                           });

                       });

        });
    </script>
   

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 
  
   
    <div style="float:right;">
          
    </div> 
     
      <div class="p12" style="width:240px;" >
      <p style="font-family:Verdana; font-size:14px; margin-top:5px;color:White;font-weight:bold;padding-top:5px;">
      <b style="color:White;">&nbsp;&nbsp;Invoice Master</b> 
      </p>
      </div>
 
      <asp:HiddenField ID="hf_EID" runat="server" />
      <asp:HiddenField ID="hf_state_value" runat="server"/>
	  <div  style="margin-left:500px;" >
                    <asp:Button ID="btnImport" runat="server" CssClass="myButton"
                        onclick="btnImport_Click" Text="Import" 
                        Width="80px" />
                    &nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btnAddNew" runat="server"  CssClass="myButton"
                        onclick="btnAddNew_Click" Text="Add" Width="80px" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnShowOutside" runat="server" CssClass="myButton"
                        onclick="btnShowOutside_Click" Text="Show" Width="80px" Visible="false" />
                    <asp:Label ID="lblTest1" runat="server" Font-Names="Verdana" Font-Size="14px" 
                        ForeColor="Red"></asp:Label>
               </div>
<asp:Panel ID="Panel1" runat="server" Width="99%">  <%--BorderStyle="Groove"--%>
    
	<div ID="pnlForAdmin" runat="server">

        <table width="100%" class="style2" >
    <%--   for admin --%>
        <tr><td>
         <asp:Label ID="lbl_debtors_list_msg_emp" runat="server" Text="" Font-Bold="true"  ForeColor="Red" ></asp:Label>
      
            <asp:Panel ID="pnl_ForAdmin" runat="server" >
             
        <table width="100%">
     
     
       
            <tr>
                <td align="center" valign="top">
					
                    <asp:Panel ID="pnlUpload" runat="server" Visible="false" CssClass="addtabel" Width="70%">
                    <table width="100%" >
                    <tr>
           <td align="left" valign="top">
            <asp:Label ID="Label3" runat="server" Font-Names="Verdana" Font-Size="13px" 
                ForeColor="#007500" Text="1. Please fill your data as per format in the excel file in <b>Download file</b> tab."></asp:Label>
			   <asp:HyperLink ID="Hexcel" runat="server"  CssClass="empmyButton"
                    Width="110px"  NavigateUrl="~/ExcelFiles/DebtorsList.xls" Target="_blank" Text="DownLoad File"></asp:HyperLink><br />
                <asp:Label ID="Label9" runat="server" Font-Names="Verdana" Font-Size="13px" 
                ForeColor="#007500" Text="2. Following fields are compulsory in attached excel file - <br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Customer Name,State,Employee Code. And 'State' should be in AreaMaster</b>."></asp:Label><br /><br />
            
                    <br />
           </td>
       </tr>
                    
                    <tr><td>
                        <asp:Label ID="Label14" runat="server" CssClass="lb" Font-Size="Medium" 
                            Text="Choose File :"></asp:Label>
                        <b style="color:Red;">*</b> &nbsp;
                        <asp:FileUpload ID="FileUpload1" runat="server" style="margin-top: 0px" Width="300px" />
                        <asp:Button ID="btnUploadFile" runat="server" CssClass="myButton" onclick="btnUploadFile_Click" style="margin-left: 10px; margin-top: 0px;" Text="Upload" ValidationGroup="1" Width="80px" /> &nbsp;&nbsp; 
                <asp:Button ID="btn_cancel" runat="server" Text="Cancel" CssClass="myButton"  Width="80px" onclick="btn_cancel_Click" />
                            <br />
                    <br /></td>
                    </tr>
                    <tr><td align="center">   <b> <a style="color:Red;  padding-right:20px;">* Indicates Compulsory Fields</a></b>
                    </td></tr>
                    <tr><td>
                    <div >
                        <br />
                        <asp:Label ID="Label2" runat="server" Font-Bold="false" Font-Size="Medium" ForeColor="Red"></asp:Label>
                        <asp:RegularExpressionValidator ID="FileUpLoadValidator" runat="server" 
                            ControlToValidate="FileUpload1" ErrorMessage="Upload Excel only." 
                            ValidationExpression="^.*\.xls[xm]?$" ValidationGroup="1"></asp:RegularExpressionValidator>
                        <br />
                        <asp:Label ID="lblSelectOne" runat="server" Font-Bold="False" 
                            Font-Size="Medium" ForeColor="Red" Visible="False"></asp:Label>
                        <br />
                        <asp:Label ID="lblcustdelete" runat="server" Font-Bold="False" 
                            Font-Size="Medium" ForeColor="Red" Visible="False"></asp:Label>
                        <br />
                        <asp:Label ID="lblSelectcust" runat="server" Font-Bold="false" 
                            Font-Size="Medium" ForeColor="Red" Visible="False"></asp:Label>
                        <br />
                        <asp:Label ID="lblinvoice2" runat="server" Font-Bold="True" 
                            Font-Size="Medium" ForeColor="#97004B"></asp:Label>
                        <asp:Label ID="lblinvoice1" runat="server" Font-Bold="False" Font-Size="Medium" 
                            ForeColor="Red"></asp:Label>
                            
                        <br />
                          <asp:Label ID="lbl_date_format" runat="server" Font-Bold="False" Font-Size="Medium" 
                            ForeColor="Red"></asp:Label>
                             <br />
                <asp:Label ID="lbl_duplicate_records" runat="server" Font-Size="15px" ForeColor="Red" 
                    Font-Names="Calibri"></asp:Label>
                       </div>
                     </td></tr>       
                    </table>        
                    </asp:Panel>


					   <asp:Label ID="lblInsert0" runat="server" Font-Names="Verdana" Font-Size="14px" 
                   ForeColor="Green" Font-Bold="true"></asp:Label>
                </td>
            </tr>
          
          
          
          
        
       <tr>
           <td align="center" valign="top">
      
                    <asp:Panel ID="pnlAdd" runat="server"  Width="60%" 
                   > 
           <table width="100%" class="style2" >
           
           
        
           
               <tr>
                   <td class="style4">
                   </td>
                   <td align="right" class="style9">
                       <asp:Label ID="lblcname0" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="Invoice Number"></asp:Label>
                   </td>
                   <td class="style4">
                   <a style="color:Red;">*</a>
                   </td>
                   <td align="left" class="style4">
                       <asp:TextBox ID="txtInvoice_No" runat="server" Height="15px" Width="150px"></asp:TextBox>
                      </td>
                   <td align="left" >
					     <asp:RequiredFieldValidator ID="RequiredFieldValidator4" Display="Dynamic" runat="server" ControlToValidate="txtInvoice_No" ErrorMessage="Enter Invoice Number" ValidationGroup="1" ForeColor="Red" ></asp:RequiredFieldValidator>
                  
                   </td>
               </tr>
        
       
               <tr>
                   <td class="style3">
                       </td>
                   <td align="right" class="style7">
                       <asp:Label ID="lblcname1" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="Invoice Date"></asp:Label>
                   </td>
                   <td class="style3">
                   <a style="color:Red;">*</a>
                       </td>
                   <td align="left" class="style3">
                       <asp:TextBox ID="txtDate" runat="server" Height="15px" Width="150px" ></asp:TextBox>
                                            
                         <cc1:CalendarExtender ID="txtDate_CalendarExtender" runat="server" Enabled="True" TargetControlID="txtDate" Format="dd-MMM-yyyy">
                         </cc1:CalendarExtender>
                   </td>
                   <td align="left" class="style3">
					     <asp:RequiredFieldValidator ID="RequiredFieldValidator5"  Display="Dynamic"  runat="server" ControlToValidate="txtDate" ErrorMessage="Select Invoice Date" ValidationGroup="1" ForeColor="Red" ></asp:RequiredFieldValidator>

                       </td>
               </tr>
               
                 
               
               
               <tr>
                   <td class="style5">
                   </td>
                   <td align="right" class="style8">
                       <asp:Label ID="lblcname" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="Client Name" ></asp:Label>
                   </td>
                   <td class="style5"><a style="color:Red;">*</a>
                   </td>
                   <td align="left" class="style5">
					   
 <div id="container" style="margin:0px;padding:0px;">

   <div class="side-by-side clearfix" style="margin:0px;padding:0px;">

                      <asp:DropDownList ID="ddlCrName" runat="server"  DataTextField="CName" DataValueField="cid"  
                   
                      AppendDataBoundItems="True" Width="200px">
                      </asp:DropDownList>


                   
					   <asp:Label ID="lblTest2" runat="server" Font-Names="Verdana" Font-Size="14px" 
                           ForeColor="Red"></asp:Label>

	<%--      <script src="../Scripts/chosen.jquery.js" type="text/javascript"></script>
	--%>


                  </div>
		 </div>



                   </td>
                   <td align="left" class="style5">
					       <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"  Display="Dynamic"  
                           ControlToValidate="ddlCrName" ErrorMessage="Select Name" InitialValue="-Select-" 
                           ValidationGroup="1" ForeColor="Red" ></asp:RequiredFieldValidator>
                      

                    <asp:LinkButton ID="lnkNewCust" runat="server" CssClass="myButton" Visible="false"
                   Font-Names="Verdana" Font-Size="12px" PostBackUrl="~/Admin/CustomerMaster.aspx?var=serviceinvoice"
                   Text="Add New Customer" Width="133px"></asp:LinkButton>

                     </td>
               </tr>
        
       
        <tr>
            <td class="style38">
            </td>
            <td align="right" class="style9">
                <asp:Label ID="Label7" runat="server" Font-Names="Verdana" Font-Size="14px" CssClass="lb"
                    Text="City"></asp:Label>
            </td>
            <td class="style40">
            </td>
            <td align="left" class="style38">
            
               
                <asp:TextBox ID="txtCrCity" runat="server" Height="15px" Width="150px" Enabled="false"></asp:TextBox>
            </td>
            <td class="style38">
            </td>
        </tr>
               <tr>
                   <td class="style38">
                       &nbsp;</td>
                   <td align="right" class="style9">
                       <asp:Label ID="Label16" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="Contact Person"></asp:Label>
                   </td>
                   <td class="style40">
                       &nbsp;</td>
                   <td align="left" class="style38">

                         <asp:TextBox ID="ddlpname" runat="server" Height="15px" Width="150px" ></asp:TextBox>
                   </td>
                   <td class="style38">
                       &nbsp;</td>
               </tr>
               <tr>
                   <td class="style38">
                       &nbsp;</td>
                   <td align="right" class="style9">
                       <asp:Label ID="Label17" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="Client Ref No."></asp:Label>
                   </td>
                   <td class="style40">
                       &nbsp;</td>
                   <td align="left" class="style38">

                   <asp:DropDownList ID="ddl_customers_po_list" runat="server" AppendDataBoundItems="true" Width="150px" Visible="false" CssClass="selectbox" >
                       </asp:DropDownList>
                       <asp:TextBox ID="txtpono" runat="server" Height="15px" Width="150px"></asp:TextBox>
                     <%--  <cc1:FilteredTextBoxExtender ID="txtpono_FilteredTextBoxExtender" 
                           runat="server" FilterType="Numbers" TargetControlID="txtpono">
                       </cc1:FilteredTextBoxExtender>--%>
                   </td>
                   <td class="style38">
                       &nbsp;</td>
               </tr>

                <tr>
            <td class="style41">
            </td>
            <td align="right" class="style9">
                <asp:Label ID="Label8" runat="server" Font-Names="Verdana" Font-Size="14px" CssClass="lb"
                    Text="Amount"></asp:Label>
            </td>
            <td class="style43"><a style="color:Red;">*</a>
            </td>
            <td align="left" class="style41">
                <asp:TextBox ID="txtAmount" runat="server" Height="15px" Width="150px" ></asp:TextBox>
                  <cc1:FilteredTextBoxExtender ID="Ft2" runat="server" FilterType="Numbers" TargetControlID="txtAmount"></cc1:FilteredTextBoxExtender>
                   
                 
                   
            </td>
            <td align="left">
				      
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"  Display="Dynamic" 
                    ControlToValidate="txtAmount" ErrorMessage="Enter Amount" ValidationGroup="1" ForeColor="Red" ></asp:RequiredFieldValidator>
               </td>
        </tr>



               <tr>
                   <td class="style38">
                       &nbsp;</td>
                   <td align="right" class="style9">
                       <asp:Label ID="Label18" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="E-mail ID"></asp:Label>
                   </td>
                   <td class="style40">
                       &nbsp;</td>
                   <td align="left" class="style38">
                       <asp:TextBox ID="txtemailid" runat="server" Height="15px" Width="190px"></asp:TextBox>
                    
                   </td>
                   <td align="left">
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" Display ="Dynamic"
                    ControlToValidate="txtemailid" ErrorMessage="Enter Proper Email ID" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="1"></asp:RegularExpressionValidator></td>
               </tr>
     
      
               <tr>
                   <td class="style41">
                       &nbsp;</td>
                   <td align="right" class="style9">
                       <asp:Label ID="Label15" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="Remarks"></asp:Label>
                   </td>
                   <td class="style43">
                       &nbsp;</td>
                   <td align="left" class="style41">
                       <asp:TextBox ID="txtRemarks" runat="server" Height="15px" Width="190px"></asp:TextBox>
                      <%-- <br />
                       <asp:Label ID="lbl_note_msg" runat="server" Text="[This remark is show in respective employee login.]" Font-Names="Verdana" Font-Size="12px" ForeColor="Green"></asp:Label>--%>
                   </td>
                   <td align="left">
                       &nbsp;</td>
               </tr>
               
               <tr>
                   <td class="style41">
                       &nbsp;</td>
                   <td align="right" class="style9">
                       <asp:Label ID="lblasiignemp" runat="server" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px" Text="Select Employee"></asp:Label>
                   </td>
                   <td class="style43">
                     
<a style="color:Red;">*</a>

                   </td>
                    <td colspan="3" >
                <div class="col-lg-10">
                            <div class="shadow_five1" 
                                style="height:130px;overflow:auto;width:210px;line-height:20px;">
                                <asp:CheckBoxList ID="ddl_employee11" runat="server" 
                                    DataSourceID="SqlDataSource2" DataTextField="EName" DataValueField="EID" 
                                    Font-Names="Verdana" Font-Size="12px">
                                </asp:CheckBoxList>
                                
                                
                                 
                                <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:Project_monitorConnectionString %>" 
                                    SelectCommand="SELECT  [EID],[EName] FROM [EmployeeMaster] where ([user_id] = @user_id and working_status=1 ) order by [EName]">
                                    <SelectParameters>
                                        <asp:SessionParameter DefaultValue="user_id" Name="user_id" 
                                            SessionField="User_id" Type="Int32" />
                                    </SelectParameters>
                                </asp:SqlDataSource>
                            </div>
                        </div>
                        
             <%--            <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="Select Team members" ClientValidationFunction="ValidateCheckBoxList"
                                 ValidationGroup="1" ForeColor="Red"></asp:CustomValidator>--%>
                </td>
             
               </tr>
      
        <tr>
            <td class="style68">
            </td>
            <td align="right" class="style9">
                <asp:Label ID="Label10" runat="server" Text="Payment due Date" CssClass="lb" Font-Names="Verdana" 
                           Font-Size="14px"></asp:Label>
            </td>
            <td class="style70"><a style="color:Red;">*</a>
            </td>
            <td align="left" class="style68">
                  <asp:TextBox ID="TextBox1" runat="server" Height="15px" Width="150px" ></asp:TextBox>
                                            
                         <cc1:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" TargetControlID="TextBox1" Format="dd-MMM-yyyy">
                         </cc1:CalendarExtender>
                   </td>
            <td class="style68" align="left">
				   <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"  Display="Dynamic"  ErrorMessage="Enter Payment due date" ControlToValidate="TextBox1" ValidationGroup="1" ForeColor="Red" ></asp:RequiredFieldValidator>
      
            </td>
        </tr>
        <tr>
            <td class="style65">
                </td>
            <td align="right" class="style9">
                </td>
            <td class="style67">
                </td>
            <td align="left" class="style65">
                <asp:Button ID="btnSubmit" runat="server" CssClass="myButton"
                    Text="Submit" ValidationGroup="1" onclick="btnSubmit_Click" 
                    Width="100px" 
                     OnClientClick="if (!Page_ClientValidate(1)){ return false; } this.disabled = true; this.value = 'Saving...';"  
                    UseSubmitBehavior="false"
                    />
                    <br />
                    <br />
                    <b> <a style="color:Red;  padding-right:20px;">* Indicates Compulsory Fields</a></b>
                   <%-- <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                           DynamicLayout="true">
                          <ProgressTemplate>
                              <div>
                                  <img id="Img1" alt="Loading..." src="../images/Regloader.gif" runat="server" />
                                  </div>
                          </ProgressTemplate>
                      </asp:UpdateProgress>--%>
                <br />
   

                <asp:Label ID="lblInsert" runat="server" Font-Names="Verdana" Font-Size="14px" 
                    ForeColor="Red"></asp:Label>
            </td>
            <td class="style65">
                </td>
        </tr>
        
        
        </table>
        </asp:Panel>
        
  
           </td>
       </tr>
        </table>
        </asp:Panel>
       </td></tr>
   
       
     
       <tr>
           <td align="center" class="style2" valign="top">
           </td>
           </tr>
           </table>

 
	</div>
        <table style="width:100%;">
        <tr>
        <td>
        <asp:Panel ID="pnlUpdateRemark12" runat="server" Visible="false">
            <div style="width:100%; height:auto; overflow:auto;" align="center">
              <asp:Label ID="lblInsertUpdate" runat="server" Font-Names="Verdana" 
                    Font-Size="14px" ForeColor="Red"></asp:Label>
                <br />
              
        <asp:Label ID="Label24" runat="server" Text="Invoices List" Font-Bold="True" Font-Names="Verdana" 
                    Font-Size="23px" ForeColor="#6600FF" ></asp:Label>
     
               
             </div>

              <br />
             </asp:Panel>
        
         
    
           </td>
       </tr>
     </table>

    </asp:Panel>
   <asp:HiddenField ID="hf_id" runat="server" />
             <asp:HiddenField ID="hf_select_eids" runat="server" />
</asp:Content>
