MIF_E31211949/resources/views/pages/report/pegawai.blade.php

138 lines
3.4 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<title>Laporan PDF</title>
<style>
/* CSS untuk styling */
body {
font-family: Arial, sans-serif;
margin: 20px;
}
.header {
text-align: center;
padding-top: 20px;
padding-bottom: 20px;
border: 2px solid black;
}
.header h1 {
font-size: 24px;
margin: 0;
}
.header p {
font-size: 18px;
margin: 0;
}
.content {
text-align: center;
border: 2px solid black;
border-top: none;
}
.content h3 {
margin: 0;
}
.content .table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.content .table th,
.content .table td {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
.content .table th {
background-color: #f2f2f2;
text-align: center;
}
.jumlah {
text-align: end;
}
.content .ttd {
width: 100%;
border: none;
margin-bottom: 20px;
}
.content .ttd th {
font-weight: normal;
}
.content .ttd td {
text-align: center;
padding-top: 60px;
}
</style>
</head>
<body>
<div class="header">
<h1>KOPERASI SIMPAN PINJAM</h1>
<h1>"BANGUN KARYA DESA"</h1>
<p>BH Nomor : AHU-000032.AH.01.26.TAHUN 2019, 15-11-2019</p>
<p>Jl. Sunan Muria no.34 001/003 Kebonsari Wetan, Kec. Kanigaran</p>
</div>
<div class="content">
<h3>DATA PEGAWAI {{ $tahun }}</h3>
<h3>KSP BANGUN KARYA DESA</h3>
<table class="table" style="margin-bottom: 20px; font-size: x-small;">
<thead>
<tr>
<th>No</th>
<th>NIK</th>
<th>Nama</th>
<th>Jenis Kelamin</th>
<th>Alamat</th>
<th>No. HP</th>
</tr>
</thead>
<tbody>
@foreach ($users as $item)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $item->nik }}</td>
<td>{{ $item->nama }}</td>
<td>{{ $item->jenis_kelamin }}</td>
<td>{{ $item->alamat }}</td>
<td>{{ $item->no_telp }}</td>
</tr>
@endforeach
</tbody>
</table>
<table class="ttd">
<thead>
<tr>
<th style="width: 33,3%"></th>
<th style="width: 33,3%">PENGURUS KOPERASI</th>
<th style="width: 33,3%"></th>
</tr>
<tr>
<th style="width: 33,3%">Ketua</th>
<th style="width: 33,3%">Sekretaris</th>
<th style="width: 33,3%">Bendahara</th>
</tr>
</thead>
<tbody>
<tr>
<td>DWI ARIYANTI</td>
<td>SETYOWATI</td>
<td>SRI ISMANINGSIH</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>