<div class="row">
<div class="col-md-12">
<div class="box">
<div class="box-header">
<h3 class="box-title">Demande Listing</h3>
<div class="box-tools">
<a href="<?php echo site_url('demande/add'); ?>" class="btn btn-success btn-sm">Add</a>
</div>
</div>
<div class="box-body">
<table class="table table-striped">
<tr>
<th>ID</th>
<th>Transport Id</th>
<th>Objetmission Id</th>
<th>Typemission Id</th>
<th>Typeconge Id</th>
<th>Objetautorisation Id</th>
<th>Interim Id</th>
<th>Valide</th>
<th>Annule</th>
<th>Type</th>
<th>Creationdate</th>
<th>Datedebut</th>
<th>Datefin</th>
<th>Destination</th>
<th>Users Id</th>
<th>Depart Id</th>
<th>Description</th>
<th>Actions</th>
</tr>
<?php foreach($demande as $d){ ?>
<tr>
<td><?php echo $d['id']; ?></td>
<td><?php echo $d['transport_id']; ?></td>
<td><?php echo $d['objetmission_id']; ?></td>
<td><?php echo $d['typemission_id']; ?></td>
<td><?php echo $d['typeconge_id']; ?></td>
<td><?php echo $d['objetautorisation_id']; ?></td>
<td><?php echo $d['interim_id']; ?></td>
<td><?php echo $d['valide']; ?></td>
<td><?php echo $d['annule']; ?></td>
<td><?php echo $d['type']; ?></td>
<td><?php echo $d['creationdate']; ?></td>
<td><?php echo $d['datedebut']; ?></td>
<td><?php echo $d['datefin']; ?></td>
<td><?php echo $d['destination']; ?></td>
<td><?php echo $d['users_id']; ?></td>
<td><?php echo $d['depart_id']; ?></td>
<td><?php echo $d['description']; ?></td>
<td>
<a href="<?php echo site_url('demande/edit/'.$d['id']); ?>" class="btn btn-info btn-xs"><span class="fa fa-pencil"></span> Edit</a>
<a href="<?php echo site_url('demande/remove/'.$d['id']); ?>" class="btn btn-danger btn-xs"><span class="fa fa-trash"></span> Delete</a>
</td>
</tr>
<?php } ?>
</table>
<div class="pull-right">
<?php echo $this->pagination->create_links(); ?>
</div>
</div>
</div>
</div>
</div>