attendace, user stats

This commit is contained in:
dimitar committed 2026-03-19 01:29:09 +01:00
1 parent d6a77fcd23
commit 3e30fae173
7 files changed
+30 -16

No files matched your search

+5 -5
View File
@@ -69,16 +69,16 @@ export default function AttendancePage() {
{record.type}
</td>
<td className="py-3 px-4 text-sm text-muted-foreground">
{new Date(record.checkIn).toLocaleString()}
{new Date(record.checkInTime).toLocaleString()}
</td>
<td className="py-3 px-4 text-sm text-muted-foreground">
{record.checkOut
? new Date(record.checkOut).toLocaleString()
{record.checkOutTime
? new Date(record.checkOutTime).toLocaleString()
: "-"}
</td>
<td className="py-3 px-4">
<Badge variant={record.checkOut ? "gray" : "success"}>
{record.checkOut ? "Completed" : "Active"}
<Badge variant={record.checkOutTime ? "gray" : "success"}>
{record.checkOutTime ? "Completed" : "Active"}
</Badge>
</td>
</tr>