How wrath-dev-il/w68 works
This is a Laravel business-operations application with purchasing, inventory, sales, accounting, reporting, customer records, and Shopee integrations. Users work through role-specific web interfaces; controllers and services handle operational requests, update records and ledgers, and provide reports or synchronization results. The empty README offers no product overview, so capabilities are inferred from the file tree and sampled source. Several major subsystems are represented by tree paths or source-index references rather than inspected implementation; uncertain connections are omitted.
Main entry points: Product.php Product catalog · DeveloperInventoryControlController.php Inventory controls · ProductLedgerObserver.php Ledger observer · PurchaseNoteController.php Purchase notes
Components 21
Purchasing Operations
- Purchase notes
app/Http/Controllers/PurchaseNoteController.php - Viber purchasing
app/Http/Controllers/PurchaseViberController.php - Purchase records
app/Models/PurchaseNote.php - Note status rules
app/Services/PurchaseNoteStatusService.php
Inventory and Sales
- Inventory controls
app/Http/Controllers/DeveloperInventoryControlController.php - Product catalog
app/Models/Product.php - Product ledger
app/Models/ProductLedger.php - Stock synchronization
app/Services/ProductStockSyncService.php - Ledger observer
app/Observers/ProductLedgerObserver.php - Sales workflows
resources/views/Admin/sales/sales-order.blade.php
Accounting and Reporting
- Unserved reports
app/Http/Controllers/Special/UnservedReportController.php - Payable vouchers
app/Http/Controllers/PayableChequeVoucherController.php
Customer and Integrations
- Customer statements
app/Services/CustomerAutoSoaService.php - Customer records
app/Models/Customer.php - Shopee price sync
app/Services/ShopeePriceSyncService.php - Shopee service
app/Services/ShopeeService.php - Price webhook job
app/Jobs/ShopeePriceWebhookSyncJob.php - Inventory sync job
app/Jobs/SyncShopeeProductInventory.php - AI assistance
app/Services/GeminiService.php
Other components
- Business user
- Gemini API
Connections 20
- Business user → Purchase notes: manages purchasing
- Purchase notes → Purchase records: reads and updates
app/Http/Controllers/PurchaseNoteController.php - Purchase notes → Note status rules: uses status rules
app/Http/Controllers/PurchaseNoteController.php - Viber purchasing → Product catalog: searches products
app/Http/Controllers/PurchaseViberController.php - Viber purchasing → Purchase records: reads purchase notes
app/Http/Controllers/PurchaseViberController.php - Inventory controls → Product catalog: reads product data
app/Http/Controllers/DeveloperInventoryControlController.php - Inventory controls → Stock synchronization: invokes sync
app/Http/Controllers/DeveloperInventoryControlController.php - Inventory controls → Product ledger: updates ledger
app/Http/Controllers/DeveloperInventoryControlController.php - Product catalog → Product ledger: relates ledger entries
app/Models/Product.php - Ledger observer → Product ledger: observes changes
app/Observers/ProductLedgerObserver.php - Ledger observer → Stock synchronization: invokes sync
app/Observers/ProductLedgerObserver.php - Ledger observer → Inventory sync job: dispatches job
app/Observers/ProductLedgerObserver.php - Business user → Sales workflows: records sales
- Business user → Unserved reports: requests report
- Business user → Payable vouchers: manages payables
- Customer statements → Customer records: reads customer data
app/Services/CustomerAutoSoaService.php - Price webhook job → Shopee price sync: runs sync
app/Jobs/ShopeePriceWebhookSyncJob.php - Shopee price sync → Shopee service: uses service
app/Services/ShopeePriceSyncService.php - Shopee price sync → Product catalog: reads products
app/Services/ShopeePriceSyncService.php - AI assistance → Gemini API: sends generation request
app/Services/GeminiService.php