bettersight-statement-extra.../pocketbase
JasonFraser 8a99254d28 Add QBO/Xero/CSV exports, consolidated Download dropdown, per-row exclude checkbox
Three new export formats, all reusing this pipeline's existing
transactions data with no new extraction logic:
- QBO (QuickBooks Web Connect / Quicken): qbo_service.py writes OFX 1.x
  SGML directly, including <INTU.BID>3000 so it actually qualifies as a
  real QBO/QFX file (corrected same day from an initial build that
  produced plain generic OFX with a .qbo extension slapped on - see
  CLAUDE.md for the research trail). Needs a reusable, project-scoped
  bankAccountProfiles record (pb_migrations/14) so a user isn't re-typing
  routing/account numbers on every export of the same real account.
- Xero (import CSV): xero_csv_service.py, no bank-account concept at all
  (Xero's own CSV import has none) - genuinely simpler than QBO.
- A plain, generic transactions CSV (csv_service.py) - distinct from
  Xero's import-specific shape, writes every row regardless of a missing
  date/amount since a plain dump has no structural requirement to violate.

The three original separate download buttons were consolidated into one
Download trigger + hover dropdown (QuickBooks/Xero/CSV/Excel), reusing
the Results dropdown's own zero-dead-zone hover structure. Excel's and
the new CSV's single/all download logic was generalized behind one
DOWNLOAD_FORMATS lookup rather than duplicated.

Also adds a per-transaction "include in downloads" checkbox - a lighter,
reversible alternative to permanently deleting a row: excludedFromExport
lives on the document's own result, read only at download time, with
zero effect on the live review screen's own data/checks.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-24 08:16:17 -04:00
..
pb_hooks Add PocketBase schema for the layout mapper (L.3) 2026-10-14 15:34:43 -04:00
pb_migrations Add QBO/Xero/CSV exports, consolidated Download dropdown, per-row exclude checkbox 2026-11-24 08:16:17 -04:00
Dockerfile Add PocketBase: accounts (password + Google) + schema for R2-backed docs 2026-10-13 00:26:41 -04:00
configure-secrets.sh Add PocketBase: accounts (password + Google) + schema for R2-backed docs 2026-10-13 00:26:41 -04:00