ok

Mini Shell

Direktori : /home2/selectio/www/lilyexpresslive/software/admin/
Upload File :
Current File : /home2/selectio/www/lilyexpresslive/software/admin/manifest.php

<?php require_once('header.php'); ?>
<script type="text/javascript" language="javascript" >
	$(document).ready(function() {
		     function getData(){
			    var from= $('#from').val();     
                var to= $('#to').val();   
                var role= $('#role').val();   
                var role_id= $('#role_id').val();  
				var dataTable = $('#employee-grid').DataTable( {
					"processing": true,
					"serverSide": true,
                    "destroy":true,
                    "ajax":{
						url :"data-tables/manifest_dt.php", // json datasource
				// 		data: {client_id:role_id,client_type:role,from:from,to:to,status:'picked'},
						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();
			  $('#get_report').on('click', function(){
			      var from_date=  $('#from').val();
			      if(from_date){
			        getData();
			      } else
                    {
                        alert('Select a Date !!');
                    }
			  } );      
			} );
		</script>
<section class="content-header">
    
    	<div class="row">
    		<div class="col-md-10" style="text-align: center;">
    			<h4><i class="fa fa-info-circle"></i> View Manifest</h4>
    		</div>
    		<div class="col-md-2" style="text-align: left;">
    				<a href="manifest-add.php" class="btn btn-success btn-sm"><i class="fa fa-plus-circle"></i>&nbsp;&nbsp;Create Manifest</a>
    		</div>
    	</div>

</section>

<section class="content">
	<div class="row">
		<div class="col-md-12">
			<div>
				<div class="box-body table-responsive">
					<table id="employee-grid"  class="table table-bordered table-striped">
						<thead>
							<tr>
								<th width="20">SL</th>
								<th>Manifest Number</th>
								<th>Reference Number</th>
								<th>Orgin</th>
								<th>Destination</th>
								<th width="80">Date</th>
								<th>Transport Name</th>
								<th>Sending Through</th>
								<th>Number of Pickup Entry</th>
								<th>Action</th>
							</tr>
						</thead>
					</table>
				</div>
			</div>
		</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">&times;</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>


<?php require_once('footer.php'); ?>

Zerion Mini Shell 1.0