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 {