fix/accounts-list-balance-consistency #5

Merged
shihaam merged 3 commits from ahusan/fksar:fix/accounts-list-balance-consistency into main 2026-05-28 11:22:54 +00:00
Contributor
No description provided.
ahusan added 3 commits 2026-05-28 10:52:53 +00:00
Adds applicationIdSuffix=.debug and versionNameSuffix=-debug so a
side-loaded debug build can be installed alongside the Play/release
build without conflicting on package id.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
BML CASA rows on the accounts list were showing currentBalance (the
working/ledger balance, which includes blocked funds). Every other
balance display in the app — transfer screen, contact picker, QR pay,
dashboard totals — uses availableBalance, so the same account was
showing a different figure depending on where you looked at it.

This switches the accounts list to availableBalance for consistency,
and adds a small muted "MVR X.XX blocked" line beneath the balance
when blocked > 0 so the blocked funds are still visible at a glance.
Only BML reports a non-zero blocked amount; MIB and Fahipay rows are
unaffected.

The per-account history page header is untouched — its three-column
Available / Balance / Blocked breakdown still works as before.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Introduces a new attention row in the dashboard to display blocked funds and overdue financing. The row is conditionally visible based on the presence of blocked amounts or overdue totals. Updates the account display logic to show blocked amounts where applicable, ensuring users have a clear view of their financial status. Additionally, new string resources for "Blocked Funds" and "Overdue Financing" are added for localization.
shihaam added the enhancement label 2026-05-28 11:00:29 +00:00
shihaam self-assigned this 2026-05-28 11:00:36 +00:00
shihaam closed this pull request 2026-05-28 11:19:13 +00:00
shihaam reopened this pull request 2026-05-28 11:19:32 +00:00
shihaam merged commit 8f11ad418a into main 2026-05-28 11:22:54 +00:00
Sign in to join this conversation.