How sheilpian/inventory works
This is a PHP spare-parts inventory and warehouse management application. Users enter through the login page, then navigate the dashboard, master-data maintenance, inventory views and adjustments, transaction entry, and reports. Inventory includes stock by warehouse/location, 3D rack placement, thresholds, stock cards/history, and physical stock opname. The sampled pages query MySQL directly through a shared connection; navigation and page templates are shared components. Many page-to-database details are unsampled, so edges between those subsystems and storage are shown as unverified rather than asserted.
Main entry points: koneksi.php MySQL connection · current_stock.php Stock views and alerts · dashboard.php Dashboard · sidebar.php Sidebar navigation
Components 23
Access and shell
- Login
index.php - Dashboard
dashboard/dashboard.php - Sidebar navigation
components/sidebar.php - Page shell
components/header.php - Theme and sidebar behavior
components/footer.php - MySQL connection
koneksi.php - Table interactions
components/table_engine.js
Master data
- Master records
master_data - Parts catalog
master_data/master-barang/master_barang.php - Warehouse and locations
master_data/location-rack-bin/location.php - Min-max stock
master_data/min-max_stock/min_max.php
Inventory operations
- Stock views and alerts
inventory/current_stock/current_stock.php - Stock by warehouse
inventory/stock_by_werehouse/stock_by_werehouse.php - Location and 3D racks
inventory/stock_by_location/stock_by_location.php - Stock card and history
inventory/stock_card/stock_card.php - Stock adjustment
inventory/adjustment/adjustment.php - Physical stock opname
inventory/stock_opname/stock_opname.php
Stock transactions
- Incoming goods
transaksi/incoming/page.php - Outgoing goods
transaksi/outgoing/page.php - Transaction entry
transaksi.php
Reporting
- Inventory reports
report - Report navigation
components/report_tabs.php
Other components
- Warehouse user
Connections 26
- Warehouse user → Login: signs in
index.php - Warehouse user → Sidebar navigation: selects pages
- Login → MySQL connection: authenticates via
index.php - Dashboard → MySQL connection: queries metrics
dashboard/dashboard.php - Dashboard → Sidebar navigation: includes
dashboard/dashboard.php - Dashboard → Page shell: includes
dashboard/dashboard.php - Dashboard → Theme and sidebar behavior: includes
dashboard/dashboard.php - Sidebar navigation → Page shell: styles with
- Master records → MySQL connection: uses
master_data/master-barang/master_barang.php - Stock views and alerts → MySQL connection: queries stock
inventory/current_stock/current_stock.php - Stock views and alerts → Sidebar navigation: includes
inventory/current_stock/current_stock.php - Stock views and alerts → Page shell: includes
inventory/current_stock/current_stock.php - Stock views and alerts → Theme and sidebar behavior: includes
inventory/current_stock/current_stock.php - Stock views and alerts → Min-max stock: uses thresholds
- Stock by warehouse → MySQL connection: queries stock
inventory/stock_by_werehouse/stock_by_werehouse.php - Location and 3D racks → MySQL connection: reads and updates
inventory/stock_by_location/stock_by_location.php - Stock card and history → MySQL connection: queries history
inventory/stock_card/stock_card.php - Stock adjustment → MySQL connection: updates stock
inventory/adjustment/adjustment.php - Physical stock opname → MySQL connection: records counts
inventory/stock_opname/stock_opname.php - Transaction entry → Incoming goods: routes to
- Transaction entry → Outgoing goods: routes to
- Incoming goods → MySQL connection: records receipts
- Outgoing goods → MySQL connection: records issues
- Inventory reports → MySQL connection: queries reports
report/Incomming_report/incomming_report.php - Inventory reports → Report navigation: uses navigation
report/Incomming_report/incomming_report.php - Table interactions → Stock views and alerts: supports tables