Closed maxceem closed 3 years ago
@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 Dev Env. Able to cancel payments for all status other than 'in-progress'
Verified on Prod Env with @nkumar-topcoder
We would like to be able to cancel payments if we need to.
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"