How dap112023/kosavi works
KosaviApp is a multi-area business application for ERP sales and manufacturing, CRM, HRM, and production operations. Users authenticate, select a system, then work through domain screens—for example, creating quotations and job cards before workshop, production, and dispatch activities. The UI also includes master-data maintenance and employee lifecycle/payroll functions. The tree and sampled route files establish the system boundaries and several entry points; many feature implementations were not sampled, so their internal wiring and persistence are intentionally not asserted.
Main entry points: ErpAppRoutes.jsx ERP routes · App.jsx App shell · HrmAppRoutes.jsx HRM routes · CrmLayout.jsx CRM workspace
Components 20
Application entry
- App shell
src/App.jsx - Authentication state
src/contexts/AuthContext.jsx - System selector
src/pages/SystemSelector.jsx
ERP operations
- ERP routes
src/routes/ErpAppRoutes.jsx - Quotes
src/pages/quotes - Enquiries and measurements
src/pages/enquiry - Master data
src/routes/MasterRoutes.jsx - Price lists
src/components/price-lists
Manufacturing flow
- Job cards
src/components/jobCard/door - Production tracking
src/components/production - Dispatch and delivery
src/pages/dispatch
People operations
- HRM routes
src/routes/HrmAppRoutes.jsx - Employee lifecycle
src/hrm/pages/onBoarding - Attendance and leave
src/hrm/pages/attendance - Payroll management
src/hrm/pages/paysheetManagement
Customer relations
- CRM workspace
src/layouts/CrmLayout.jsx - Sales pipeline
src/crm/pages/pipeline/Pipeline.jsx - Service operations
src/crm/pages/service
Other components
- Business user
- Application API
Connections 20
- Business user → App shell: uses
- App shell → Authentication state: provides auth
- App shell → System selector: routes to
- App shell → ERP routes: mounts ERP
- App shell → HRM routes: mounts HRM
- App shell → CRM workspace: mounts CRM
- System selector → ERP routes: selects system
- ERP routes → Quotes: routes to
- ERP routes → Enquiries and measurements: routes to
- ERP routes → Master data: routes to
- ERP routes → Price lists: routes to
- ERP routes → Job cards: routes to
- ERP routes → Dispatch and delivery: routes to
- ERP routes → Production tracking: routes to
- HRM routes → Employee lifecycle: routes to
- HRM routes → Attendance and leave: routes to
- HRM routes → Payroll management: routes to
- CRM workspace → Sales pipeline: hosts
- CRM workspace → Service operations: hosts
- Sales pipeline → Application API: reads and updates