update print out
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user