Backend de erp-retail - Workspace V2
Go to file
Adrian Flores Cortes 113a83c6ca [ERP-RETAIL] feat(purchases): Complete module integrations - email and inventory
- Add email sending stub in supplier-order.service.ts with validation and logging
- Add emailError field to SupplierOrder entity for tracking failed attempts
- Implement purchase suggestion generation algorithm that:
  - Queries branch_stock for products below reorder point
  - Calculates average daily sales from POS order history
  - Determines suggested quantities based on max stock or sales forecast
  - Creates suggestions with priority levels (critical, high, medium, low)
- Enriches suggestions with product codes from product_barcodes table

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:13:26 -06:00
docs Migración desde erp-retail/backend - Estándar multi-repo v2 2026-01-16 08:11:34 -06:00
src [ERP-RETAIL] feat(purchases): Complete module integrations - email and inventory 2026-01-30 18:13:26 -06:00
.gitignore chore: Add .gitignore for clean repository 2026-01-20 07:31:56 -06:00
package.json Migración desde erp-retail/backend - Estándar multi-repo v2 2026-01-16 08:11:34 -06:00
README.md Initial commit 2026-01-16 14:04:58 +00:00
tsconfig.json Migración desde erp-retail/backend - Estándar multi-repo v2 2026-01-16 08:11:34 -06:00

erp-retail-backend-v2

Backend de erp-retail - Workspace V2