Skip to content

Post endpoints for delete and cancel, and improvements to the details views for Offers and Civil Bonds.

Трајковски Андреј requested to merge refactor-delete/cancel into dev

I changed the endpoints in each controller from @GetMapping to @PostMapping. While testing the new code I fixed some issues I noticed:

1.The progress bars in the details view for each bonds doesn't change after an offer is cancelled: Screenshot_2026-03-11_105739 2.Because we allow the user to see archived offers/allocations/payments, the count displayed for all of the offers/allocations/payments was incorrect - it showed all of them instead of only the active ones (for example even if you deleted a offer it would still show the count as 1, even though there was no active offer): Screenshot_2026-03-12_113021 3.In the details view for an offer (with the old code) it displayed the payments and allocations even if the user deleted them (they are archived) Screenshot_2026-03-12_113936

Edited by Трајковски Андреј

Merge request reports

Loading