Skip to content

Add Today's Settlement reporting endpoint and queries#441

Merged
StuartFerguson merged 1 commit intomainfrom
task/#439_todays_settlement
Feb 16, 2026
Merged

Add Today's Settlement reporting endpoint and queries#441
StuartFerguson merged 1 commit intomainfrom
task/#439_todays_settlement

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Introduced support for retrieving today's settlement summary and comparison data via a new API endpoint (api/settlements/todayssettlements). Added SettlementQueries.TodaysSettlementQuery, handler, and model. Enhanced ReportingManager to aggregate settled and pending settlement counts and values for both today and a comparison date. Registered the new handler in the mediator, mapped the endpoint in startup, and added comprehensive endpoint tests. Refactored LINQ queries for consistency and improved error handling. Existing endpoints remain unchanged.

closes #439

Introduced support for retrieving today's settlement summary and comparison data via a new API endpoint (`api/settlements/todayssettlements`). Added `SettlementQueries.TodaysSettlementQuery`, handler, and model. Enhanced `ReportingManager` to aggregate settled and pending settlement counts and values for both today and a comparison date. Registered the new handler in the mediator, mapped the endpoint in startup, and added comprehensive endpoint tests. Refactored LINQ queries for consistency and improved error handling. Existing endpoints remain unchanged.
@StuartFerguson StuartFerguson merged commit ef815a4 into main Feb 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Todays Settlement

1 participant