feat: add export functionality and simplify laporan user report

refactor: update laporan user service and views for simplified report
style: improve daftar pustaka views and remove unused code
fix: correct date field names in laporan sla penilai service
This commit is contained in:
majid
2025-07-11 17:01:50 +07:00
parent 027c698a11
commit 3f57d361f9
13 changed files with 560 additions and 975 deletions

View File

@@ -35,21 +35,19 @@
<thead>
<tr>
<th class="min-w-[100px]">Nama Debitur</th>
<th class="min-w-[100px]">Tujuan Penilaian</th>
<th class="min-w-[100px]">Status Bayar</th>
<th class="min-w-[100px]">Jenis Asset</th>
<th class="min-w-[100px]">Penugasan</th>
<th class="min-w-[100px]">Jenis Report</th>
<th class="min-w-[100px]">Tgl Register</th>
<th class="min-w-[100px]">Tgl Assign</th>
<th class="min-w-[100px]">Cabang</th>
<th class="min-w-[100px]">Lokasi Jaminan</th>
<th class="min-w-[100px]">TUjuan Penilaian</th>
<th class="min-w-[100px]">Tgl Kunjungan</th>
<th class="min-w-[100px]">Tgl Reported</th>
<th class="min-w-[100px]">Progress</th>
<th class="min-w-[100px]">SLA Laporan</th>
<th class="min-w-[100px]">SLA Paparan</th>
<th class="min-w-[100px]">Approve</th>
<th class="min-w-[100px]">Tgl Lpj Done</th>
<th class="min-w-[100px]">SLA Buku Kjpp</th>
<th class="min-w-[100px]">Status</th>
<th class="min-w-[100px]">Poin</th>
<th class="min-w-[100px]">SLA INTERNAL</th>
<th class="min-w-[100px]">SLA PENDAMPINGAN KJPP</th>
<th class="min-w-[100px]">Absensi</th>
<th class="min-w-[100px]">Zabtu</th>
<th class="min-w-[50px] text-center">Keterangan</th>
<th class="min-w-[50px] text-center">Action</th>
</tr>
</thead>
<tbody>
@@ -189,20 +187,7 @@
return `${window.formatTanggalIndonesia(data.paparan)}`;
}
},
approve: {
title: 'Approve',
render: (item, data) => {
// Gabungkan nama dengan <br> untuk pemisah baris baru
let dataHtml = `
${data.permohonan?.approve_so?.name || ''}
<br>
${data.permohonan?.approve_eo?.name || ''}
<br>
${data.permohonan?.approve_dd?.name || ''}
`;
return dataHtml;
},
},
keterangan: {