fix display check out time

This commit is contained in:
Warunee Tamkoo 2025-07-07 13:26:21 +07:00
parent 46850a1fb5
commit c0d26d9cf7

View file

@ -104,6 +104,9 @@ const columns = ref<QTableProps['columns']>(
field: 'checkOutTime',
headerStyle: 'font-size: 14px',
style: 'font-size: 14px; width:15%;',
format: (val: string, row: DataCheckIn) => {
return row.checkOutStatus != '-' && val ? val : '-'
},
},
{
name: 'checkOutLocation',
@ -160,6 +163,9 @@ const columns = ref<QTableProps['columns']>(
field: 'checkOutTime',
headerStyle: 'font-size: 14px',
style: 'font-size: 14px; width:15%;',
format: (val: string, row: DataCheckIn) => {
return row.checkOutStatus != '-' && val ? val : '-'
},
},
{
name: 'checkOutLocation',