How nowshadhalimzai2/irfan-bahar-company works
This Laravel/Inertia application supports shop and factory operations: staff manage items and stock, record sales and receipts, process production and transfers, and review operational reports. The sampled sale handler demonstrates the sales-to-inventory path; the inventory helper updates balances and records movements. Other major capabilities are represented from the file tree and source index, but their internal call paths are not asserted where source was not sampled. No README was provided.
Main entry points: SaleController.php Sales · ReportService.php Operational Reports · InvMovement.php Stock Movement · Item.php Items And Units
Components 24
Shop Operations
- Sales
app/Http/Controllers/SaleController.php - Sale Screens
resources/js/pages/sale/create.tsx - Sale Records
app/Models/Sale.php - Invoices
app/Models/Invoice.php - Payments
app/Models/Payment.php - Items And Units
app/Models/Item.php - Locations
app/Models/Location.php - Stock Movement
app/Custome/InvMovement.php - Stock Balances
app/Models/InventoryBalance.php - Movement Records
app/Models/InventoryMovement.php - Goods Receipts
app/Http/Controllers/GoodsReceiptController.php - Transfers
app/Http/Controllers/TransferController.php - Sale Returns
app/Http/Controllers/SaleReturnController.php
Factory Operations
- Production Orders
app/Http/Controllers/ProductionOrderController.php - Production Processing
app/Services/ProductionOrderService.php - Factory Dashboard
app/Services/FactoryDashboardService.php
Dashboards And Reports
- Operational Reports
app/Services/ReportService.php - Report Exports
app/Exports/ReportExport.php - Shop Dashboard
app/Services/DashboardService.php
Application Platform
- Web Entry
public/index.php - Laravel Bootstrap
bootstrap/app.php - Users And Roles
app/Models/User.php - Activity Logging
app/Custome/Log.php
Other components
- Staff
Connections 19
- Staff → Web Entry: uses
- Web Entry → Laravel Bootstrap: starts
public/index.php - Sales → Sale Screens: renders
app/Http/Controllers/SaleController.php - Sales → Sale Records: records sales
app/Http/Controllers/SaleController.php - Sales → Items And Units: loads items
app/Http/Controllers/SaleController.php - Sales → Locations: loads locations
app/Http/Controllers/SaleController.php - Sales → Stock Movement: moves stock
app/Http/Controllers/SaleController.php - Sales → Invoices: creates invoices
app/Http/Controllers/SaleController.php - Sales → Users And Roles: alerts admins
app/Http/Controllers/SaleController.php - Stock Movement → Stock Balances: updates
app/Custome/InvMovement.php - Stock Movement → Movement Records: records movement
app/Custome/InvMovement.php - Goods Receipts → Stock Movement: moves stock
app/Http/Controllers/GoodsReceiptController.php - Production Orders → Production Processing: delegates to
- Operational Reports → Sale Records: queries
app/Services/ReportService.php - Operational Reports → Payments: queries
app/Services/ReportService.php - Operational Reports → Movement Records: queries
app/Services/ReportService.php - Operational Reports → Items And Units: queries
app/Services/ReportService.php - Report Exports → Items And Units: exports data
app/Exports/ReportExport.php - Sales → Activity Logging: logs activity
app/Http/Controllers/SaleController.php