equals-wd-card-expense-proc.../templates
JasonFraser dfd3a710e0 Fix Category Summary/Balance Sheet reconciliation and account grouping
- Canonicalize category/project/account text before grouping so
  case-only variants (e.g. "OffSite Meetings" vs "Offsite Meetings")
  collapse to one row instead of producing two SUMIFS formulas that
  double-count each other under Excel/Sheets' case-insensitive text
  matching - this was the source of the reported mismatch.
- Add _assert_no_case_collisions as a build-time safety net; the old
  Python-only reconciliation check couldn't catch this class of bug
  since grouped-vs-source totals are mathematically equal regardless
  of labeling. routes.py now returns a clean 400 if it ever fires.
- Reposition 68020 out of the project-level (Account>Category>Project)
  section into the collapsed section with 70000+, so only 68010/68030
  remain above the Project Costs subtotal, matching the reference
  template.
- Rename the two output sheets to "1. Summary (Manual)" and
  "Balance Sheet (FS)", updating the cross-sheet Net Income formula
  reference to match.
- Explicitly set calcMode="auto" (in addition to openpyxl's default
  fullCalcOnLoad) so edits to the TB sheets keep recalculating
  dependent formulas after the first open, not just on it.
- Add a "Report vs. Source Files" comparison table to the results UI
  showing Total Income/Expenses/Surplus side by side against figures
  computed independently from the uploaded files.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-25 21:54:07 -04:00
..
donor_report Add expense trial balance support to Donor Revenue Report 2026-08-25 13:00:11 -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 Fix Category Summary/Balance Sheet reconciliation and account grouping 2026-08-25 21:54:07 -04:00
home.html Restructure into a multi-tool platform with blueprints 2026-08-18 11:25:13 -04:00