|
|
d9778eb632
|
feat(invoices): Unify billing and commercial Invoice entities
- Create unified Invoice entity in invoices module with all fields:
- Commercial fields: salesOrderId, purchaseOrderId, partnerId
- SaaS fields: subscriptionId, periodStart, periodEnd
- Context discriminator: invoiceContext ('commercial' | 'saas')
- Mark billing-usage/invoice.entity.ts as deprecated, re-export from invoices
- Update billing-usage/services/invoices.service.ts for unified entity
- Add missing InvoiceStatus values (validated, cancelled, voided)
- Export types from both modules for backward compatibility
Note: financial/invoice.entity.ts remains separate (different schema)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-18 02:36:06 -06:00 |
|
|
|
ca07b4268d
|
feat: Add complete module structure for ERP backend
- Add modules: ai, audit, billing-usage, biometrics, branches, dashboard,
feature-flags, invoices, mcp, mobile, notifications, partners,
payment-terminals, products, profiles, purchases, reports, sales,
storage, warehouses, webhooks, whatsapp
- Add controllers, DTOs, entities, and services for each module
- Add shared services and utilities
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-16 00:40:54 -06:00 |
|