Adding 2 columns in Regularize column Request at and Requested by

This commit is contained in:
Kartik Sharma 2025-10-09 10:27:13 +05:30
parent ffd7f15488
commit 2fe297c6b6

View File

@ -142,6 +142,9 @@ const Regularization = ({ handleRequest, searchTerm, projectId, organizationId,
<th>
<i className="bx bxs-up-arrow-alt text-danger"></i>Check-Out
</th>
<th>Request By</th>
<th>Requested At</th>
<th>Action</th>
</tr>
</thead>
@ -174,6 +177,7 @@ const Regularization = ({ handleRequest, searchTerm, projectId, organizationId,
</div>
</td>
<td>{att.projectName || "--"}</td>
<td>{moment(att.checkOutTime).format("DD-MMM-YYYY")}</td>
{/* <td>{att.organizationName || "--"}</td> */}
@ -182,6 +186,16 @@ const Regularization = ({ handleRequest, searchTerm, projectId, organizationId,
<td>
{att.checkOutTime ? convertShortTime(att.checkOutTime) : "--"}
</td>
<td>
{att.requestedBy
? `${att.requestedBy?.firstName} ${att.requestedBy?.lastName}`
: "--"}
</td>
<td>
{att.requestedAt
? moment(att.requestedAt).format("DD-MMM-YYYY")
: "--"}
</td>
<td className="text-center ">
<RegularizationActions
attendanceData={att}