Skip to content

Commit

Permalink
Merge pull request #4383 from unicef/fix-pv-gf
Browse files Browse the repository at this point in the history
[219996]-Cannot open payment verification details GF
  • Loading branch information
domdinicola authored Oct 31, 2024
2 parents 8283a77 + 966ce34 commit 797c740
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,15 @@ export function PaymentGrievanceDetails({
const { showMessage } = useSnackbar();
const [mutate] = useApprovePaymentDetailsMutation();
const confirm = useConfirmation();
const {
approveStatus,
oldReceivedAmount,
newReceivedAmount,
paymentVerification: { receivedAmount },
} = ticket.paymentVerificationTicketDetails;

const approveStatus = ticket.paymentVerificationTicketDetails?.approveStatus;
const oldReceivedAmount =
ticket.paymentVerificationTicketDetails?.oldReceivedAmount;
const newReceivedAmount =
ticket.paymentVerificationTicketDetails?.newReceivedAmount;
const receivedAmount =
ticket.paymentVerificationTicketDetails?.paymentVerification
?.receivedAmount;
const deliveredQuantity = ticket.paymentRecord?.deliveredQuantity;
const entitlementQuantity = ticket.paymentRecord?.entitlementQuantity;

Expand Down

0 comments on commit 797c740

Please sign in to comment.