last login user

This commit is contained in:
Pringgosutono
2025-12-12 13:02:38 +07:00
parent e5fc309deb
commit 30dee9c844
3 changed files with 37 additions and 25 deletions

View File

@ -46,6 +46,7 @@
<th class="text-nowrap">Phone</th>
<th class="text-nowrap">Email</th>
<th class="text-nowrap">Join Date</th>
<th class="text-nowrap">Last Login</th>
<th class="text-nowrap">Company</th>
<th class="text-start">Role</th>
<th class="text-center">Status</th>
@ -708,6 +709,16 @@
return moment.unix(data).format('DD MMM YYYY HH:mm')
},
},
{
data: 'lastLogin',
className: 'text-start text-nowrap',
visible: true,
orderable: true,
searchable: true,
render: function(data, type, row, meta) {
return data ? moment.unix(data).format('DD MMM YYYY HH:mm') : '-';
},
},
{
data: 'client_group_name',
className: 'text-start text-nowrap',