feat(miniapp): clarify balance breakdown

This commit is contained in:
2026-03-10 02:54:12 +04:00
parent 4b4f7d46e5
commit d55bf42c7b
5 changed files with 265 additions and 47 deletions

View File

@@ -0,0 +1,19 @@
# HOUSEBOT-078 Mini App Balance Breakdown
## Goal
Make the mini app read like a real household statement instead of a generic dashboard shell.
## Scope
- highlight the current member's own balance first
- show base due (`rent + utilities`) separately from the shared-purchase adjustment and final due
- keep full-household balance visibility below the personal summary
- split ledger presentation into shared purchases and utility bills
- avoid float math in UI money calculations
## Notes
- no settlement logic changes in this slice
- use existing dashboard API data where possible
- prefer exact bigint formatting helpers over `number` math in the client