update print out

This commit is contained in:
majid
2024-12-23 16:27:49 +07:00
parent f5ef883a0d
commit 886e75da82
14 changed files with 896 additions and 131 deletions

View File

@@ -45,6 +45,13 @@
<span class="sort"> <span class="sort-label">{{ isset($header[0]) ? $header[0] : '' }}</span>
<span class="sort-icon"> </span> </span>
</th>
@if ($header[1] == 'spek-bangunan')
<th class="min-w-[250px]" data-datatable-column="code">
<span class="sort"> <span class="sort-label"> Kategori </span>
<span class="sort-icon"> </span> </span>
</th>
@endif
<th class="min-w-[50px] text-center" data-datatable-column="actions">Action</th>
</tr>
</thead>
@@ -125,6 +132,14 @@
name: {
title: 'Jenis Aset',
},
...(header == 'spek-bangunan' && {
kategories:{
title: 'Kategori',
render: (item, data)=>{
return data.bangunan_kategori.name;
}
}
}),
actions: {
title: 'Status',
render: (item, data) => {