How abigduck495/ocampo-construction-supply works
Ocampo Construction Supply is a web-based inventory, point-of-sale, order-tracking, delivery, and dispatch system. Staff use its web interface to manage stock and orders; checkout records payment and order details, while delivery orders can be dispatched to drivers and tracked through delivery. Reporting and receipt printing are supporting capabilities. The tree and sampled excerpts support these subsystem boundaries, but most route mappings and controller interactions were not sampled, so uncertain wiring is omitted.
Main entry points: web.php Web routes · TransactionController.php Checkout and payments · InventoryController.php Inventory management · ReportController.php Reporting and exports
Components 30
Sales and Orders
- Checkout and payments
app/Http/Controllers/TransactionController.php - Order management
app/Http/Controllers/OrderController.php - Orders and items
app/Models/Order.php - Transaction records
app/Models/Transaction.php
Products and Inventory
- Inventory management
app/Http/Controllers/InventoryController.php - Product management
app/Http/Controllers/ProductController.php - Inventory and products
app/Models/Inventory.php - Product records
app/Models/Product.php
Dispatch and Delivery
- Dispatch management
app/Http/Controllers/DispatchController.php - Driver delivery API
app/Http/Controllers/DriverDeliveryController.php - Delivery records
app/Http/Controllers/DeliveryController.php - Dispatch and crew
app/Models/Dispatch.php
Reports and Settings
- Reporting and exports
app/Http/Controllers/ReportController.php - Daily report job
app/Jobs/GenerateDailyReportJob.php - Report records
app/Models/Report.php - System settings
app/Http/Controllers/SettingsController.php - Settings service
app/Services/SystemSettings.php - Receipt printing
app/Http/Controllers/PrinterController.php - Printer configuration
app/Models/Printer.php
Web Interface
- Web pages
resources/views - Web routes
routes/web.php - API routes
routes/api.php - Inventory interface
resources/js/pages/inventory.js - POS interface
resources/js/pages/pos.js - Delivery interface
resources/js/pages/deliveries.js - Dispatch interface
resources/js/pages/dispatch.js - Reports interface
resources/js/pages/reports.js
Other components
- Staff user
- Application database
- Receipt printer
Connections 35
- Staff user → Web pages: uses
- Web pages → Web routes: submits requests
- Web routes → Inventory management: routes requests
- Web routes → Checkout and payments: routes requests
- Web routes → Dispatch management: routes requests
- Web routes → Reporting and exports: routes requests
- Web routes → System settings: routes requests
- Inventory interface → Inventory management: requests stock
- POS interface → Checkout and payments: submits checkout
- Delivery interface → Delivery records: requests delivery data
- Dispatch interface → Dispatch management: manages dispatch
- Reports interface → Reporting and exports: requests reports
- Inventory management → Inventory and products: reads and updates
- Inventory management → Product records: reads product
- Product management → Product records: manages products
- Checkout and payments → Product records: checks stock
- Checkout and payments → Orders and items: creates orders
- Checkout and payments → Transaction records: records payment
- Order management → Orders and items: manages orders
- Dispatch management → Dispatch and crew: manages dispatch
- Driver delivery API → Dispatch and crew: reads and updates
- Delivery records → Dispatch and crew: manages delivery records
- Reporting and exports → Report records: queries reports
- Reporting and exports → Daily report job: runs generation
- Daily report job → Report records: generates reports
- System settings → Settings service: uses settings
- Receipt printing → Printer configuration: manages printers
- Receipt printing → Receipt printer: prints receipt data
- Inventory and products → Application database: stores stock
- Product records → Application database: stores products
- Orders and items → Application database: stores orders
- Transaction records → Application database: stores transactions
- Dispatch and crew → Application database: stores dispatch data
- Report records → Application database: stores reports
- Printer configuration → Application database: stores configuration