This commit is contained in:
Saufi
2026-06-24 18:30:00 +08:00
commit c0c3d7c09c
122 changed files with 16321 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
* { font-family: DejaVu Sans, sans-serif; }
body { font-size: 11px; color: #222; }
.head { border-bottom: 3px solid #0a8f9c; padding-bottom: 8px; margin-bottom: 12px; }
.head h2 { margin: 0; color: #0a8f9c; }
.head .sub { color: #555; font-size: 10px; }
table { width: 100%; border-collapse: collapse; }
th { background: #2b3036; color: #fff; padding: 6px; text-align: left; font-size: 10px; }
td { padding: 5px 6px; border-bottom: 1px solid #ddd; }
tr:nth-child(even) td { background: #f4f7f8; }
.foot { margin-top: 10px; font-size: 9px; color: #888; text-align: right; }
</style>
</head>
<body>
<div class="head">
<h2>{{ $title }}</h2>
<div class="sub">Koperasi Iskandar Puteri Berhad (KOIPB) · Mesyuarat Agung Tahunan · Dijana: {{ now()->format('d/m/Y H:i') }}</div>
</div>
<table>
<thead><tr>@foreach($headings as $h)<th>{{ $h }}</th>@endforeach</tr></thead>
<tbody>
@forelse($rows as $row)
<tr>@foreach((array) $row as $cell)<td>{{ $cell }}</td>@endforeach</tr>
@empty
<tr><td colspan="{{ count($headings) }}" style="text-align:center;padding:14px;">Tiada rekod.</td></tr>
@endforelse
</tbody>
</table>
<div class="foot">Jumlah rekod: {{ count($rows) }}</div>
</body>
</html>