Penambahan Kekurangan P2 Manual

This commit is contained in:
Ariyutta
2026-09-30 03:21:42 +07:00
parent bd97f7510f
commit c4fe692f3b
4 changed files with 219 additions and 10 deletions
@@ -211,12 +211,12 @@
'"></i> ' + jenis.toUpperCase() + '</small>';
}
// Penanda pegawai yang P2-nya diambil dari snapshot JSON (CPNS), warna tosca.
// Penanda pegawai yang P2-nya diambil dari snapshot JSON, warna tosca.
function renderCpnsTag(sumber) {
if (sumber !== 'json') {
return '';
}
return ' <small class="d-inline-block fw-bold" title="P2 dari snapshot JSON (belum tersimpan di DB)" style="padding: 1px 18px 1px 6px; color: #0fb5a5; background: linear-gradient(to right, rgba(20, 184, 166, 0.25), rgba(20, 184, 166, 0)); clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);"><i class="uil-file-check-alt"></i> CPNS</small>';
return ' <small class="d-inline-block fw-bold" title="P2 diambil dari snapshot JSON" style="padding: 1px 18px 1px 6px; color: #0fb5a5; background: linear-gradient(to right, rgba(20, 184, 166, 0.25), rgba(20, 184, 166, 0)); clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);"><i class="uil-file-check-alt"></i> P2 JSON</small>';
}
var table = $('#keseluruhan-table').DataTable({
@@ -257,7 +257,9 @@
{ data: 'jumlah_thr', name: 'jumlah_thr', className: 'text-end font-monospace' },
{ data: 'jumlah_r13', name: 'jumlah_r13', className: 'text-end font-monospace' },
{ data: 'jumlah_publikasi', name: 'jumlah_publikasi', className: 'text-end font-monospace' },
{ data: 'total', name: 'total', className: 'text-end font-monospace fw-bold' }
{ data: 'total', name: 'total', className: 'text-end font-monospace fw-bold' },
// Kolom tersembunyi supaya pencarian tabel juga bisa memakai NIP.
{ data: 'nip', name: 'nip', visible: false, searchable: true, orderable: false }
],
order: [],
language: {