-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cancel Payment command (again and again) #34719
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
49504fd
Redo cancel payment after revert
Gonals 89fad7e
Spanish
Gonals 3fd0df3
remove extra import
Gonals 7ed1450
prettier
Gonals f925a4e
Merge branch 'main' into alberto-unpay3
Gonals e774d17
Display better cancelled message
Gonals c2fd7fc
display paid message correctly
Gonals 60f8f21
display cancelled message correctly
Gonals 91e0f37
pass and use amount in message
Gonals 4187474
display amount correctly
Gonals 57da597
Merge branch 'main' into alberto-unpay3
Gonals db4e048
conflicts
Gonals cf82a5e
Return to correct state/status
Gonals 43519be
Do not set iouReport on cancelPayment
Gonals ae02760
pass reportID
Gonals a218cc7
conflicts
Gonals d712da8
lint
Gonals 4735091
prettier
Gonals eef5a23
typescript
Gonals 8ce76da
more typescript
Gonals ba07688
conflicts
Gonals 886cbb4
prettier
Gonals 4c63cfb
conflicts
Gonals ce897db
remove extra param
Gonals ecc81ff
remove param from doc
Gonals aa9f717
Merge branch 'main' into alberto-unpay3
Gonals a5182bf
conflicts
Gonals ec7a962
typescript
Gonals ccdbee2
more typescript
Gonals 50803d4
Add file for params
Gonals 880f7bd
prettier
Gonals 592ed61
more fights agains typescript
Gonals 320dc12
more fight. I'm losing
Gonals 1661ec1
and one more
Gonals 46c9b6c
style now
Gonals 49842e5
ignore markedReimbursed action
Gonals 89a1f48
always display positive amount in message
Gonals 140ed0e
Merge branch 'main' into alberto-unpay3
Gonals 928ccd0
more typescript
Gonals 69f3e7c
still typescript kicking my butt
Gonals 48aee18
Merge branch 'main' into alberto-unpay3
Gonals 6a86314
show consistent message after cancel payment
Gonals 866aeb9
merge main
Gonals 5b4e973
conflicts
Gonals ede6e3b
conflicts
Gonals c44ef01
remove todo
Gonals 4df6a65
typescript
Gonals 1380e65
style
Gonals File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
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
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
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,8 @@ | ||
type CancelPaymentParams = { | ||
iouReportID: string; | ||
chatReportID: string; | ||
managerAccountID: number; | ||
reportActionID: string; | ||
}; | ||
|
||
export default CancelPaymentParams; |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, This caused the issue #56989, it missed the case where the report can be waiting on bank account (
iouReport?.isWaitingOnBankAccount
), we need to include the cancel payment option in this case