menambahkan fitur export to excel di menu master ijin usaha

This commit is contained in:
2024-09-18 17:16:29 +07:00
parent d5e13245d4
commit 8e73269f76
12 changed files with 189 additions and 42 deletions

View File

@@ -36,16 +36,16 @@
<th class="w-14">
<input class="checkbox checkbox-sm" data-datatable-check="true" type="checkbox" />
</th>
<th class="min-w-[250px]" data-datatable-column="nomor">
<span class="sort"> <span class="sort-label"> Nomor </span>
<th class="min-w-[250px]" data-datatable-column="code">
<span class="sort"> <span class="sort-label"> Nomor KJPP </span>
<span class="sort-icon"> </span> </span>
</th>
<th class="min-w-[250px]" data-datatable-column="nama_kjpp">
<th class="min-w-[250px]" data-datatable-column="name">
<span class="sort"> <span class="sort-label"> Nama KJPP </span>
<span class="sort-icon"> </span> </span>
</th>
<th class="min-w-[50px]" data-datatable-column="kota">
<span class="sort"> <span class="sort-label"> Kota </span>
<th class="min-w-[50px]" data-datatable-column="jenis_kantor">
<span class="sort"> <span class="sort-label"> Jenis Kantor / Cabang </span>
<span class="sort-icon"> </span> </span>
</th>
<th class="min-w-[50px] text-center" data-datatable-column="actions">Action</th>
@@ -124,16 +124,16 @@
},
},
nomor: {
title: 'Nomor',
title: 'Nomor KJPP',
},
nama_kjpp: {
title: 'Nama KJPP',
},
kota: {
title: 'Kota',
jenis_kantor: {
title: 'Jenis Kantor / Cabang',
},
actions: {
title: 'Status',
title: 'Action',
render: (item, data) => {
return `<div class="flex flex-nowrap justify-center">
<a class="btn btn-sm btn-icon btn-clear btn-primary" href="basic-data/kjpp/${data.id}/show">