MIF_E31220442/resources/views/admin/perhitungan/perhitungan-pdf.blade.php

108 lines
3.9 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Hasil Perhitungan</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<style type="text/css">
.garis1{
border-top:3px solid black;
height: 2px;
border-bottom:1px solid black;
}
#hrd{
text-align:center;
}
#nama-hrd{
margin-top:100px;
text-align:center;
}
#ttd {
position: absolute;
bottom: 10;
right: 20;
}
</style>
</head>
<body>
<div>
<table>
<tr>
<td style="padding-right: 240px; padding-left: 20px"><img src="https://4.bp.blogspot.com/-TBASjipimVM/WM-xhIQc5yI/AAAAAAAAD5o/NeSO8wMRISQMLeTCfKBFmewY4vQt1y-NQCEw/s1600/Logo%2BJakarta%2BHitam.png" width="90" height="90" ></td>
<td>
<center>
<font size="4">PT.Intecon Bangun Persada</font><br>
<font size="2">Alamat: Jl. Cadika No. 4A, Sempusari, Kaliwates, Jember, Jawa Timur, Indonesia</font><br>
<font size="2">Email: <a href="mailto:inteconbangunpersada@gmail.com">inteconbangunpersada@gmail.com</a></font><br>
<font size="2">Phone: +62 331 423445</font><br>
</center>
</td>
</tr>
</table>
<hr class="garis1"/>
<div style="margin-top: 25px; margin-bottom: 25px;">
<center><strong><u>LIST PELAMAR YANG LOLOS</u></strong></center>
</div>
<div class="collapse show" id="rank">
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<th></th>
@foreach ($kriteria as $key => $value)
<th>{{ $value->nama_kriteria }}</th>
@endforeach
<th rowspan="2" style="text-align: center; padding-bottom: 45px">Total</th>
<th rowspan="2" style="text-align: center; padding-bottom: 45px">Rank</th>
</tr>
<tr>
<th>Nama / Bobot</th>
@foreach ($kriteria as $key => $value)
<th>{{ $value->bobot }}</th>
@endforeach
</tr>
</thead>
<tbody>
@php $no = 1;@endphp
@foreach($sortedData as $key => $value)
<tr>
<td>{{ $key }}</td>
@foreach($value as $key_1 => $value_1)
<td>{{ number_format($value_1,2) }}</td>
@endforeach
<td>{{ $no++ }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
<div id="ttd" class="row">
<div class="col-md-4"></div>
<div class="col-md-4">
<p id="hrd">Jember, {{ $tanggal }}</p>
<p id="hrd"><strong>HRD & staff admin</strong></p>
<div id="nama-hrd"><strong><u>Yudi Sulistiawan</u></strong><br />
NIP. 3175044408730004</div>
</div>
</div>
</div>
</body>
</html>