File: //var/www/html/qcr24/app/application/views/admin/return_notice/list.php
<!-- ! Main -->
<main class="main users job-role-page" id="">
<div class="container">
<!-- <h2 class="main-title">Job Role</h2> -->
<?php if ($this->session->flashdata('success_msg')) : ?>
<div class="alert alert-success">
<a href="" class="close" data-dismiss="alert" aria-label="close" title="close" style="position: absolute;right: 15px;font-size: 30px;top: 5px;">×</a>
<?php echo $this->session->flashdata('success_msg') ?>
</div>
<?php endif ?>
<?php if ($this->session->flashdata('error_msg')) : ?>
<div class="alert alert-danger">
<a href="" class="close" data-dismiss="alert" aria-label="close" title="close" style="position: absolute;right: 15px;font-size: 30px;top: 5px;">×</a>
<?php echo $this->session->flashdata('error_msg') ?>
</div>
<?php endif ?>
<div class="row justify-content-between">
<div class="col-auto">
<h2 class="app-page-title mrg15B">List of all Return Notice</h2>
</div>
<div class="col-auto">
<div class="page-utilities">
<div class="row">
<div class="col-auto">
<form class="table-search-form row gx-1 align-items-center">
<!-- <div class="col-auto">
<input type="text" id="search-orders" name="searchorders" class="form-control search-orders"
placeholder="Search">
</div>
<div class="col-auto">
<select class="form-select w-auto">
<option selected="" value="option-1">All</option>
<option value="option-2">Active</option>
<option value="option-3">Inactive</option>
</select>
</div>
<div class="col-auto">
<button type="submit" class="btn btn-secondary">Search</button>
</div> -->
</form>
</div>
<!-- <div class="col-auto">
<a class="btn app-btn-primary" href="<?=base_url('admin/finetoll_fees/add')?>">
ADD NEW Fines-Tolls Fees
</a>
</div> -->
</div>
</div>
</div>
</div>
<div class="row" style="margin-top:15px;">
<div class="col-lg-12">
<div class="users-table table-wrapper">
<table class="table" id="example">
<thead>
<tr class="users-table-info">
<th>SL No.</th>
<th>Driver Name </th>
<th>Car No</th>
<th>Rent Out No</th>
<th>Return Notice Date</th>
<th>Remarks</th>
<th>Created Date</th>
</tr>
</thead>
<tbody>
<?php if(!empty($return_notice_list)){
$i=0;
foreach($return_notice_list as $return_notice){ $i++; ?>
<tr>
<td><?=$i?></td>
<td><?=$return_notice['first_name'].' '.$return_notice['middle_name'].' '.$return_notice['last_name']?></td>
<td><?=$return_notice['car_no']?></td>
<td><?=$return_notice['rent_out_no']?></td>
<td><?=$return_notice['retrun_notice_date']?></td>
<td><?=$return_notice['note']?></td>
<td><?=$return_notice['created_ts']?></td>
</tr>
<?php }
} ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</main>