label fix

This commit is contained in:
Pringgosutono
2025-12-16 14:16:31 +07:00
parent 9940e6722d
commit 15a02914a8

View File

@ -785,10 +785,10 @@
searchable: true,
render: function (data, type, row, meta) {
let action = `
<a href="#" class="text-decoration-none me-1 btnEdtVhc" data-vid="${data}">
<span class="icon ion-eye fz-16"></span>
</a>
`;
<a href="#" class="text-decoration-none me-1 btnEdtVhc" data-vid="${data}">
<span class="icon ion-eye fz-16"></span>
</a>
`;
// <a href="#" class="text-decoration-none text-danger btnDelVhc">
// <span class="icon ion-trash-b fz-16"></span>
// </a>
@ -803,9 +803,9 @@
searchable: true,
render: function (data, type, row, meta) {
return `
<img src="${State.storage_lara}${row.fvhc_img}" class="img-fluid thumb-img-table" /><br>
${row.nopol1} ${row.nopol2} ${row.nopol3}
`;
<img src="${State.storage_lara}${row.fvhc_img}" class="img-fluid thumb-img-table" /><br>
${row.nopol1} ${row.nopol2} ${row.nopol3}
`;
},
createdCell: function (td, cellData, rowData, row, col) {
$(td).attr('data-vid', rowData.vid);
@ -849,7 +849,7 @@
},
},
@if ($user_role != \App\Models\Users::ROLE_VENDOR)
{
{
data: 'device_id',
className: 'text-end text-nowrap',
visible: true,
@ -857,7 +857,7 @@
searchable: true,
render: function (data, type, row, meta) {
const device_id = Helper.splitEvery4Char(data);
const protocol = " " + row.protocol || '';
const protocol = " " + (row.protocol || '');
return device_id + '<br>' + protocol;
// return `<span class="d-none">${data}</span>` + Helper.splitEvery4Char(`${data}`);