How garxpuji/stock-gudang works
This is a Laravel warehouse and ISP logistics inventory system. Staff use routed web screens to manage products and stock, receive and dispatch goods, process returns and damaged items, audit tools, and review reports. Transaction actions implement key stock workflows; Eloquent models persist inventory and operational records. The README documents the broader capabilities, while source excerpts are partial, so links to unsampled subsystems are limited to route registrations, index references, or documented behavior.
Main entry points: web.php Web routes · ProcessReturnAction.php Returns and QC · ExportController.php Reports and exports · Product.php Products and serials
Components 22
Web access
- Web routes
routes/web.php - Authentication and users
app/Http/Controllers/AuthController.php
Inventory operations
- Product catalog
app/Http/Controllers/ProductController.php - Inbound stock
app/Http/Controllers/StockInController.php - Outbound dispatch
app/Actions/OutboundStockAction.php - Returns and QC
app/Actions/ProcessReturnAction.php - Damaged goods
app/Actions/ResolveDamagedGoodsAction.php - Stock opname
app/Actions/StockOpnameAction.php - Stock mutation ledger
app/Models/StockMutation.php
Tools and teams
- Tool assignments
app/Http/Controllers/ToolController.php - Assignment and return actions
app/Actions/AssignToolAction.php - Tool audits
app/Http/Controllers/ToolAuditController.php - Audit actions
app/Actions/RecordToolAuditAction.php - Technician teams
app/Models/TechnicianTeam.php
Monitoring and reports
- Inventory dashboard
app/Http/Controllers/DashboardController.php - Reports and exports
app/Http/Controllers/ExportController.php
Persistence
- Products and serials
app/Models/Product.php - Stock transactions
app/Models/StockInTransaction.php - Return records
app/Models/ReturnTransaction.php - Damage records
app/Models/DamagedGood.php - Tools and audits
app/Models/Tool.php
Other components
- Warehouse staff
Connections 30
- Warehouse staff → Web routes: uses screens
README.md - Web routes → Authentication and users: dispatches
routes/web.php - Web routes → Product catalog: dispatches
routes/web.php - Web routes → Inbound stock: dispatches
routes/web.php - Web routes → Outbound dispatch: dispatches
routes/web.php - Web routes → Returns and QC: dispatches
routes/web.php - Web routes → Damaged goods: dispatches
routes/web.php - Web routes → Stock opname: dispatches
routes/web.php - Web routes → Tool assignments: dispatches
routes/web.php - Web routes → Tool audits: dispatches
routes/web.php - Web routes → Inventory dashboard: dispatches
routes/web.php - Web routes → Reports and exports: dispatches
routes/web.php - Tool assignments → Assignment and return actions: invokes
app/Http/Controllers/ToolController.php - Tool audits → Audit actions: invokes
app/Http/Controllers/ToolAuditController.php - Tool audits → Technician teams: loads team data
app/Http/Controllers/ToolAuditController.php - Assignment and return actions → Tools and audits: updates
- Audit actions → Tools and audits: records audit
- Outbound dispatch → Products and serials: allocates serials
- Inbound stock → Products and serials: registers stock
- Returns and QC → Return records: records return
app/Actions/ProcessReturnAction.php - Returns and QC → Products and serials: updates stock
app/Actions/ProcessReturnAction.php - Returns and QC → Damage records: records damage
app/Actions/ProcessReturnAction.php - Returns and QC → Stock mutation ledger: records mutation
app/Actions/ProcessReturnAction.php - Damaged goods → Damage records: resolves items
- Stock opname → Stock mutation ledger: records adjustment
- Inventory dashboard → Products and serials: summarizes stock
- Reports and exports → Products and serials: queries products
app/Http/Controllers/ExportController.php - Reports and exports → Return records: queries returns
app/Http/Controllers/ExportController.php - Reports and exports → Damage records: queries damage
app/Http/Controllers/ExportController.php - Reports and exports → Tools and audits: queries tools
app/Http/Controllers/ExportController.php