How vraj0112/textilemanagementsystem works
Textile Management System is a Laravel/Vue single-page application for recording textile purchases and sales and managing related business records. Users navigate the Vue app to maintain reference data, enter inward purchases and challans, create and manage invoices, and track expenses and credit; Laravel API controllers handle requests and persist records in MySQL. Invoice and challan PDF generation is also present. The README documents the product scope; routes and most feature screens were not excerpted, so uncertain request-to-controller links are shown as unverified rather than asserted.
Main entry points: api.php HTTP API · index.js Page routing · database.php MySQL records · PDFController.php Document generation
Components 20
Web interface
- Vue application
resources/js/app.js - Page routing
resources/router/index.js - Dashboard
resources/js/components/Dashboard.vue - Reference screens
resources/js/components
Trading workflows
- Inward screens
resources/js/components/Inward - Challan screens
resources/js/components/Challan - Invoice screens
resources/js/components/Invoice - Inward handling
app/Http/Controllers/InwardController.php - Challan handling
app/Http/Controllers/ChallanController.php - Invoice handling
app/Http/Controllers/InvoiceController.php - Document generation
app/Http/Controllers/PDFController.php - Challan PDF view
resources/views/challanPDF.blade.php - Invoice PDF view
resources/views/invoicePDF.blade.php
Business records
- Business record handlers
app/Http/Controllers - Customer records
app/Http/Controllers/CustomerController.php - Expense records
app/Http/Controllers/ExpenseController.php
Laravel services
- HTTP API
routes/api.php
Persistence
- MySQL records
config/database.php
Other components
- Textile staff
- MySQL database
Connections 23
- Textile staff → Vue application: uses
README.md - Vue application → Page routing: loads
resources/js/app.js - Page routing → Dashboard: routes to
resources/router/index.js - Page routing → Reference screens: routes to
resources/router/index.js - Page routing → Inward screens: routes to
resources/router/index.js - Page routing → Challan screens: routes to
resources/router/index.js - Page routing → Invoice screens: routes to
resources/router/index.js - Inward screens → HTTP API: requests
- Challan screens → HTTP API: requests
- Invoice screens → HTTP API: requests
- HTTP API → Inward handling: dispatches
- HTTP API → Challan handling: dispatches
- HTTP API → Invoice handling: dispatches
- HTTP API → Business record handlers: dispatches
- Business record handlers → Customer records: includes
- Business record handlers → Expense records: includes
- Inward handling → MySQL records: queries
app/Http/Controllers/InwardController.php - Challan handling → MySQL records: writes
app/Http/Controllers/ChallanController.php - Invoice handling → MySQL records: queries
app/Http/Controllers/InvoiceController.php - Document generation → MySQL records: reads
app/Http/Controllers/PDFController.php - Document generation → Challan PDF view: renders
- Document generation → Invoice PDF view: renders
- MySQL records → MySQL database: connects