-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maciej Szewczyk
committed
Dec 23, 2024
1 parent
41b3dba
commit ed9fe9c
Showing
4 changed files
with
146 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
...ntend/src/apollo/mutations/payments/UpdatePaymentVerificationReceivedAndReceivedAmount.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export const UPDATE_PAYMENT_VERIFICATION_STATUS_AND_RECEIVED_AMOUNT = gql` | ||
mutation updatePaymentVerificationReceivedAndReceivedAmount( | ||
$paymentVerificationId: ID! | ||
$receivedAmount: Decimal! | ||
$received: Boolean! | ||
) { | ||
updatePaymentVerificationReceivedAndReceivedAmount( | ||
paymentVerificationId: $paymentVerificationId | ||
receivedAmount: $receivedAmount | ||
received: $received | ||
) { | ||
paymentVerification { | ||
id | ||
status | ||
receivedAmount | ||
paymentVerificationPlan { | ||
id | ||
receivedCount | ||
notReceivedCount | ||
respondedCount | ||
receivedCount | ||
receivedWithProblemsCount | ||
} | ||
} | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters