Change 'Kode Penawaran' column to 'Nama Debitur'

Renamed the 'Kode Penawaran' field to 'Nama Debitur' in the table header and datatable configuration, including the necessary rendering function to display the debiture name correctly. This improves clarity by accurately reflecting the data being displayed in the column.
This commit is contained in:
Daeng Deni Mardaeni
2024-11-04 16:32:55 +07:00
parent 046db2fe97
commit cd3b7301fc

View File

@@ -38,8 +38,8 @@
<span class="sort"> <span class="sort-label"> Nomor Registrasi </span> <span class="sort"> <span class="sort-label"> Nomor Registrasi </span>
<span class="sort-icon"> </span> </span> <span class="sort-icon"> </span> </span>
</th> </th>
<th class="min-w-[150px]" data-datatable-column="code"> <th class="min-w-[150px]" data-datatable-column="debiture">
<span class="sort"> <span class="sort-label"> Kode Penawaran </span> <span class="sort"> <span class="sort-label"> Nama Debitur </span>
<span class="sort-icon"> </span> </span> <span class="sort-icon"> </span> </span>
</th> </th>
<th class="min-w-[150px]" data-datatable-column="start_date"> <th class="min-w-[150px]" data-datatable-column="start_date">
@@ -132,8 +132,11 @@
'nomor_registrasi': { 'nomor_registrasi': {
title: 'Nomor Registrasi', title: 'Nomor Registrasi',
}, },
code: { debiture: {
title: 'Kode Penawaran', title: 'Nama Debitur',
render: (item, data) => {
return `${data.debiture.name}`
}
}, },
start_date: { start_date: {
title: 'Tanggal Penawaran', title: 'Tanggal Penawaran',