- Updated ProfitAnalysisService to accept and integrate expense data - Modified calculateProfitMetrics to include expenses in profit calculations - Added totalExpenses field to ProfitMetrics interface - Updated ProfitAnalysis component to pass filtered expenses to calculations - Enhanced UI to show breakdown of expenses vs printing costs - Fixed inconsistency between Analytics and ProfitAnalysis profit calculations - Now shipping expenses and Etsy fees are properly deducted from profits - Excluded transaction fees to avoid double-counting |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||