Attendance in Employee Profile Should Display Project-Wise
This commit is contained in:
parent
ca3cc590d2
commit
88dc11793c
@ -103,6 +103,9 @@ const EmpAttendance = () => {
|
|||||||
<th className="border-top-1" colSpan={2}>
|
<th className="border-top-1" colSpan={2}>
|
||||||
Name
|
Name
|
||||||
</th>
|
</th>
|
||||||
|
<th className="border-top-1" colSpan={2}>
|
||||||
|
ProjectName
|
||||||
|
</th>
|
||||||
<th className="border-top-1">Date</th>
|
<th className="border-top-1">Date</th>
|
||||||
<th>
|
<th>
|
||||||
<i className="bx bxs-down-arrow-alt text-success"></i>{" "}
|
<i className="bx bxs-down-arrow-alt text-success"></i>{" "}
|
||||||
@ -118,7 +121,7 @@ const EmpAttendance = () => {
|
|||||||
<tbody>
|
<tbody>
|
||||||
{currentItems?.map((attendance, index) => (
|
{currentItems?.map((attendance, index) => (
|
||||||
<tr key={index}>
|
<tr key={index}>
|
||||||
<td colSpan={2}>
|
<td colSpan={3}>
|
||||||
<div className="d-flex justify-content-start align-items-center">
|
<div className="d-flex justify-content-start align-items-center">
|
||||||
<Avatar
|
<Avatar
|
||||||
firstName={attendance.firstName}
|
firstName={attendance.firstName}
|
||||||
@ -133,6 +136,7 @@ const EmpAttendance = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
<td>{attendance.projectName}</td>
|
||||||
<td>
|
<td>
|
||||||
{" "}
|
{" "}
|
||||||
{moment(attendance.checkInTime).format("DD-MMM-YYYY")}
|
{moment(attendance.checkInTime).format("DD-MMM-YYYY")}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user