feat(mobile): per-flat statement on bills screen (#96)#108
Merged
Conversation
Residents see a read-only running-balance statement for their flat, below the bill list + payment history. - api/client.ts: getApartmentStatement + ApartmentStatement type (role-scoped endpoint returns only the resident's own flat). - bills.tsx: statement section — dated debit/credit entries with running balance + closing balance, sourced from the primary flat (/apartments/mine). - 2 mobile i18n keys (en + hi); parity green. - Validated: shared build, mobile check-types + lint, i18n-parity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
M3.5 · admin-UI pass (part 4) — mobile statement (#96)
Residents get a read-only running-balance statement for their flat on the bills screen, below the bill list + payment history.
api/client.ts:getApartmentStatement+ApartmentStatementtype. The endpoint is role-scoped, so a resident only ever sees their own flat.bills.tsx: statement section — dated debit/credit rows with a running balance + closing balance, from the primary flat (/apartments/mine).Validation
shared build ✅ · mobile
check-types✅ · mobile lint ✅ · i18n-parity (web + mobile) ✅.This completes the #96 per-flat statement across admin web + resident mobile, and with it the full M3.5 admin-UI pass.