Backend de erp-retail - Workspace V2
- 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> |
||
|---|---|---|
| docs | ||
| src | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
erp-retail-backend-v2
Backend de erp-retail - Workspace V2