Skip to content

feat: add custody order approval admin endpoints#3441

Merged
bernd2022 merged 2 commits intodevelopfrom
feature/custody-order-approval
Mar 16, 2026
Merged

feat: add custody order approval admin endpoints#3441
bernd2022 merged 2 commits intodevelopfrom
feature/custody-order-approval

Conversation

@bernd2022
Copy link
Collaborator

Summary

  • Add GET custody/admin/orders endpoint to list custody orders (excluding status Created, limited to 20, newest first)
  • Add CustodyOrderListEntry DTO with fromEntity mapper
  • Add getOrdersForSupport() method to CustodyOrderService
  • Existing POST custody/admin/order/:id/approve endpoint already present

Test plan

  • Verify GET custody/admin/orders returns orders with correct data
  • Verify only Admin role can access the endpoint
  • Verify orders with status Created are excluded
  • Verify approve works for Confirmed orders

@bernd2022 bernd2022 requested a review from davidleomay March 16, 2026 15:44
@bernd2022 bernd2022 merged commit 542500f into develop Mar 16, 2026
8 checks passed
@bernd2022 bernd2022 deleted the feature/custody-order-approval branch March 16, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants