-
Notifications
You must be signed in to change notification settings - Fork 5
[$80] Additional Payments #82
Comments
@maxceem Below are the issues found,
|
@maxceem some more issues,
|
Sum up:
@MadOPcode feel free to pick up this issue as per this comment. |
…opcoder-archive#94, topcoder-archive#95. - Adds fixes for adding and editing payments (topcoder-archive#80, topcoder-archive#82) - Adds working period data reloading after adding and editing payments (topcoder-archive#94) - Makes toastr messages always stay withing the viewport (topcoder-archive#95)
Issue points 2 and 3 are not yet fixed. Other issues are fixed and working fine. |
@sandhiyakavi Issue points 2 and 3 should be fixed now. |
@maxceem If we do Additional payment for the WP which is in 'pending' status, it is still changing into 'partially completed' status. If 'No days' status and we process Additional payment, the status changing correctly into 'in progress' status. |
@sandhiyakavi this WP has 1 working days, but 0 working days were paid. As some payment was done (additional one), we indicate it as partially completed status. |
Challenge https://www.topcoder.com/challenges/add1a560-96ce-4330-933d-20f0b50fd46d has been created for this ticket. |
Challenge https://www.topcoder.com/challenges/add1a560-96ce-4330-933d-20f0b50fd46d has been assigned to madopcode. |
Payment task has been updated: https://www.topcoder.com/challenges/add1a560-96ce-4330-933d-20f0b50fd46d |
Verified on Prod Env. Working as expected. cc: @nkumar-topcoder |
Background
At the moment we can only process payments to the resource bookings for some amount of days worked via UI https://monosnap.com/file/HOmkcBnEVYmz3j0n32CcQ25TFQmQT5.
Sometimes managers would like to process additional payments which would not be counted for days. For this purpose we would like to introduce another way to process additional payments.
Task
Add
Actions
dropdown menu to each of the row in the table with 1 option:Additional Payment
When we click
Additional Payment
show a modal:If we click
Cancel
orX
just close the modal.if we click
Process Payment
show a loading indicator inside the modal or disable the field and all the buttons while sending request to the server.Additional payment scheduled for resource
:we don't have a design for this modal, please use styles of the existent modal, it can be seen like shown on this screenshot https://monosnap.com/file/vtLasCWUEocTs3CVPg4typTRYbfjVU.
for the field use styles like in https://github.com/topcoder-platform/taas-app, see example page with such a field https://platform.topcoder-dev.com/taas/myteams/18102/rb/ac7e4dae-8a0b-468c-bb53-1b93f13cd825/edit
API
POST /work-period-payments
passing in the body:The text was updated successfully, but these errors were encountered: