How khipusys/petmor-sistema-veterinaria-spa works
Petmor is an ASP.NET Core veterinary and spa management application. Its broad workflow covers client and pet records, appointment and clinical care, inventory and product-code tracking, sales and billing, purchasing, cash management, and reporting. The sampled code shows sales operations coordinating inventory, reservations, and care charges, while Factiliza provides document lookup and electronic receipt support. Several major capabilities are represented by controller paths in the tree but were not sampled, so their internal connections are left unasserted.
Main entry points: ApplicationDbContext.cs Application data · OperacionVentaService.cs Sale operations · PetmorController.cs Pet care · VentasController.cs Sales
Components 23
Web workflows
- Client records
Controllers/ClientesController.cs - Dashboard
Controllers/HomeController.cs - Reports
Controllers/ReportesController.cs
Veterinary care
- Pet care
Controllers/PetmorController.cs - Care service
Services/AtencionService.cs - Pet records
Models/Veterinaria.cs
Commerce operations
- Sales
Controllers/VentasController.cs - Sale operations
Services/OperacionVentaService.cs - Receipt emission
Services/EmisionVentaService.cs - Product catalog
Controllers/ProductosController.cs - Product-code lookup
Services/CodigosLecturas.cs - Reservations
Services/ReservaService.cs - Purchases
Controllers/ComprasController.cs - Cash management
Controllers/CajaController.cs - Inventory movements
Models/MovimientoInventario.cs - Sale records
Models/Venta.cs
Shared platform
- Application data
Data/ApplicationDbContext.cs - Active branch
Services/SedeActual.cs - Branch middleware
Infrastructure/SedeMiddleware.cs - Identity login
Areas/Identity/Pages/Account/Login.cshtml.cs - Document and billing integration
Services/FactilizaService.cs
Other components
- Staff user
- Factiliza API
Connections 32
- Staff user → Dashboard: uses
README.md - Staff user → Client records: manages
README.md - Staff user → Pet care: records care
README.md - Staff user → Sales: records sales
README.md - Staff user → Purchases: manages stock
README.md - Staff user → Cash management: manages cash
README.md - Staff user → Reports: views reports
README.md - Client records → Application data: reads and writes
Controllers/ClientesController.cs - Dashboard → Application data: reads
Controllers/HomeController.cs - Pet care → Application data: reads and writes
Controllers/PetmorController.cs - Pet care → Care service: delegates care
Controllers/PetmorController.cs - Pet care → Sale operations: delegates checkout
Controllers/PetmorController.cs - Care service → Application data: reads and writes
Services/AtencionService.cs - Sales → Application data: reads and writes
Controllers/VentasController.cs - Sales → Sale operations: delegates sale
Controllers/VentasController.cs - Sales → Receipt emission: requests receipt
Controllers/VentasController.cs - Sale operations → Application data: commits operations
Services/OperacionVentaService.cs - Sale operations → Product-code lookup: counts scans
Services/OperacionVentaService.cs - Sale operations → Inventory movements: records movement
Services/OperacionVentaService.cs - Sale operations → Sale records: creates sale
Services/OperacionVentaService.cs - Sale operations → Reservations: uses reservations
- Product catalog → Application data: reads and writes
Controllers/ProductosController.cs - Product catalog → Product-code lookup: associates codes
Controllers/ProductosController.cs - Product-code lookup → Application data: resolves codes
Services/CodigosLecturas.cs - Care service → Pet records: manages care records
Services/AtencionService.cs - Receipt emission → Application data: stores emission state
Services/EmisionVentaService.cs - Receipt emission → Document and billing integration: requests billing
Services/EmisionVentaService.cs - Document and billing integration → Factiliza API: calls API
Services/FactilizaService.cs - Branch middleware → Active branch: sets active branch
Infrastructure/SedeMiddleware.cs - Branch middleware → Application data: reads branch data
Infrastructure/SedeMiddleware.cs - Application data → Active branch: uses branch context
Data/ApplicationDbContext.cs - Identity login → Application data: authenticates