Initial commit - lms-v2 + CLAUDE.md
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Laporan Data Departemen</title>
|
||||
<style>
|
||||
body { font-family: sans-serif; font-size: 12px; color: #333; }
|
||||
.header { text-align: center; margin-bottom: 20px; border-bottom: 2px solid #222; padding-bottom: 10px; }
|
||||
.metadata { text-align: right; font-size: 10px; color: #666; margin-bottom: 20px; }
|
||||
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
|
||||
th, td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; }
|
||||
th { background-color: #f4f4f5; color: #111; text-transform: uppercase; font-size: 11px; }
|
||||
tr:nth-child(even) { background-color: #fafafa; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="header">
|
||||
<h2>PT TUNGGAL IDAMAN ABDI (TUNGGAL PHARMA)</h2>
|
||||
<h3>Laporan Master Data: Departemen</h3>
|
||||
</div>
|
||||
|
||||
<div class="metadata">
|
||||
Dicetak pada: <strong>{{ $metadata['download_time'] }}</strong><br>
|
||||
Diunduh oleh: <strong>{{ $metadata['downloaded_by'] }}</strong><br>
|
||||
Total Rekor: <strong>{{ $metadata['total_data'] }} Departemen</strong>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="10%">ID</th>
|
||||
<th width="20%">KODE</th>
|
||||
<th width="70%">NAMA DEPARTEMEN</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($departments as $dept)
|
||||
<tr>
|
||||
<td>{{ $dept->id }}</td>
|
||||
<td>{{ $dept->code ?? '-' }}</td>
|
||||
<td>{{ $dept->name }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user