etsy-finance-tracker/server/src
dlawler489 c5a6cba041 Add customers-from-sync, ad ROI, FY P&L + GST, missing-cost flags
- Customers: receipt sync accumulates each buyer (name/email/address) and
  upserts Customer records with net totals (idempotent, keyed by Etsy
  buyer id); lights up the Customers page and repeat-rate metric. Email
  no longer required (Etsy may omit it).
- Ad ROI: Analytics shows Advertising Performance (spend, % of revenue,
  ROAS) from Marketing & Advertising expenses.
- FY P&L + GST: financial-year (Jul-Jun) date options; new P&L/GST tab in
  Profit Analysis with Revenue -> COGS (printing+materials) -> Gross
  profit -> operating expenses by category -> Net profit, plus an
  indicative GST summary.
- Products: 'Missing costs' filter + count and a per-card warning for
  products with no printing/material cost set.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-14 11:54:51 +10:00
..
middleware Add JWT local auth with protected API routes 2026-04-22 08:11:54 +10:00
models Add customers-from-sync, ad ROI, FY P&L + GST, missing-cost flags 2026-06-14 11:54:51 +10:00
routes Phase 3: sync active Etsy listings into the product catalog 2026-06-13 18:48:12 +10:00
services Add customers-from-sync, ad ROI, FY P&L + GST, missing-cost flags 2026-06-14 11:54:51 +10:00
index.ts Add Etsy API integration: OAuth connect and receipt-to-order sync 2026-06-13 07:54:41 +10:00