etsy-finance-tracker/client
dlawler489 8e6680f2de Handle refunds: net revenue = order total - refunds
- Order model gains refundTotal; sync sums receipt.refunds (Money
  objects) onto each order and marks fully-refunded orders 'refunded'
- orderNetRevenue() helper (total - refundTotal); profit metrics,
  monthly trends, and per-order analysis now use net revenue so
  refunded sales no longer overstate profit
- ProfitMetrics adds totalRefunds; Analytics revenue card shows net
  revenue with the refunded amount, and monthly revenue is net

Note: product-level profitability stays gross since receipt refunds are
order-level amounts with no line-item breakdown.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 17:07:48 +10:00
..
public Add alias matching, cost snapshots, reference-based fee allocation; remove debug tooling 2026-06-12 18:39:59 +10:00
src Handle refunds: net revenue = order total - refunds 2026-06-13 17:07:48 +10:00
index.html Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00
package-lock.json Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00
package.json Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00
postcss.config.js Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00
tailwind.config.js Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00
tsconfig.json Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00
tsconfig.node.json Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00
vite.config.ts Initial commit: Complete Etsy Business Tracker with Profit Analysis Dashboard 2026-04-20 09:44:54 +10:00