How cardozoxr/ticketeo works
Ticketeo is a browser-based point-of-sale interface for opening a cashier session and assembling and charging product orders. The visible sales workflow presents catalog items, lets the cashier build and edit a cart, then offers payment choices and a sale-complete screen; the sampled payment flow is UI-only. Category and product data are queried from MySQL-backed PHP classes. Registration posts to an external API, while login validation is only a placeholder. Edges reflect explicit includes, calls, DOM behavior, or the shown fetch; unsampled wiring is omitted.
Main entry points: productos.php POS page · register.php Register screen · scriptRegister.js Registration logic · login.php Login screen
Components 14
Cashier sessions
- Register screen
register.php - Registration logic
scriptRegister.js - Login screen
login.php - PIN handling
scriptLogin.js
Product catalog
- Category queries
categorias_interfaz.php - Category data access
categorias_sp.php - Product queries
productos_interfaz.php - Product data access
productos_sp.php
Sales flow
- POS page
productos.php - Cart and order editor
scriptProductos.js - Checkout screens
scriptSistema.js
Other components
- Cashier
- Session API
- MySQL database
Connections 15
- Cashier → Register screen: starts session
register.php - Register screen → Registration logic: loads script
register.php - Registration logic → Session API: posts session
scriptRegister.js - Cashier → Login screen: enters PIN
login.php - Login screen → PIN handling: loads script
login.php - Cashier → POS page: uses POS
productos.php - POS page → Category queries: includes
productos.php - POS page → Product queries: includes
productos.php - Category queries → Category data access: queries categories
categorias_interfaz.php - Product queries → Product data access: queries products
productos_interfaz.php - Category data access → MySQL database: reads categories
categorias_sp.php - Product data access → MySQL database: reads products
productos_sp.php - POS page → Cart and order editor: loads script
productos.php - Cart and order editor → POS page: updates order UI
scriptProductos.js - Checkout screens → POS page: controls checkout UI