Attendance in Employee Profile Should Display Project-Wise
This commit is contained in:
parent
427d728efc
commit
0e7ade4026
@ -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")}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user