How farizmawarid/wms-lara-admin works
ESGI System is a garment-factory operations application combining NECO needle traceability and finish-goods warehouse management, with IE workforce planning and reporting as a further business area. The main workflows run from needle stock, requests, loans and exchanges to traceable reports, and from carton receipt through rack allocation, moves and dispatch to stock dashboards. The README documents additional capabilities such as RFID/barcode scanning, exchange evidence capture, RBAC and factory-specific access. Routes and much of the NECO/IE implementation were not sampled, so uncertain call wiring is omitted.
Main entry points: web.php Web routes · NeedleStockTransaction.php Needle records · NeedleLoanHandNeedleController.php Needle operations · NeedleExchangeController.php Needle exchange
Components 23
Access & Factory
- Login
app/Http/Controllers/Auth/LoginController.php - Factory database switch
app/Http/Middleware/SwitchFactoryDatabase.php - Role & permission checks
app/Http/Middleware/PermissionMiddleware.php - Users & factory access
app/Models/User.php
NECO Needle Control
- Needle operations
app/Http/Controllers/NeedleLoanHandNeedleController.php - Needle stock service
app/Services/NeedleStockService.php - Needle records
app/Models/NeedleStockTransaction.php - Needle exchange
app/Http/Controllers/NeedleExchangeController.php - NECO reports
app/Http/Controllers/ReportNeedleExchangeController.php - NECO dashboard
app/Http/Controllers/NecoDashboardController.php
Finish Goods WMS
- Carton transactions
app/Http/Controllers/FinishGoodsTransactionController.php - Product data import
app/Services/ProductTypeImportService.php - Carton, rack & transactions
app/Models/FinishGoodsTransaction.php - Warehouse reports
app/Http/Controllers/FinishGoodsTransactionController.php - Rack token dashboard
app/Http/Controllers/RackTokenDashboardController.php
IE Workforce
- Jumper attendance
app/Http/Controllers/IeManPowerJumperController.php - Workforce transactions
app/Models/ManPowerJumperTransaction.php - IE projects & logs
app/Http/Controllers/IeProjectController.php - Working-hours reports
app/Http/Controllers/IeManPowerJumperController.php
Other components
- Factory staff
- Web routes
routes/web.php - RFID / barcode devices
- Browser camera
Connections 38
- Factory staff → Web routes: uses
- Web routes → Login: dispatches
- Login → Users & factory access: checks access
- Web routes → Factory database switch: runs middleware
- Web routes → Role & permission checks: checks permissions
- Factory staff → Needle operations: borrows / returns
- Web routes → Needle operations: dispatches
- Needle operations → Needle records: reads / writes
- Needle operations → RFID / barcode devices: scans IDs
- Factory staff → Needle stock service: requests stock
- Web routes → Needle stock service: dispatches
- Needle stock service → Needle records: updates stock
- Factory staff → Needle exchange: records exchange
- Web routes → Needle exchange: dispatches
- Needle exchange → Needle records: records exchange
- Needle exchange → Browser camera: captures evidence
- Factory staff → NECO reports: views reports
- Web routes → NECO reports: dispatches
- NECO reports → Needle records: queries history
- Web routes → NECO dashboard: dispatches
- NECO dashboard → Needle records: queries activity
- Factory staff → Carton transactions: handles cartons
- Web routes → Carton transactions: dispatches
- Carton transactions → Carton, rack & transactions: reads / writes
- RFID / barcode devices → Carton transactions: scans barcodes
- Factory staff → Product data import: imports product data
- Product data import → Carton, rack & transactions: updates product records
- Web routes → Warehouse reports: dispatches
- Warehouse reports → Carton, rack & transactions: queries transactions
- Factory staff → Rack token dashboard: views public display
- Web routes → Rack token dashboard: dispatches
- Factory staff → Jumper attendance: records attendance
- Web routes → Jumper attendance: dispatches
- Jumper attendance → Workforce transactions: reads / writes
- Factory staff → IE projects & logs: manages projects
- Web routes → IE projects & logs: dispatches
- Web routes → Working-hours reports: dispatches
- Working-hours reports → Workforce transactions: queries attendance