<br><br><br>
<section class="container" style="padding-bottom: 2rem;">
	<div style="border: 1px solid;"></div><br>
	<h4><b>APPROVAL</b></h4>
	<div class="col-12 table-responsive " style="margin-top:2rem">
		<table class="table table-bordered" width="100%" border="1">
			<thead>
				<th class="text-center">#</th>
				<th class="text-center">Status</th>
				<th class="text-center">By</th>
				<th class="text-center">Date</th>
			</thead>
			<tbody>
				<?php if($rsApproval){ foreach($rsApproval as $key => $row){ ?>
					<tr>
						<td class="text-center"><?php echo $key+1; ?></td>
						<td class="text-center"><?php echo ucwords(str_replace('_',' ',$row['status'])); ?></td>
						<td class="text-center"><?php echo ($key == 0)?'<i>New Request</i>':$row['approvedByName']; ?>
						<td class="text-center"><?php echo date('d-m-Y H:i:s',strtotime($row['approvedTS'])); ?></td>
					</tr>
				<?php } } ?>
			</tbody>
		</table>
	</div>
</section>