Attendance in Employee Profile Should Display Project-Wise

This commit is contained in:
Kartik Sharma 2025-12-05 10:58:44 +05:30
parent 427d728efc
commit 0e7ade4026

View File

@ -103,6 +103,9 @@ const EmpAttendance = () => {
<th className="border-top-1" colSpan={2}>
Name
</th>
<th className="border-top-1" colSpan={2}>
ProjectName
</th>
<th className="border-top-1">Date</th>
<th>
<i className="bx bxs-down-arrow-alt text-success"></i>{" "}
@ -118,7 +121,7 @@ const EmpAttendance = () => {
<tbody>
{currentItems?.map((attendance, index) => (
<tr key={index}>
<td colSpan={2}>
<td colSpan={3}>
<div className="d-flex justify-content-start align-items-center">
<Avatar
firstName={attendance.firstName}
@ -133,6 +136,7 @@ const EmpAttendance = () => {
</div>
</div>
</td>
<td>{attendance.projectName}</td>
<td>
{" "}
{moment(attendance.checkInTime).format("DD-MMM-YYYY")}