Commit Graph

9 Commits

Author SHA1 Message Date
cf07de4836 feat: add proforma customer change evaluation utility
- Implemented `evaluateProformaCustomerChange` function to assess changes in customer details for proforma invoices.
- Introduced types for customer change details, blockers, field differences, and fiscal targets.
- Added utility functions for normalizing text and formatting recipient information.

test: add unit tests for customer payment resolver

- Created tests for `CustomerPaymentResolver` to validate payment term retrieval and handling of inactive terms.
- Ensured proper behavior when clearing payment terms and handling non-existent terms.

test: add unit tests for customer default payment term resolver

- Developed tests for `CustomerDefaultPaymentTermResolver` to verify default payment term resolution logic.
- Included scenarios for creating customers with and without explicit payment term IDs.

feat: implement customer default payment term resolver

- Created `CustomerDefaultPaymentTermResolver` to manage default payment term resolution during customer creation.
- Integrated with company finder and payment resolver services.

test: add unit tests for create customer use case

- Implemented tests for `CreateCustomerUseCase` to ensure correct handling of payment term IDs during customer creation.
- Validated behavior when no explicit payment term ID is provided.

test: add unit tests for update customer use case

- Developed tests for `UpdateCustomerUseCase` to verify payment term handling during customer updates.
- Ensured that inactive payment terms are not assigned and that explicit null values are respected.

feat: add dependency injection for customer company services

- Implemented DI for customer company dependencies to facilitate service resolution.

test: add tests for customer create data utility

- Created tests for `buildCustomerCreateData` to validate payment term handling based on user input.
2026-08-17 11:25:34 +02:00
faf7b2251c Identity -> pantalla de login 2026-07-05 13:43:13 +02:00
66783e1383 Formas de pago y vencimientos 2026-05-26 13:55:26 +02:00
57ef20a69c Formateo 2025-11-16 20:06:11 +01:00
c260f64007 Facturas de cliente y clientes 2025-08-23 13:57:48 +02:00
7bf24c8f91 Facturas de cliente 2025-06-11 17:13:44 +02:00
484f0119a7 . 2025-06-11 15:13:21 +02:00
2c89ebb002 . 2025-05-28 16:21:09 +02:00
9d8a11a338 . 2025-05-17 21:12:01 +02:00