How suvarnalingwat1322-debug/sd works
This is a GST invoicing application for S.D. Enterprises. Users navigate a dashboard, maintain customer records, create and save GST invoices, then search, edit, duplicate, or delete them in invoice history; invoices can also be rendered and exported as PDFs. Customer records support Excel import/export, while settings hold business and tax defaults. The workflow is inferred from the sampled routes and source references; unsampled screens are represented by their exact paths, and no backend or remote service is evidenced.
Main entry points: App.tsx Route Application · CreateInvoice.tsx Invoice Editor · index.ts Persisted App State · CustomerList.tsx Customer Records
Components 15
Application Shell
- Route Application
src/App.tsx - Navigation Layout
src/components/Layout.tsx - Dashboard
src/pages/Dashboard.tsx
Invoice Workflow
- Invoice Editor
src/pages/CreateInvoice.tsx - Invoice History
src/pages/InvoiceHistory.tsx - Invoice Preview
src/components/InvoicePreview.tsx
Customer Records
- Customer Records
src/pages/CustomerList.tsx - Record Editor
src/components/CustomerRecordModal.tsx - Excel Transfer
src/utils/excel.ts
Application State
- Business Settings
src/pages/SettingsPage.tsx - Persisted App State
src/store/index.ts - Domain Data Types
src/types.ts
Invoice Calculations
- GST Calculator
src/utils/gstCalc.ts - Rupee Words
src/utils/indianWords.ts
Other components
- Business User
Connections 25
- Business User → Route Application: uses
- Route Application → Navigation Layout: routes through
src/App.tsx - Route Application → Dashboard: routes to
src/App.tsx - Route Application → Customer Records: routes to
src/App.tsx - Route Application → Invoice Editor: routes to
src/App.tsx - Route Application → Invoice History: routes to
src/App.tsx - Route Application → Business Settings: routes to
src/App.tsx - Business User → Dashboard: views
- Business User → Customer Records: manages
- Business User → Invoice Editor: creates
- Business User → Invoice History: reviews
- Business User → Business Settings: configures
- Customer Records → Record Editor: renders
src/pages/CustomerList.tsx - Customer Records → Excel Transfer: imports and exports
src/pages/CustomerList.tsx - Customer Records → Persisted App State: reads and updates
src/pages/CustomerList.tsx - Invoice Editor → Persisted App State: reads and saves
src/pages/CreateInvoice.tsx - Invoice Editor → GST Calculator: calculates tax
src/pages/CreateInvoice.tsx - Invoice Editor → Rupee Words: converts amount
src/pages/CreateInvoice.tsx - Invoice Editor → Invoice Preview: renders
src/pages/CreateInvoice.tsx - Invoice History → Persisted App State: reads and deletes
src/pages/InvoiceHistory.tsx - Business Settings → Persisted App State: reads and updates
src/pages/SettingsPage.tsx - Dashboard → Persisted App State: reads
src/pages/Dashboard.tsx - Persisted App State → Domain Data Types: uses
src/store/index.ts - Excel Transfer → Domain Data Types: uses
src/utils/excel.ts - Invoice Preview → Domain Data Types: uses
src/components/InvoicePreview.tsx