How ibnnuus/woodcraft-erp works
WoodCraft ERP is a web ERP for a wooden-toy manufacturer. The principal workflow links purchasing materials, manufacturing finished goods, and sales fulfillment; HR and dashboard reporting are supporting capabilities. Sampled controllers establish the detailed transitions shown, while the README documents delivery, atomic stock protection and PDF reporting beyond the sampled implementation. Other unsampled feature wiring is not inferred.
Main entry points: web.php Web routes · ManufacturingOrderController.php Manufacturing orders · QuotationController.php Quotations · SalesOrderController.php Sales orders
Components 22
Sales
- Quotations
app/Http/Controllers/Sales/QuotationController.php - Sales orders
app/Http/Controllers/Sales/SalesOrderController.php - Sales records
app/Models/PesananPenjualan.php - Delivery records
app/Models/Pengiriman.php
Manufacturing
- Products
app/Models/Produk.php - Bill of materials
app/Models/Bom.php - Raw materials
app/Models/BahanBaku.php - Manufacturing orders
app/Http/Controllers/Manufacture/ManufacturingOrderController.php - Production history
app/Models/RiwayatProduksi.php
Purchasing
- Vendor management
app/Http/Controllers/Purchase/VendorController.php - RFQ drafts
app/Http/Controllers/Purchase/RfqController.php - Purchase orders
app/Http/Controllers/Purchase/PurchaseOrderController.php - Goods receipts
app/Models/PenerimaanBarang.php
Operations
- Dashboard reports
app/Http/Controllers/DashboardController.php - HR management
app/Http/Controllers/HumanResource/EmployeeController.php - Employee records
app/Models/Karyawan.php - Authentication
app/Http/Controllers/AuthController.php - User accounts
app/Models/User.php - PDF rendering
app/Http/Controllers/Manufacture/ManufacturingOrderController.php
Other components
- ERP user
- Web routes
routes/web.php - Dompdf
Connections 31
- ERP user → Web routes: submits requests
- Web routes → Quotations: dispatches
- Web routes → Sales orders: dispatches
- Web routes → Manufacturing orders: dispatches
- Web routes → RFQ drafts: dispatches
- Web routes → Purchase orders: dispatches
- Web routes → HR management: dispatches
- Web routes → Dashboard reports: dispatches
- Web routes → Authentication: dispatches
- Quotations → Sales records: creates orders
- Quotations → Products: checks stock
- Quotations → Manufacturing orders: redirects shortage
- Quotations → Sales orders: converts quotation
- Sales orders → Sales records: creates and updates
- Sales orders → Products: checks and deducts stock
- Sales orders → Delivery records: creates shipment
- Manufacturing orders → Bill of materials: loads recipe
- Manufacturing orders → Raw materials: checks and locks stock
- Manufacturing orders → Products: adds finished stock
- RFQ drafts → Vendor management: lists vendors
- RFQ drafts → Raw materials: lists materials
- RFQ drafts → Purchase orders: converts draft
- Purchase orders → Goods receipts: records receipt
- Purchase orders → Raw materials: increments stock
- Dashboard reports → Sales records: aggregates sales
- Dashboard reports → Products: reports top sellers
- HR management → Employee records: manages records
- Authentication → User accounts: authenticates
- Manufacturing orders → PDF rendering: renders MO
- Purchase orders → Dompdf: renders PO PDF
- PDF rendering → Dompdf: streams PDF