<link href="<?php echo base_url();?>admin_assets/plugins/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
  <div class="body-content">
            <div class="row">
                <div class="col-md-4">
                	<?php ////if($this->session->flashdata("msg")!==""){echo $this->session->flashdata("msg"); }?>
                    <div class="card mb-4">
                        <div class="card-header">
                            <div class="d-flex justify-content-between align-items-center">
                            <h6 class="fs-17 font-weight-600 mb-0"> Add Rate List</h6>
                            </div>
                        </div>
                        <div class="card-body">
                        	
                            <form action="<?php echo base_url();?>admin/upload_rates_excel" method="post" enctype="multipart/form-data">
                            	    <div class="form-group"> 
                                    <label for="email">Select Vendor</label>
                                    <select  required class="form-control" name="client">
                                     <?php $this->db->select("gate_id,gate_name");
                                    $ips =$this->db->get("e_gatewaymapping")->result();
                                     foreach($ips as $ip){?>
<option value="<?php echo $ip->gate_id;?>"><?php echo $ip->gate_name;?></option>
                                     <?php }?>
                                    </select>
                                  </div>
                                  <div class="form-group"> 
                                    <a href="<?php echo base_url();?>assets/sample_rates_sheet.csv" class="float-right" download=""><i class="fa fa-download"></i> Download Sample Sheet</a>
                                    <label for="email">Excel </label>
                                    <input type="file" required class="form-control" name="pfile">
                                  </div>
                                  <button type="submit" class="btn btn-success">UPLOAD RATES</button>
                                </form>
                        </div>
                     </div>
                </div> 
                
            </div>
                         
                    </div><!--/.body content-->
                </div><!--/.main content-->
                
                
                

                <footer class="footer-content">
                    <div class="footer-text d-flex align-items-center justify-content-between">
                        <div class="copy">© 2024 CRM</div>
                    </div>
                </footer><!--/.footer content-->
                <div class="overlay"></div>
            </div><!--/.wrapper-->
        </div>
        <!--Global script(used by all pages)-->
        <script src="<?php echo base_url();?>admin_assets/dist/js/popper.min.js"></script>
        <script>
		$(document).ready(function(){
			$(".client_delete").click(function(e){e.preventDefault();
		if (!confirm("Sure you want to delete?")){
				  return false;
				}
			var id=$(this).attr("id");$(this).closest("tr").remove();
			$.ajax({
							 type: "POST",
							 url: '<?php echo base_url();?>admin/ajax_client_delete',
							 data: {id:id},
							 success: function(response){
								 //alert(response);
							 }
							 });
		});
			});
		</script>
        <script src="<?php echo base_url();?>admin_assets/plugins/bootstrap/js/bootstrap.min.js"></script>
        <script src="<?php echo base_url();?>admin_assets/plugins/metisMenu/metisMenu.min.js"></script>
        <script src="<?php echo base_url();?>admin_assets/plugins/perfect-scrollbar/dist/perfect-scrollbar.min.js"></script>
        <!-- Third Party Scripts(used by this page)-->
        <script src="<?php echo base_url();?>admin_assets/plugins/datatables/dataTables.min.js"></script>
        <script src="<?php echo base_url();?>admin_assets/plugins/datatables/dataTables.bootstrap4.min.js"></script>
        <!--Page Active Scripts(used by this page)-->
        <script src="<?php echo base_url();?>admin_assets/plugins/datatables/data-basic.active.js"></script>
        <!--Page Scripts(used by all page)-->
        <script src="<?php echo base_url();?>admin_assets/dist/js/sidebar.js"></script>
    </body>

<!-- Mirrored from bhulua.thememinister.com/tables_data_basic.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 28 Sep 2019 13:44:34 GMT -->
</html>