Open maxceem opened 3 years ago
@MadOPcode please, hold a bit working on this issue, I'm going to make some improvements to this task.
The biggest issue with implementing this issue is that if we have some filter by pyamentStatus
applied, and we would like to reload data for the current page, some rows may disappear due to changed status so it's hard to get updated status for all the items on the page with one request and making individual requests for each item feel heavy.
At the moment after we process the payment we don't update the data loaded in the table in any way. Though after payment processing it is expected that the statuses of all the payments would be updated to
scheduled
.If we just reload the data for the page after payments processing the data returned by the server might be still outdated because such updates take place not immediately.
So I suggest the next solution:
Loading...
inside and color5FB7EE
.paymentStatus
which was before changed toin-progres
update data for that row (not only status but other values also). This means that the payment for this record is in progress.NOTES: