You are on page 1of 6

public function pdf()

{
return view('registrasi.pdf');
}
}

Route::GET('/pdf', [RegistrasiController::class, 'pdf']);

<!DOCTYPE html>
<html lang="en">
<head>
<title>Cetak Riwayat Hidup</title>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/paper-
css/0.4.1/paper.css">
<link href="https://fonts.googleapis.com/css?family=Roboto"
rel="stylesheet">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?
family=Nunito">
<link rel="stylesheet" href="dist/themes/oldstyle.css" media="print">

<style>
@page {
size: A4;
margin: 5mm 0 5mm 0;
}

.sheet {
overflow: visible;
height: auto !important;
}

body {
font-family: Nunito
}

h1 {
font-family: Roboto;
font-size: 14pt;
line-height: 25px;
}

h2 {
font-family: Roboto;
font-size: 12pt;
}

h3 {
font-family: Nunito;
font-size: 12pt;
line-height: 5mm;

}
.sub_total {
margin-block-start: 0 !important;
margin-block-end: 0 !important;
line-height: 5mm !important;
}

h4 {
font-family: Nunito;
font-size: 9pt;
font-weight: bold;
margin-block-start: 0;
margin-block-end: 0;
}

table {
border-collapse: collapse;
width: 100%;
max-width: 100%;
background-color: transparent;
border: none;
}

.table th {
padding: 8px 8px;
font-weight: bold;
}

.table td {
padding: 5px 5px 0px 0px;
font-size: 12px;
vertical-align: top;
}

.text-center {
text-align: center;
}

.text-right {
text-align: right;
}

.row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -10px;
margin-left: -10px;
}

.underline {
text-decoration: underline;
}

.mt-0 {
margin-top: 0px;
}

.mt-1 {
margin-top: 1rem;
}
.mt-2 {
margin-top: 2rem;
}

.mt-3 {
margin-top: 3rem;
}

.mt-4 {
margin-top: 5rem;
}

.ml-1 {
margin-left: 0.5rem;
}

.ml-2 {
margin-left: 1rem;
}

.ml-3 {
margin-left: 1.5rem;
}

.pr-0 {
padding-right: 0px;
}

.col-1 {
flex: 0 0 8.33333%;
max-width: 8.33333%; }

.col-2 {
flex: 0 0 16.66667%;
max-width: 16.66667%; }

.col-3 {
flex: 0 0 25%;
max-width: 25%; }

.col-4 {
flex: 0 0 33.33333%;
max-width: 33.33333%; }

.col-5 {
flex: 0 0 41.66667%;
max-width: 41.66667%; }

.col-6 {
flex: 0 0 50%;
max-width: 50%; }

.col-7 {
flex: 0 0 58.33333%;
max-width: 58.33333%; }

.col-8 {
flex: 0 0 66.66667%;
max-width: 66.66667%; }
.col-9 {
flex: 0 0 75%;
max-width: 75%; }

.col-10 {
flex: 0 0 83.33333%;
max-width: 83.33333%; }

.col-11 {
flex: 0 0 91.66667%;
max-width: 91.66667%; }

.col-12 {
flex: 0 0 100%;
max-width: 100%; }
</style>
</head>
<body class="A4" onload="window.print()">
<section class="sheet padding-10mm">
<div class="text-center">
<img src="{{ asset('LOGO-UNJANI.png') }}" alt="" width="200px"
height="200px"><hr>
</div>
{{-- <div class="row ml-1">
<div class="col-10">
<div class="row">
<div class="col-6">
<table class="table">
<tr>
<td class="pr-0">NAMA</td>
<td>:</td>
<td>ENENG FARIDAH</td>
</tr>
<tr>
<td class="pr-0">NIM</td>
<td>:</td>
<td>4211201030</td>
</tr>
<tr>
<td class="pr-0">Program Studi</td>
<td>:</td>
<td>KEDOKTERAN</td>
</tr>
</table>
</div>
<div class="col-6">
<table class="table">
<tr>
<td class="pr-0">Semester</td>
<td>:</td>
<td>Semester 3</td>
</tr>
<tr>
<td class="pr-0">Angkatan / Kelas / Kelas
Peminatan</td>
<td>:</td>
<td>40 / AK-40-08 / S1AK-R</td>
</tr>
<tr>
<td class="pr-0">Dosen Wali</td>
<td>:</td>
<td>Dudi Pramoto</td>
</tr>
</table>
</div>
</div>
</div>
</div> --}}
<h2>UNIVERSITAS JENDRAL ACHMAD YANI (UNJANI)</h2>
<h2>FAKULTAS KEDOKTERAN</h2>
<h2 class="text-center">KARTU TANDA REGISTASI</h2>
<h2 class="text-center">SEMESTER 3</h2>
<h2 class="text-center">TAHUN AKADEMIK 2022/2023</h2>
<h2 class="text-center">JURUSAN KEDOKTERAN GIGI</h2>
<h2>
<div class="row ml-1">
<div class="col-10">
<div class="row">
<div class="col-6">
<table class="table">
<tr>
<td class="pr-0">NAMA</td>
<td>:</td>
<td>ENENG FARIDAH</td>
</tr>
<tr>
<td class="pr-0">NIM</td>
<td>:</td>
<td>4211201030</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</h2>
&nbsp;
&nbsp;
<h2>DAFTAR MATAKULIAH YANG DI KONTRAKAN : </h2>
<table border="3">
<thead>
<tr>
<th>No</th>
<th>Kode</th>
<th>Nama Mata Kualiah</th>
<th>SKS</th>
<th>Semester</th>
</tr>
</thead>
<tbody >
<tr>
<td>1.</td>
<td>KGH2121</td>
<td>MATERIAL KEDOKTERAN GIGI</td>
<td>6 SKS</td>
<td>3</td>
</tr>
<tr>
<td>2.</td>
<td>KGH3242</td>
<td>DETRAL RADIOLOGI & FORENSIK</td>
<td>4 SKS</td>
<td>3</td>
</tr>
<tr>
<td>2.</td>
<td>KGH4356</td>
<td>ORAL BIOLOGI</td>
<td>6 SKS</td>
<td>3</td>
</tr>
<tr>
<td colspan="3" align="center">Total SKS</td>
<td colspan="2" align="center">21 SKS</td>
</tr>
</tbody>
</table>
</section>
</body>
</html>

You might also like