From e1e9920b3e6b4de9e59ec4950655a69bab9f3e57 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Wed, 5 Nov 2025 18:15:53 +0530 Subject: [PATCH] added payee at updation time --- src/components/PaymentRequest/ManagePaymentRequest.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PaymentRequest/ManagePaymentRequest.jsx b/src/components/PaymentRequest/ManagePaymentRequest.jsx index 52459a56..cb8e382e 100644 --- a/src/components/PaymentRequest/ManagePaymentRequest.jsx +++ b/src/components/PaymentRequest/ManagePaymentRequest.jsx @@ -193,7 +193,7 @@ function ManagePaymentRequest({ closeModal, requestToEdit = null }) { const editPayload = { ...payload, id: data.id, - payee: isItself ? profile?.employeeInfo?.id : fromdata.payee, + payee: isItself ? `${profile?.employeeInfo?.firstName} ${profile?.employeeInfo?.lastName}` : fromdata.payee, }; PaymentRequestUpdate({ id: data.id, payload: editPayload }); } else {