fix: pdf style daftar keluhan selesai di cc

This commit is contained in:
kur0nek-o
2024-03-16 17:12:50 +07:00
parent b8ffe217eb
commit cee09740c2
2 changed files with 140 additions and 6 deletions

View File

@@ -417,6 +417,7 @@ const onExporting = (e: any) => {
autoTable(doc, {
head: [
[
'No',
'No Laporan',
'Nama Pelapor',
'Alamat Pelapor',
@@ -433,7 +434,8 @@ const onExporting = (e: any) => {
'Keterangan Media'
]
],
body: data.value.map((item) => [
body: data.value.map((item: any, i: any) => [
{ content: ++i, styles: { halign: 'right' } },
item.no_laporan,
item.nama_pelapor,
item.alamat_pelapor,