This repository was archived by the owner on Mar 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
[$100] UI to cancel payments #56
Labels
Milestone
Comments
@maxceem For cancel payments, the 'cancel' button is not active for 'scheduled' status and active for 'in-progress' status but it should be active for 'scheduled' and inactive for 'in-progress' |
@sandhiyakavi fixed. |
Verified on Prod Env with @nkumar-topcoder |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We would like to be able to cancel payments if we need to.
Inside Payments Popup add button one more column with no title. And in that column add
red
buttonCancel
.Cancel
button should be disabled for the payments in statusin-progres
- other statuses we can cancel.When we click it, show Confirmation Modal window which should look like this:
use styles and common code to show modal windows from TaaS App (you can see this modal here https://platform.topcoder-dev.com/taas/myteams/17975/access if you click "x" to remove member)
if we click
cancel cencelling
then just hide confirmation windowif we click
mark as cancelled
then show loading indicator and title "Marking as cancelled...", same as in TaaS Appmark as cancelled
again, the same time show red toastr with error message from the serverPayment ${amount} for ${userHandle} was marked as "cancelled"
The text was updated successfully, but these errors were encountered: