Commit Graph

138 Commits

Author SHA1 Message Date
94b6515a03 Entorno para test E2E 2026-09-10 14:04:03 +02:00
bf1dd43c78 feat(onboarding): implement initial onboarding use cases and controllers
- Add GetInitialOnboardingStatusUseCase to retrieve onboarding status.
- Implement CompleteInitialOnboardingUseCase for completing onboarding.
- Create controllers for handling onboarding requests in Express.
- Introduce new repository methods for managing onboarding data.
- Set up dependency injection for onboarding services and use cases.
- Add tests for onboarding use cases and repository methods.
- Define request DTOs for onboarding operations with validation.
- Update module composition to include onboarding functionalities.
2026-09-08 23:41:23 +02:00
2f23d75b6f feat(onboarding): add initial onboarding module with domain and persistence layers
- Created package.json for onboarding module with dependencies and scripts.
- Implemented InitialOnboarding aggregate with validation and state management.
- Added Sequelize model for initial onboarding with appropriate attributes and validations.
- Developed mappers for converting between domain and persistence models.
- Included tests for aggregate behavior and Sequelize model validation.
- Configured TypeScript settings for the onboarding module.
2026-09-07 13:46:40 +02:00
d92ab05f35 feat: refactor badge component and update related usages
- Replaced instances of Badge with RdxBadge in SupplierStatusBadge, DataTableFacetedFilter, MultiSelectField, and other components.
- Updated RdxEditorPageLayout to use width prop instead of complexity.
- Added new recurring proforma operational summary feature with tests.
- Introduced recurring proforma status entity and related UI helpers.
- Enhanced recurring proforma list and detail views with new components and hooks.
- Added tests for new functionality and components.
2026-09-03 18:50:57 +02:00
a746bb97ec Proformas recurrentes 2026-08-31 20:51:27 +02:00
e0ba5ef229 feat: add proforma duplicator service and related tests
- Implemented ProformaDuplicator service for duplicating proforma documents.
- Added tests for duplicating proformas, including scenarios for successful duplication, audit failure propagation, and payment term adaptations.
- Created ProformaStatusChanger service to handle status changes of proformas with corresponding tests.
- Developed ProformaArchiver service for unarchiving proformas and added tests to verify functionality.
- Introduced a test fixture for creating proforma instances for testing purposes.
2026-08-26 13:03:39 +02:00
7033d02a69 feat(audit): implement audit page state management and API integration
- Add utility functions for managing audit page state including parsing, serialization, and updates.
- Introduce audit period resolution logic to handle various time frames.
- Create API functions for finding and searching audit entries with appropriate DTOs and mappers.
- Implement hooks for fetching audit entries and lists, integrating with the data source.
- Add tests for utility functions, API calls, and mappers to ensure correctness.
- Establish shared entities and DTOs for consistent data handling across the module.
- Set up TypeScript configuration for the audit module.
2026-08-25 16:23:46 +02:00
c5cae1fbfd feat(audit): implement audit functionality with Sequelize integration and HTTP routes 2026-08-25 13:51:03 +02:00
2fba3b1108 feat: integrate audit functionality for supplier creation and updates
- Added @repo/rdx-audit as a dependency to the suppliers module.
- Implemented audit recording in SupplierCreator and SupplierUpdater services.
- Created supplier-audit module to handle audit actions and state transformations.
- Updated supplier aggregate to reflect changes in update method return type.
- Added integration tests for supplier audit functionality, ensuring correct audit records are created on supplier creation and updates.
- Refactored dependency injection to include audit service in supplier-related use cases.
2026-08-25 11:16:47 +02:00
e23a28cb8b feat(audit): integrate company audit functionality and related tests 2026-08-25 10:37:12 +02:00
0bcccd5e80 feat(audit): implement customer audit functionality and integrate with services 2026-08-25 09:42:16 +02:00
f1c0df685b feat(audit): integrate audit functionality for payment methods
- Added @repo/rdx-audit as a dependency in server and catalogs package.json.
- Enhanced payment method services (creator, updater, deleter, status changer, and default setter) to include audit logging.
- Implemented audit actions for create, update, enable, disable, delete, and default set/ unset operations.
- Created payment-method-audit.ts for managing audit actions and state projections.
- Developed integration tests for payment method audit logging in the HTTP context.
2026-08-25 00:28:23 +02:00
01d0ff67f8 Audit 2026-08-24 23:43:00 +02:00
a26caf333b . 2026-08-19 10:49:50 +02:00
01fba79e38 feat: update TypeScript configurations and add frontend testing documentation 2026-08-19 10:39:15 +02:00
64b90888c3 feat(identity): add Spanish localization for account management
- Introduced `es.json` for Spanish translations in account management.
- Created account routes and controllers for managing user accounts.
- Implemented hooks and API calls for fetching and updating account profiles.
- Developed forms and validation schemas for account profile and password management.
- Added error handling and feedback mechanisms for account actions.
- Built UI components for account settings page, including password change dialog.
- Integrated translations for new UI components and error messages.
2026-08-18 00:56: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
ef2ae58046 feat(home): implement home page with KPIs, recent activity, and attention items
- Added Spanish translations for home page components.
- Created API endpoints for fetching home-related data (customers, proformas, issued invoices).
- Developed hooks for managing home page data queries.
- Implemented home page layout with KPI cards, attention panels, monthly billing summary, and recent activity sections.
- Added error handling and loading states for improved user experience.
2026-08-13 11:04:57 +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
0be67ca6cd v0.10.3 2026-08-05 21:20:50 +02:00
1f5bd18665 . 2026-08-03 18:38:06 +02:00
fed29a71fd feat: add ProformaStatusSegmentedFilter component and integrate into list-proformas-page 2026-07-30 11:19:16 +02:00
5ed6556036 feat(document-series): implement document series management API
- Add UpdateDocumentSeriesController for updating document series.
- Create documentSeriesApiErrorMapper for error handling.
- Define document series routes including CRUD operations.
- Implement Sequelize-based persistence layer for document series.
- Add DTOs for request and response schemas for document series operations.
- Establish common structures for document series data handling.
- Configure TypeScript settings for the document series module.
2026-07-28 18:04:57 +02:00
0129c5963c . 2026-07-14 20:39:31 +02:00
3e5791afdb Login + selección de empresas 2026-07-06 12:57:33 +02:00
7a161717c2 Módulo Identity 2026-07-01 09:51:22 +02:00
1551d65f63 . 2026-06-25 13:49:59 +02:00
f6f57359d5 . 2026-06-15 20:27:11 +02:00
823e5cebe1 . 2026-06-01 20:48:12 +02:00
66783e1383 Formas de pago y vencimientos 2026-05-26 13:55:26 +02:00
cd4b8975c3 Métodos de pago 2026-05-20 19:53:23 +02:00
79e90ec00f Edición de detalles de factura 2026-04-29 17:02:08 +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
7555d3f1ff Peueños errores 2026-04-15 12:23:59 +02:00
71b4dc1d06 . 2026-04-15 11:30:55 +02:00
55a6b1fbaf Arreglos estilos 2026-04-12 19:26:51 +02:00
76dc9481a5 Actualización ShadCN/UI a Base UI: quitar @radix-ui 2026-04-12 12:18:50 +02:00
3430ae3cb9 Actualización de paquetes 2026-04-12 12:06:32 +02:00
6e97e91173 Parte cliente de Suppliers 2026-04-03 22:03:48 +02:00
fb71dbce34 Actualización de Axios 2026-04-03 21:17:29 +02:00
3ab5216e56 Customers 2026-04-03 18:15:25 +02:00
f38772182d . 2026-03-31 18:46:33 +02:00
51adb8d2b0 . 2026-03-30 20:59:27 +02:00
366f90d403 Suppliers 2026-03-30 13:57:42 +02:00
96ddb559b2 Supplier invoices (incompleto) 2026-03-30 11:36:56 +02:00
700445499b . 2026-03-19 19:10:52 +01:00
9f870bbd76 . 2026-03-18 17:38:40 +01:00
76e223a78a Migración Shadcn/ui 2026-03-17 10:24:39 +01:00
9a45e7ee9a Importación desde FactuGES 2026-03-16 18:45:45 +01:00