<!DOCTYPE html>
<html>
<head>
	<title>Laporan Hasil Akhir</title>
	<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
	<script>
		window.onload = function() {
			window.print();
		}
	</script>
</head>
<body>
	<style type="text/css">
		table tr td,
		table tr th{
			font-size: 9pt;
		}
	</style>
	<center>
		<h5>Laporan Hasil Akhir</h4>
	</center>

	<table class='table table-bordered'>
		<thead>
			<tr>
				<th>Nama Alternatif</th>
				<th>Posisi</th>
				<th>Nilai Qi</th>
				<th>Ranking</th>
			</tr>
		</thead>
		<tbody>
			@foreach($hasil as $keys)
			<tr>
				<td>{{ $keys->nama }}</td>
				<td>{{ $keys->posisi_otomatis }}</td>
				<td>{{ $keys->nilai_qi }}</td>
				<td>{{ $keys->ranking }}</td>
			</tr>
			@endforeach
		</tbody>
	</table>

</body>
</html>