Commit Graph

228 Commits

Author SHA1 Message Date
0bcccd5e80 feat(audit): implement customer audit functionality and integrate with services 2026-08-25 09:42:16 +02:00
01d0ff67f8 Audit 2026-08-24 23:43:00 +02:00
080dcaaa61 feat: implement GetProformaIssuanceReadiness use case and associated controller
- Add GetProformaIssuanceReadinessUseCase to check proforma issuance readiness.
- Create GetProformaIssuanceReadinessController to handle requests and responses.
- Introduce request and response DTOs for proforma issuance readiness.
- Develop tests for the use case and controller to ensure functionality.
- Implement adapter and hooks for integrating issuance readiness in the web application.
- Create UI components for displaying issuance readiness alerts and help popover.
- Add utility functions for translating blocker messages and details.
2026-08-18 23:03:04 +02:00
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
97cafb3818 . 2026-08-11 09:59:09 +02:00
3182771455 . 2026-08-11 09:48:27 +02:00
b07eb454eb feat(customers): implement reusable quick create customer feature
- Refactor QuickCustomerCreateResult to extend CustomerSelectionOption for better integration.
- Update index exports to include new controller and UI components for quick customer creation.
- Enhance buildCreateCustomerParamsFromQuickForm utility to support additional context defaults.
- Create QuickCustomerCreateFormSchema for validation of quick create form fields.
- Develop QuickCreateCustomerDialog component for user interaction.
- Implement useQuickCreateCustomerFlow hook to manage dialog state and submission logic.
- Add tests for form schema validation and parameter building utilities.
- Document the quick create customer feature for public API usage.
2026-08-11 09:45:26 +02:00
c28a5e02c3 feat: add RdxContextPanel and related tests for context management
feat: implement RdxEditor components including layout, section, and sticky footer with tests

feat: introduce RdxFormGrid for form layout management

feat: create RdxPage components for structured page layout with actions and headers

feat: add RdxRowActions for handling row-level actions with dropdown support
2026-08-11 00:01:33 +02:00
d0779e2875 Revisar listado de clients 2026-08-06 13:50:06 +02:00
26e2ee59bd feat: add error handling and feedback state management for customer and proforma updates
- Implemented feedback state resolution for proforma list and update pages.
- Created error view models for proforma and customer updates, including handling for various error types.
- Added tests for error handling in proforma and customer list updates.
- Introduced utility functions for building error view models and resolving feedback states.
- Ensured translation support for error messages in Spanish.
- Removed duplicate error alert components in customer module.
2026-08-06 13:03:48 +02:00
2010eab897 feat: add proforma status counting functionality
- Implemented `countByStatusInCompany` method in `SequelizeProformaRepositoryV2` and `ProformaRepository` to count proformas by status.
- Introduced `ProformaStatusCounts` type and `EMPTY_PROFORMA_STATUS_COUNTS` constant for managing status counts.
- Updated the `ProformasGrid` and `IssuedInvoicesGrid` components to support searching and fetching states.
- Enhanced the UI to display status counts in the segmented filter for proformas.
- Refactored the proforma list and issued invoices page to include search input and status filters with loading states.
- Added new entities and adapters for handling proforma status counts in the application layer.
2026-07-30 14:26:04 +02:00
a810312f01 v0.9.1 2026-07-15 13:10:26 +02:00
0129c5963c . 2026-07-14 20:39:31 +02:00
78bb02f9b0 feat: Implement Sequelize mappers and repository for Proforma V2
- Added SequelizeProformaV2RecipientDomainMapper for mapping recipient data to domain model.
- Introduced SequelizeProformaV2TaxesDomainMapper for handling tax data mapping.
- Created SequelizeProformaV2RecipientSummaryMapper for summarizing recipient information.
- Developed SequelizeProformaV2SummaryMapper for mapping Proforma summary data.
- Implemented SequelizeProformaRepositoryV2 for managing Proforma data persistence.
- Added SequelizeProformaV2NumberGenerator for generating Proforma numbers.
2026-07-10 13:59:44 +02:00
3e5791afdb Login + selección de empresas 2026-07-06 12:57:33 +02:00
55b8bb8473 . 2026-07-04 13:28:28 +02:00
6310944a85 . 2026-07-03 09:37:12 +02:00
6187a77dd9 v.0.8.1 2026-07-02 17:48:39 +02:00
95fe0127a3 Poder hacer una proforma con un cliente sin TIN 2026-06-28 21:43:25 +02:00
329bc6c98c Crear un cliente 2026-06-28 20:04:46 +02:00
d5438e2f4e . 2026-06-26 12:28:52 +02:00
1551d65f63 . 2026-06-25 13:49:59 +02:00
f6f57359d5 . 2026-06-15 20:27:11 +02:00
6c11dd7027 v0.6.9 2026-06-15 17:16:07 +02:00
879927db45 Traducciones 2026-06-15 11:39:05 +02:00
8ecebc64bb . 2026-06-15 11:13:16 +02:00
7bd20c22df v0.6.8 2026-06-14 22:17:07 +02:00
66783e1383 Formas de pago y vencimientos 2026-05-26 13:55:26 +02:00
77fec8fc77 . 2026-05-22 10:01:15 +02:00
00627096ed Proformas: Ordenación y guardar preferencias 2026-05-19 17:23:10 +02:00
0fc0717822 .
Co-authored-by: Copilot <copilot@github.com>
2026-05-05 20:37:29 +02:00
fa913627e2 v0.6.5 2026-05-05 13:34:36 +02:00
6a19698adc . 2026-05-04 12:12:06 +02:00
6db80fbc07 .
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 23:20:16 +02:00
482dd5ef56 . 2026-04-29 23:03:57 +02:00
d216119a91 . 2026-04-29 21:48:56 +02:00
79e90ec00f Edición de detalles de factura 2026-04-29 17:02:08 +02:00
cfbc4e6657 Edición de proformas y más 2026-04-28 11:34:22 +02:00
c9ba2d0370 . 2026-04-24 20:53:05 +02:00
108bbea5fc . 2026-04-21 19:13:59 +02:00
330240deaa v0.6.0 - Subida a producción 2026-04-21 15:51:57 +02:00
b5f4c4cdfc . 2026-04-20 21:15:35 +02:00
53eb33376c Muchos cambios 2026-04-20 19:20:42 +02:00
7555d3f1ff Peueños errores 2026-04-15 12:23:59 +02:00
ff6905b845 Update de proformas 2026-04-13 13:05:00 +02:00
1167f5bc14 . 2026-04-12 21:58:11 +02:00
430ae8e5ea . 2026-04-12 21:20:31 +02:00
8a8282ddc3 . 2026-04-12 21:12:10 +02:00
5f9405d1a0 Cambios 2026-04-12 19:28:47 +02:00
909a576f08 Migración a Base UI: Quitar atributo asChild 2026-04-12 12:09:20 +02:00