<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">Year</th>
				<th class="p-3">Month</th>
				<th class="p-3">Clinic Name</th>
				<th class="p-3">Invoice Chit</th>
				<th class="p-3">Total (RM)</th>
				<th class="p-3">Status</th>
			</tr>
		</thead>
		<tbody>
			<?php if(!empty($claims)) foreach ($claims as $key => $claim): ?>
				<tr>
					<td class="p-3">
						<?php echo $claim->invoice_year; ?>
					</td>
					<td class="p-3">
						<?php echo $claim->invoice_month; ?>
					</td>
					<td class="p-3">
						<?php echo $claim->panel_name; ?>
					</td>
					<td class="p-3">
						<?php echo $claim->invoice_chit; ?>
					</td>
					<td class="p-3">
						<?php echo number_format($claim->total_amount,2); ?>
					</td>
					<td class="p-3">
						<?php echo $claim->status; ?>
					</td>
				</tr>
			<?php endforeach ?>
		</tbody>
	</table>
</div>