fix: pdf style daftar keluhan selesai di cc
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user