How ds279-lab/fastspot-settlement-receipt-manager works
Fastspot is a browser-based receipt, settlement, and money-lent manager. The user works through the dashboard and navigation to review or upload transaction receipts, calculate rates, record loans, and settle principal or commissions; the app maintains the working records in browser storage. The README provides little product detail, so the capability map also relies on component names and visible UI excerpts. Some component wiring is not shown beyond the source index; those edges cite the referencing file without claiming unshown internals.
Main entry points: App.tsx Application shell · financialCalculations.ts Financial calculations · ReceiptsTable.tsx Receipt ledger · HomeDashboard.tsx Dashboard
Components 20
Receipt workflow
- Receipt ledger
src/components/ReceiptsTable.tsx - Receipt upload
src/components/UploadModal.tsx - Receipt details
src/components/ReceiptDetailModal.tsx - Table printing
src/utils/printTable.ts
Settlement and overview
- Summary metrics
src/components/SummaryMetrics.tsx - Dashboard
src/components/HomeDashboard.tsx - Settlement execution
src/components/SettlementModal.tsx - Settlement history
src/components/SettlementHistoryLedger.tsx
Loans and rates
- Rates calculator
src/components/RatesCalculatorView.tsx - Money lent
src/components/MoneyLentView.tsx - Loan calculations
src/utils/loanCalculations.ts
Application core
- Application shell
src/App.tsx - Navigation
src/components/Navbar.tsx - Commission settings
src/components/SettingsModal.tsx - Financial calculations
src/utils/financialCalculations.ts - Manual fee tiers
src/utils/manualSendFeeTiers.ts - Initial records
src/utils/initialData.ts - React entry point
src/main.tsx
Other components
- Operator
- Browser local storage
Connections 26
- Operator → React entry point: opens app
- React entry point → Application shell: renders
src/main.tsx - Application shell → Navigation: renders
src/App.tsx - Application shell → Dashboard: renders
src/App.tsx - Application shell → Receipt ledger: renders
src/App.tsx - Application shell → Receipt upload: renders
src/App.tsx - Application shell → Receipt details: renders
src/App.tsx - Application shell → Settlement execution: renders
src/App.tsx - Application shell → Settlement history: renders
src/App.tsx - Application shell → Commission settings: renders
src/App.tsx - Application shell → Rates calculator: renders
src/App.tsx - Application shell → Money lent: renders
src/App.tsx - Dashboard → Summary metrics: renders
src/components/HomeDashboard.tsx - Application shell → Financial calculations: uses calculations
src/App.tsx - Dashboard → Financial calculations: uses calculations
src/components/HomeDashboard.tsx - Receipt upload → Financial calculations: uses calculations
src/components/UploadModal.tsx - Receipt ledger → Financial calculations: uses calculations
src/components/ReceiptsTable.tsx - Settlement execution → Financial calculations: formats amounts
src/components/SettlementModal.tsx - Application shell → Loan calculations: merges loans
src/App.tsx - Money lent → Loan calculations: uses calculations
src/components/MoneyLentView.tsx - Application shell → Manual fee tiers: loads tiers
src/App.tsx - Application shell → Initial records: loads defaults
src/App.tsx - Initial records → Financial calculations: creates receipts
src/utils/initialData.ts - Application shell → Browser local storage: reads and writes
src/App.tsx - Receipt ledger → Table printing: prints table
src/components/ReceiptsTable.tsx - Money lent → Table printing: prints table
src/components/MoneyLentView.tsx