added payee at updation time
This commit is contained in:
parent
9b091840d6
commit
e1e9920b3e
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user