<?php include 'header.php';?>

<script>
  $(document).on('change',".gstinnumber", function(){    
    var inputvalues = $(this).val();
    var gstinformat = new RegExp('^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[1-9A-Z]{1}Z[0-9A-Z]{1}$');

    if (gstinformat.test(inputvalues)) {
     return true;
    } else {
        alert('Please Enter Valid GSTIN Number');
        $(".gstinnumber").val('');
        $(".gstinnumber").focus();
    } 

});
</script> 
  <div class="content-page">
    <div class="content">
      <div class="container">
        <div class="row">
          <div class="col-sm-12">
            <div class="page-header-title">
			<button type="button" class="btn btn-dark waves-effect waves-light" onclick="location.href='view_all_bar_material_master.php'">BACK </button>
            
              <div class="clearfix"></div>
            </div>
          </div>
        </div>
        
        
        <div class="row">
          <div class="col-md-6">
            <div class="panel panel-primary">
              <div class="panel-heading">
                <h3 class="panel-title">ADD Bar Material</h3>
              </div>	
			
              <div class="panel-body">
                                    <div class="row"> 

               <form name=""  id="frm_add_category" action="insert_bar_material.php" method="POST" >
			  
                        <div class="box-body">
						
							<div class="control-group"></div>
                     
					 <div class="col-sm-12 col-xs-12">
                      <div class="m-t-20">       
					  <div class="form-group">

                                <label for="Video Name"> Bar Material <sup class="mandatory">*</sup></label>

                                <input type="text" name="material_name" class="form-control"  required>

                            </div></div></div>
							
							

                            
                            <div class="col-sm-12 col-xs-12">
                                           
                                            <div class="m-t-20">
                                                    <div class="form-group">
                                                        <div>
                                                            <button type="submit" class="btn btn-primary waves-effect waves-light" style="float:right"> Submit </button>
							
															
                                                           
                                                        </div>
                                                    </div>
                                               
                                            </div>
                                        </div>

</div>

                    </form></div></div>
									
                                        
												
													


													
                                                    
                                        
                              </div>
            </div>
          </div>
        </div>
        
      </div>
    </div>
	<?php include 'footer.php';?>