Backend de michangarrito - Workspace V2
Go to file
rckrdmrd b3eaebb54c [MCH-BE] feat: Add export endpoints for PDF/Excel reports
Implement export functionality for four report types:
- Sales: Daily/period sales with totals and items
- Inventory: Current stock with value calculations
- Fiados: Customer credit accounts and balances
- Movements: Inventory entries/exits with references

Features:
- PDF exports using pdfkit with formatted tables and summaries
- Excel exports using exceljs with styling and formulas
- Filter support: date ranges, status, category, etc.
- Proper content-type headers for file downloads
- JWT authentication on all endpoints

Endpoints:
GET /api/v1/exports/sales/:format
GET /api/v1/exports/inventory/:format
GET /api/v1/exports/fiados/:format
GET /api/v1/exports/movements/:format

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 02:30:11 -06:00
src [MCH-BE] feat: Add export endpoints for PDF/Excel reports 2026-01-20 02:30:11 -06:00
.dockerignore Migración desde michangarrito/backend - Estándar multi-repo v2 2026-01-16 08:12:07 -06:00
.env Sincronización completa desde michangarrito/apps/backend 2026-01-16 08:26:30 -06:00
.gitignore chore: Add .gitignore for build artifacts and dependencies 2026-01-18 05:35:11 -06:00
Dockerfile Migración desde michangarrito/backend - Estándar multi-repo v2 2026-01-16 08:12:07 -06:00
nest-cli.json Migración desde michangarrito/backend - Estándar multi-repo v2 2026-01-16 08:12:07 -06:00
package-lock.json [MCH-BE] feat: Add export endpoints for PDF/Excel reports 2026-01-20 02:30:11 -06:00
package.json [MCH-BE] feat: Add export endpoints for PDF/Excel reports 2026-01-20 02:30:11 -06:00
tsconfig.json Migración desde michangarrito/backend - Estándar multi-repo v2 2026-01-16 08:12:07 -06:00