From 040a8f0a2ebe162c0501d06cfe5d4790e8fc8746 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Tue, 10 Jun 2025 15:44:24 +0530 Subject: [PATCH] feat: Add AttendanceLogViewButton for employees with check-in records --- lib/view/dashboard/Attendence/attendance_screen.dart | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/view/dashboard/Attendence/attendance_screen.dart b/lib/view/dashboard/Attendence/attendance_screen.dart index 689d717..8de61e9 100644 --- a/lib/view/dashboard/Attendence/attendance_screen.dart +++ b/lib/view/dashboard/Attendence/attendance_screen.dart @@ -736,8 +736,16 @@ class _AttendanceScreenState extends State with UIMixin { uniqueLogKey: employee.employeeId, action: ButtonActions.reject, ), + const SizedBox(width: 8), + if (employee.checkIn != null) ...[ + AttendanceLogViewButton( + employee: employee, + attendanceController: + attendanceController, + ), + ], ], - ) + ), ], ), ),