How martinezaus/trace works
This is a PHP production-tracking application for glass/aluminum work: its modules cover orders, documents and plans, operator sessions, cutting/assembly processes, pauses and events, plus reporting and administration. A typical user-facing workflow is represented by these domain stages, though the supplied excerpts do not establish all runtime handoffs between them. The internal layer separates HTTP endpoints from service and calculation code. Evidence is limited to the supplied source index and excerpts; relationships without direct support are omitted.
Main entry points: documentos.php Documents and PDFs · reportes_service.php Reports · corte_pdf_service.php PDF cutting tasks · productividad_costos.php Productivity costs
Components 20
Production workflow
- Orders
src/api/ordenes.php - Documents and PDFs
src/api/documentos.php - Plan import
src/include/parse_pdf.php - Glass plan parsing
src/include/parse_pdfvidrio.php - Order details
src/api/detalles.php - Production processes
src/include/proceso_service.php - PDF cutting tasks
src/include/corte_pdf_service.php
Operations and access
- Operator sessions
src/api/sesiones.php - Pauses and events
src/api/eventos.php - Administration
src/admin.php
Reporting and metrics
- Reports
src/include/reportes_service.php - Productivity metrics
src/include/productividad.php - Productivity costs
src/include/productividad_costos.php
Shared foundation
- Application database
src/api/rb-mysql.php - Authentication
src/include/auth.php - Application configuration
src/include/config.php - Shared functions
src/include/functions.php - Cutting access checks
src/include/corte_auth.php - Process date handling
src/include/procesos_fecha.php
Other components
- Staff user
Connections 12
- Documents and PDFs → Authentication: includes
src/api/documentos.php - Documents and PDFs → Application configuration: includes
src/api/documentos.php - Documents and PDFs → Application database: loads
src/api/documentos.php - Documents and PDFs → Shared functions: uses
src/api/documentos.php - Documents and PDFs → Plan import: loads
src/api/documentos.php - Documents and PDFs → Glass plan parsing: loads
src/api/documentos.php - Documents and PDFs → Cutting access checks: loads
src/api/documentos.php - Documents and PDFs → PDF cutting tasks: loads
src/api/documentos.php - PDF cutting tasks → Process date handling: uses
src/include/corte_pdf_service.php - Reports → Productivity metrics: includes
src/include/reportes_service.php - Reports → Productivity costs: includes
src/include/reportes_service.php - Productivity costs → Productivity metrics: includes
src/include/productividad_costos.php