@@ -79,7 +90,15 @@ class="btn btn-warning w-100 d-flex align-items-center justify-content-center ga
{{ $item->nama ?? '—' }} |
{{ $item->jenis_kelamin ?? '—' }} |
{{ $item->nis ?? '—' }} |
-
{{ $item->asal_daerah ?? '—' }} |
+
+ @if ($item->asal_daerah === 'dalamProvinsi')
+ Dalam Provinsi
+ @elseif ($item->asal_daerah === 'luarProvinsi')
+ Luar Provinsi
+ @else
+ {{ $item->asal_daerah }}
+ @endif
+ |
{{ $item->tahun_angkatan }} |
{{ $item->alhadis >= 1997 ? 'Khatam' : 'Belum Khatam' }}
@@ -214,5 +233,8 @@ class="btn btn-warning w-100 d-flex align-items-center justify-content-center ga
});
});
+
+
+
@endsection
\ No newline at end of file
diff --git a/resources/views/pages/santri/dashboard.blade.php b/resources/views/pages/santri/dashboard.blade.php
index fd77242..fba42cd 100644
--- a/resources/views/pages/santri/dashboard.blade.php
+++ b/resources/views/pages/santri/dashboard.blade.php
@@ -22,10 +22,17 @@
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
- .text-success,
- .text-danger {
- font-size: 1.3rem;
- font-weight: bold;
+ .qr-container {
+ display: none;
+ text-align: center;
+ margin-top: 10px;
+ }
+
+ .qr-buttons {
+ display: flex;
+ justify-content: center;
+ gap: 10px;
+ margin-top: 10px;
}
@@ -40,7 +47,6 @@
-
@@ -55,9 +61,25 @@
Ditolak
@elseif($latestRiwayat->munaqosah_status === 'Terverifikasi')
Terverifikasi
-
-
- Unduh PDF
+
+
+
+
+
+
+
+
+
+
@else
Belum Diverifikasi
@endif
@@ -65,13 +87,10 @@
Belum ada data
@endif
-
-
-
@@ -263,4 +282,26 @@ function generateQRCode() {
};
}
+
@endsection
\ No newline at end of file
|