Skip to content

feat(mobile): per-flat statement on bills screen (#96)#108

Merged
ankitsejwal merged 1 commit into
mainfrom
feat/m3.5-mobile-statement
Jul 16, 2026
Merged

feat(mobile): per-flat statement on bills screen (#96)#108
ankitsejwal merged 1 commit into
mainfrom
feat/m3.5-mobile-statement

Conversation

@ankitsejwal

Copy link
Copy Markdown
Member

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 + ApartmentStatement type. 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).
  • 2 mobile i18n keys (en + hi).

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.

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.
@ankitsejwal
ankitsejwal merged commit 8a9018c into main Jul 16, 2026
1 check passed
@ankitsejwal
ankitsejwal deleted the feat/m3.5-mobile-statement branch July 16, 2026 15:26
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