How rulas54/sistemaposalasc works
Sistema Abarrotes Campanas is a small PHP grocery-store application for product management, sales, and reference lists. The documented user workflow is to use the browser interface to manage products or charge one or more products; product listing and database-backed customer and supplier views are visible in the sampled source. Product addition and barcode lookup are separate PHP endpoints. The README documents charging and product edit/delete, but their implementation and wiring are not shown in the excerpts, so those relationships remain unverified.
Main entry points: conectar.php DB connection · productos.php Product listing · index.html Product charges · clientes.php Customer list
Components 9
Product management
- Product listing
productos.php - Add product
php/agregar_producto.php - Barcode lookup
php/buscar_producto.php - Product charges
index.html
Store data
- DB connection
php/conectar.php - Store database
Reference lists
- Customer list
clientes.php - Supplier list
proveedores.php
Other components
- Store user
Connections 17
- Store user → Product listing: views
README.md - Product listing → Store database: queries products
productos.php - Product listing → DB connection: includes
productos.php - Store user → Add product: adds products
README.md - Add product → Store database: inserts products
php/agregar_producto.php - Store user → Barcode lookup: looks up barcode
- Barcode lookup → Store database: queries products
php/buscar_producto.php - Store user → Product charges: charges items
README.md - Product charges → Barcode lookup: looks up items
- Product charges → Store database: records charges
- Store user → Customer list: views
clientes.php - Customer list → DB connection: includes
clientes.php - Customer list → Store database: queries clients
clientes.php - Store user → Supplier list: views
proveedores.php - Supplier list → DB connection: includes
proveedores.php - Supplier list → Store database: queries contacts
proveedores.php - DB connection → Store database: connects
php/conectar.php