Skip to content

format monetary values with thousand-separator commas in project info - #172

Merged
boscorat merged 1 commit into
masterfrom
169-number-formatting-in-project-info
Aug 28, 2026
Merged

format monetary values with thousand-separator commas in project info#172
boscorat merged 1 commit into
masterfrom
169-number-formatting-in-project-info

Conversation

@boscorat

Copy link
Copy Markdown
Owner

Formats , , and in the project info account table with thousand-separator commas.

  • / : e.g. 256734256,734
  • : e.g. 256734.56256,734.56 (consistent .2f)

Also renames column headers to Total in, Total out, Latest balance and fixes the last column stretching to fill available space.

Closes #169

… table

- Add _fmt_money() helper for comma-separated formatting with .2f
- Format total_in, total_out as "1,234" and latest_balance as "1,234.56"
- Rename columns to "Total in", "Total out", "Latest balance"
- Disable stretch-last-section so columns size to content

Closes #169
@boscorat boscorat linked an issue Aug 28, 2026 that may be closed by this pull request
@github-actions

Copy link
Copy Markdown

Documentation reminder

The following view file(s) were modified in this PR:

src/openstan/views/project_view.py

Please review and update the relevant pages in docs/screens/ before merging.

If the UI has visually changed, capture a new screenshot for the affected screen(s) and commit it to docs/assets/screenshots/. See docs/assets/screenshots/SCREENSHOTS.md for the filename, required app state, and capture instructions for each screen.

@boscorat
boscorat merged commit 45a662e into master Aug 28, 2026
2 checks passed
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.

number formatting in project info

1 participant