diff --git a/resources/views/students/_riwayat.blade.php b/resources/views/students/_riwayat.blade.php index d2605a7..c762524 100644 --- a/resources/views/students/_riwayat.blade.php +++ b/resources/views/students/_riwayat.blade.php @@ -6,8 +6,8 @@ No - Tanggal - Jenis Pelanggaran + Tanggal + Jenis Pelanggaran Poin Sanksi @@ -16,11 +16,11 @@ @foreach($items as $i => $v) {{ $i + 1 }} - {{ \Carbon\Carbon::parse($v->violation_date)->locale('id')->translatedFormat('l, d/m/Y') }} + {{ \Carbon\Carbon::parse($v->violation_date)->format('d/m/Y') }} {{ $v->violationType?->name ?? '—' }} @if($v->description) -
{{ $v->description }}
+
{{ $v->description }}
@endif +{{ $v->points }} diff --git a/resources/views/students/pdf-card.blade.php b/resources/views/students/pdf-card.blade.php index b52d1a3..5145a4b 100644 --- a/resources/views/students/pdf-card.blade.php +++ b/resources/views/students/pdf-card.blade.php @@ -7,7 +7,7 @@ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'DejaVu Sans', sans-serif; - font-size: 11px; + font-size: 12pt; color: #1e293b; line-height: 1.5; } @@ -31,7 +31,7 @@ text-align: center; background: #0f766e; color: #ffffff; - font-size: 13px; + font-size: 14pt; font-weight: bold; padding: 7px 0; border-radius: 5px; @@ -39,7 +39,7 @@ margin-bottom: 14px; } .section-title { - font-size: 10px; + font-size: 12pt; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; @@ -49,7 +49,7 @@ margin: 14px 0 7px 0; } .sub-title { - font-size: 9.5px; + font-size: 12pt; font-weight: bold; color: #0f766e; margin: 8px 0 4px 0; @@ -60,7 +60,7 @@ } table.identitas td { padding: 4px 6px; - font-size: 11px; + font-size: 12pt; } table.identitas td.label { width: 28%; @@ -85,12 +85,12 @@ width: 33.33%; } .kartu-poin .angka { - font-size: 15px; + font-size: 12pt; font-weight: bold; color: #0f766e; } .kartu-poin .kecil { - font-size: 8.5px; + font-size: 12pt; text-transform: uppercase; letter-spacing: 1px; color: #64748b; @@ -103,7 +103,7 @@ table.riwayat th { background: #0f766e; color: #fff; - font-size: 8.5px; + font-size: 12pt; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 4px; @@ -114,7 +114,7 @@ table.riwayat td { border: 1px solid #e2e8f0; padding: 3px 5px; - font-size: 9px; + font-size: 12pt; vertical-align: top; } table.riwayat tr:nth-child(even) td { @@ -124,14 +124,14 @@ display: inline-block; padding: 2px 9px; border-radius: 8px; - font-size: 9.5px; + font-size: 12pt; font-weight: bold; color: #fff; background: #dc2626; } .ttd { margin-top: 14px; - font-size: 11px; + font-size: 12pt; color: #1e293b; text-align: left; padding-left: 118mm; @@ -145,17 +145,17 @@ .ttd-nama { font-weight: bold; text-decoration: underline; - font-size: 12px; + font-size: 12pt; margin-top: 4px; } .ttd-nip { - font-size: 10px; + font-size: 12pt; color: #475569; margin-top: 2px; } .footer-note { margin-top: 16px; - font-size: 8.5px; + font-size: 12pt; color: #94a3b8; border-top: 1px solid #e2e8f0; padding-top: 6px; @@ -170,7 +170,7 @@ -
+
{{ strtoupper($school['name']) }}
@@ -241,7 +241,7 @@ @endif @if($nextSpThreshold) -
+
* Poin menuju SP berikutnya ({{ $nextSpThreshold->name }}) : {{ $nextSpThreshold->min_points - $totalPoints }} poin lagi.
@endif