equals-wd-card-expense-proc.../app/tools
JasonFraser 8f1ffe57c6 Category Summary: group/sort by account number, show full account string
Two changes per closer re-reading of the reference template:

- "Account" column now shows the full raw Ledger Account string
  (e.g. "43000:Donation and Fundraising Revenue"), unsplit - same
  treatment as Project Code already gets, rather than parsing out just
  the name.
- Subtotal grouping switches from Category to Account, sorted by
  account number ascending (43000, 48000, then 68010..82000 in the
  Expenses section). String-sorting the full account value works here
  since every code in this chart of accounts is the same 5-digit
  width, so no separate numeric-sort key was needed. Within each
  account, detail rows are still sorted by strategic area (C&B, CTI,
  GCTN, General) then full project code. Category is now a plain
  column rather than a grouping level.

Purely a grouping/display change - re-verified end to end that every
total is unaffected: Category Summary reconciliation still MATCHES
exactly, Balance Sheet balance_check is still 0.00, and every Total
Revenue/Total Expenses/Surplus formula resolves to the same figures
as before (revenue 5,338,866.02 / expense 3,743,572.26 /
surplus 1,595,293.76).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 16:09:25 -04:00
..
donor_report Include the Planeterra International Foundation Ltd entity column 2026-08-25 13:57:01 -04:00
eib Move merchant mapping to a bind-mounted CSV, add in-UI mapping flow 2026-08-19 11:55:43 -04:00
financial_reports Category Summary: group/sort by account number, show full account string 2026-08-25 16:09:25 -04:00
__init__.py Restructure into a multi-tool platform with blueprints 2026-08-18 11:25:13 -04:00