<header>
	<div class="row">
		<div class="col-12">
			<div class="t-corp pull-left">
				<div class="t-corp-logo">
					<img src="<?php echo base_url().'assets/images/logo/salihin-logo.png'; ?>" alt="company logo" />
				</div>
				<div class="t-corp-name"><b>SPS</b> | HR SYSTEM</div>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-12">
			<table class="company">
				<tr>
					<td class="divider">
						<span class="line">&nbsp;</span>
					</td>
					<td class="details">
						<span><b>SALIHIN (AF 1426)</b></span>
						<span>555, Jalan Samudra Utara 1, Taman Samudra, Batu Caves,</span>
						<span>68100, Batu Caves, Selangor</span>
						<span>Phone: 03-6185 9970 &nbsp;&nbsp; Fax: 03-6185 9970</span>
						<span>Website: salihin.com.my</span>
					</td>
					<td class="divider">
						<span class="line">&nbsp;</span>
					</td>
				</tr>
			</table>
		</div>
	</div>
</header>

<div class="col-12 table-responsive " style="margin-top:2rem">
	<table class="table-bordered w-100">
		<thead>
			<tr>
				<th class="p-3">Date</th>
				<th class="p-3">Employee Name / Patient (Relation)</th>
				<th class="p-3">IC No</th>
				<th class="p-3">Treatment</th>
				<th class="p-3">Amount</th>
			</tr>
		</thead>
		<tbody>
			<?php if(!empty($claim_details)) foreach ($claim_details as $key => $claim_detail): ?>
				<tr>
					<td class="p-3"><?php echo date('d-F-Y',strtotime($claim_detail->date)); ?></td>
					<td class="p-3"><?php echo $claim_detail->patient_name; ?></td>
					<td class="p-3"><?php echo $claim_detail->patient_ic_no;  ?></td>
					<td class="p-3"><?php echo $claim_detail->treatment; ?></td>
					<td class="p-3"><?php echo 'RM'.number_format($claim_detail->amount,2); ?></td>
				</tr>
			<?php endforeach ?>
		</tbody>
	</table>
</div>