equals-wd-card-expense-proc.../app/tools
JasonFraser e2a798600b Collapse 70000+ accounts to Account>Category, add Project Costs/Net Revenues
Two changes drawn from a closer re-read of the reference template's
expense section:

- Accounts 70000 and up (Wages, Benefits, Occupancy, Travel, etc.) no
  longer break out by Project Code - one row per category, combining
  every project it was posted against (2-criteria SUMIFS: Account +
  Category, no Project). The three "Project Costs" accounts
  (68010/68020/68030) keep the full Account -> Category -> Project
  Code breakdown, since those are the accounts genuinely tied to
  specific donor projects.
- "Project Costs" (68010+68020+68030's account subtotals) and "Net
  Revenues" (Total Revenue - Project Costs) are now inserted
  immediately after the 68030 block, matching the reference template.
  Neither feeds into the account-subtotal list Total Expenses sums
  from, so the three accounts aren't double-counted.

Verified: every pre-existing total is byte-for-byte unchanged (this is
a pure display/grouping change, not a data change) - revenue
5,338,866.02 / expense 3,743,572.26 / surplus 1,595,293.76 /
balance_check 0.00 - and the new Project Costs (2,990,695.99) / Net
Revenues (2,348,170.03) figures were independently resolved via the
SUMIFS/SUM simulator and check out arithmetically
(5,338,866.02 - 2,990,695.99 = 2,348,170.03).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 16:49:59 -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 Collapse 70000+ accounts to Account>Category, add Project Costs/Net Revenues 2026-08-25 16:49:59 -04:00
__init__.py Restructure into a multi-tool platform with blueprints 2026-08-18 11:25:13 -04:00