Skip to content

Fix multiple bugs in revenue dashboard system#111

Closed
zangerls wants to merge 7 commits into
Base360-AI:mainfrom
zangerls:main
Closed

Fix multiple bugs in revenue dashboard system#111
zangerls wants to merge 7 commits into
Base360-AI:mainfrom
zangerls:main

Conversation

@zangerls

@zangerls zangerls commented Jun 5, 2026

Copy link
Copy Markdown

Summary

  • Add tenant_id to Redis cache key to avoid shared cache hits for identical property_id across tenants.
  • Make monthly revenue queries to Postgres timezone-aware to display revenue based on real-world moment of check-in.
  • Added and integrated new /v2/dashboard/summary endpoint, returning revenue as string to avoid floating point precision errors.

zangerls added 7 commits June 5, 2026 17:09
.env files could be added but currently holds no real secrets - .env.local possibly?
As DB connection problems currently remain, ran in docker shell. Prev. result: 1000, Current result: 2500
…oint errors (IEEE 754) cause mismatch in shown data

Adjusted frontend drift warning code by coercing string to number. Should really be removed entirely after this fix
…ew /v2 version to keep backward-compatibility

Implementation needs to be cleaned up and abstracted nicer, issue for now solved, without breaking possible API integrations
@zangerls zangerls closed this by deleting the head repository Jun 12, 2026
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.

1 participant