How oobitoe/pos works
Point of Sales is a Laravel, Inertia, and React retail operations application. Its principal workflow is cashier checkout: manage a cart, apply pricing and tax rules, take payment, and record the transaction; related capabilities include inventory, purchasing, finance, CRM, reporting, and administration. The graph preserves these major README-described domains. Source excerpts are limited, so only documented or indexed relationships are drawn; several domain nodes represent unsampled controller and model subsystems by their exact directories.
Main entry points: PaymentGatewayManager.php Payment Routing · Transaction.php Sales Records · TransactionController.php Sales Transactions · CrmAutomationService.php CRM Campaigns
Components 20
Checkout and Sales
- POS Interface
resources/js/Components/POS/index.jsx - POS API
app/Http/Controllers/Api/PosApiController.php - Sales Transactions
app/Http/Controllers/Apps/TransactionController.php - Pricing Rules
app/Services/PricingService.php - Sales Records
app/Models/Transaction.php
Inventory and Purchasing
- Inventory Control
app/Http/Controllers/Apps - Products and Stock
app/Models/Product.php - Purchasing
app/Http/Controllers/Apps
Finance and Payments
- Receivables and Payables
app/Http/Controllers/Apps - Payment Routing
app/Services/Payments/PaymentGatewayManager.php - Midtrans Gateway
app/Services/Payments/MidtransGateway.php - Xendit Gateway
app/Services/Payments/XenditGateway.php - Payment Webhooks
app/Http/Controllers/Api/PaymentWebhookController.php
CRM and Loyalty
- CRM Campaigns
app/Services/CrmAutomationService.php - Loyalty and Vouchers
app/Services/LoyaltyService.php - Customer Records
app/Models/Customer.php - WhatsApp Gateway
whatsapp-service/server.js
Reporting and Administration
- Reports and Documents
app/Http/Controllers/Reports - Access and Audit
app/Http/Controllers
Other components
- Cashier
Connections 14
- Cashier → POS Interface: uses
- POS Interface → POS API: mobile API flow
- POS API → Sales Records: records sales
app/Http/Controllers/Api/PosApiController.php - Sales Transactions → Pricing Rules: applies promotions
app/Http/Controllers/Apps/TransactionController.php - Sales Transactions → Payment Routing: initiates gateway payment
app/Http/Controllers/Apps/TransactionController.php - Payment Routing → Midtrans Gateway: dispatches
app/Services/Payments/PaymentGatewayManager.php - Payment Routing → Xendit Gateway: dispatches
app/Services/Payments/PaymentGatewayManager.php - Payment Webhooks → Sales Records: updates payment
- Inventory Control → Products and Stock: manages stock
app/Http/Controllers/Apps/TransactionController.php - Purchasing → Products and Stock: receives goods
app/Http/Controllers/Apps/TransactionController.php - CRM Campaigns → Customer Records: segments customers
app/Services/CrmAutomationService.php - CRM Campaigns → WhatsApp Gateway: sends messages
- Loyalty and Vouchers → Customer Records: tracks rewards
app/Services/LoyaltyService.php - Reports and Documents → Sales Records: analyzes sales
app/Http/Controllers/Reports/AdvancedSalesInsightsController.php