Skip to content

Refactor KPI logic to use LastSale from projection state#505

Merged
StuartFerguson merged 1 commit into
mainfrom
bug/#488_merchant_kpis_wrong
Mar 12, 2026
Merged

Refactor KPI logic to use LastSale from projection state#505
StuartFerguson merged 1 commit into
mainfrom
bug/#488_merchant_kpis_wrong

Conversation

@StuartFerguson

Copy link
Copy Markdown
Member

Switched merchant KPI calculations to use the LastSale property from MerchantBalanceProjectionState instead of LastSaleDate/LastSaleDateTime from Merchant. Updated test data setup to set LastSale on the projection state, centralizing last sale tracking.

closes #488

Switched merchant KPI calculations to use the LastSale property from MerchantBalanceProjectionState instead of LastSaleDate/LastSaleDateTime from Merchant. Updated test data setup to set LastSale on the projection state, centralizing last sale tracking.
@StuartFerguson StuartFerguson merged commit dcf02d1 into main Mar 12, 2026
5 checks passed
@github-actions github-actions Bot deleted the bug/#488_merchant_kpis_wrong branch May 12, 2026 03:39
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.

Merchant KPI not showing correct value

1 participant