From 2fe297c6b65fc62b75d0fb9d11a61d80257ec5a8 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Thu, 9 Oct 2025 10:27:13 +0530 Subject: [PATCH] Adding 2 columns in Regularize column Request at and Requested by --- src/components/Activities/Regularization.jsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/Activities/Regularization.jsx b/src/components/Activities/Regularization.jsx index fb7bfe2f..b8bf09a7 100644 --- a/src/components/Activities/Regularization.jsx +++ b/src/components/Activities/Regularization.jsx @@ -120,7 +120,7 @@ const Regularization = ({ handleRequest, searchTerm, projectId, organizationId, return () => eventBus.off("employee", employeeHandler); }, [employeeHandler]); - console.log("Kartik",currentItems) + console.log("Kartik", currentItems) return (
@@ -142,6 +142,9 @@ const Regularization = ({ handleRequest, searchTerm, projectId, organizationId, Check-Out + + Request By + Requested At Action @@ -174,6 +177,7 @@ const Regularization = ({ handleRequest, searchTerm, projectId, organizationId,
{att.projectName || "--"} + {moment(att.checkOutTime).format("DD-MMM-YYYY")} {/* {att.organizationName || "--"} */} @@ -182,6 +186,16 @@ const Regularization = ({ handleRequest, searchTerm, projectId, organizationId, {att.checkOutTime ? convertShortTime(att.checkOutTime) : "--"} + + {att.requestedBy + ? `${att.requestedBy?.firstName} ${att.requestedBy?.lastName}` + : "--"} + + + {att.requestedAt + ? moment(att.requestedAt).format("DD-MMM-YYYY") + : "--"} +