Commit Graph

257 Commits

Author SHA1 Message Date
da362fef64 feat(e2e): implement end-to-end testing framework with database preparation and lifecycle management
- Add E2ESchemaDatabaseConfig interface for database configuration validation.
- Implement assertE2ESchemaDatabaseConfig function to enforce schema requirements.
- Create prepareE2ESchema function to handle schema preparation and initialization.
- Develop E2E lifecycle management functions to provision, prepare, and run tests.
- Introduce Docker Compose setup for E2E database environment.
- Add Playwright configuration for E2E testing.
- Implement various test cases to validate E2E schema preparation and lifecycle.
- Create utility functions for environment variable management and database assertions.
- Establish smoke tests to verify initial data setup and integrity.
2026-09-22 16:49:08 +02:00
1218acb19d actualizar versión a 0.10.10 en todos los módulos y archivos de configuración 2026-09-21 19:12:44 +02:00
fc8c7fea99 feat(proformas): agregar contexto de generación de documentos y actualizar fábricas y servicios relacionados 2026-09-21 16:58:06 +02:00
947639c6e6 actualizar versión a 0.10.9 en todos los módulos y archivos de configuración 2026-09-21 13:11:28 +02:00
9c7dfc8645 feat(tax-definitions): enhance tax definitions settings with new filters and pagination
- Updated Spanish localization for tax definitions, adding new fields and improving structure.
- Enhanced the tax definitions settings page controller to support family and scope filters, pagination, and sorting.
- Introduced a new data table component for displaying tax definitions with improved UI and functionality.
- Added new actions for tax definitions, including create, edit, and delete functionalities.
- Updated criteria building for tax definitions to include family and scope filters, along with pagination and sorting options.
- Improved tests for tax definitions to cover new features and ensure proper functionality.
- Refactored recurring proforma controllers to utilize new query field guards for better validation.
2026-09-12 14:27:54 +02:00
d57b71c200 refactor: standardize import statements and formatting across components
- Updated import statements in `textarea.tsx`, `toggle.tsx`, and `tooltip.tsx` for consistency.
- Added missing semicolons and adjusted formatting in `use-mobile.ts` and `use-mobile.tsx`.
- Cleaned up `package.json` and `root.json` files by removing unnecessary line breaks.
- Simplified `turbo.json` by consolidating array formatting for better readability.
2026-09-10 13:26:33 +02:00
3d8f110cb7 feat: enhance proforma tax handling and validation
- Added iva_name, rec_name, and retention_name to the SequelizeIssuedInvoiceV2TaxesDomainMapper for improved tax metadata handling.
- Implemented validation to ensure tax codes and names are present together in the SequelizeIssuedInvoiceV2TaxesDomainMapper.
- Updated proforma services to utilize the new tax resolver and availability checker for better tax management.
- Introduced ProformaTaxesUnavailableError and ProformaNotReadyForIssuanceError for clearer error handling in proforma issuance.
- Enhanced tax availability checking logic in ProformaTaxAvailabilityChecker to classify tax statuses accurately.
- Updated tests to cover new tax metadata requirements and ensure consistent behavior across proforma items.
2026-09-09 23:49:26 +02:00
b2a9836436 Refactor controllers to remove redundant guards and improve code clarity
- Removed authentication and company context guards from multiple controllers in the customer, proforma, document series, and supplier modules.
- Consolidated guard registration logic in routes to enforce company ID restrictions globally.
- Cleaned up imports and ensured consistent error handling across controllers.
2026-09-09 00:43:34 +02:00
38fb6299b7 refactor: ajustar importaciones y tipos en varios archivos para mejorar la claridad y la consistencia 2026-09-07 18:55:11 +02:00
021c19fc40 feat: agregar soporte para descripciones en métodos de pago y mejorar la interfaz de usuario 2026-09-04 20:35:28 +02:00
685472b3ef refactor: mejorar la navegación de configuración y agregar iconos a las entradas de menú 2026-09-04 19:35:20 +02:00
2f8122ca77 refactor: replace PageFormHeader with RdxEditorHeader in customer and supplier pages
- Updated CustomerViewHeader to use RdxEditorHeader for a more consistent header layout.
- Refactored CustomerViewPage to utilize RdxPageFrame and RdxPageContainer for improved structure.
- Replaced PageFormHeader with RdxEditorHeader in AccountPage for uniformity.
- Adjusted SupplierCreatePage and SupplierUpdatePage to use RdxPageFrame and RdxPageContainer for layout consistency.
- Removed SupplierLayout component as it was no longer necessary.
- Enhanced SupplierDetailPage to utilize RdxPageFrame for better layout management.
- Introduced RdxEditorHeader component to encapsulate header functionality for editor pages.
- Updated tests to cover new RdxEditorHeader functionality and removed obsolete tests related to RdxPageHeader.
2026-09-04 13:30:22 +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
9137791b6c v0.10.8 2026-09-01 18:12:49 +02:00
a746bb97ec Proformas recurrentes 2026-08-31 20:51:27 +02:00
23c77adc80 feat: actualizar versión a 0.10.7 en todos los módulos y cambiar identificador de fuente a 'factuges-erp' 2026-08-26 14:38:44 +02:00
01d0ff67f8 Audit 2026-08-24 23:43:00 +02:00
0eed8453cc feat: update package versions to 0.10.5 across all modules 2026-08-21 16:18:20 +02:00
de204fbcc9 v0.10.4 2026-08-20 12:12:12 +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
45200284ed feat(verifactu): add company Verifactu profile management features
- Implemented API for updating company Verifactu profile.
- Created entities for company Verifactu profile and defaults.
- Developed hooks for querying and updating the company Verifactu profile.
- Added UI components for displaying and editing company Verifactu settings.
- Introduced validation and error handling for profile updates.
- Created utility functions for building form data and handling feedback states.
- Added tests for utility functions and error handling.
2026-08-12 13:31:31 +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
0be67ca6cd v0.10.3 2026-08-05 21:20:50 +02:00
ddf68c32c1 v0.10.2 2026-08-03 17:42:23 +02:00
10a5c25fc1 v0.10.1 2026-08-03 15:43:08 +02:00
84bb21e527 Refactor FactuGES Proforma Integration: Update Data Mapping and Add Documentation 2026-08-03 14:26:51 +02:00
7d61dd7598 . 2026-08-03 13:37:36 +02:00
1db1339bff v0.10.0 2026-08-03 10:57:09 +02:00
f0b100995a Refactor Proforma Detail Page: Modularize Components and Improve Structure
- Simplified the ProformaDetailPage by extracting various components into separate files for better maintainability and readability.
- Introduced ProformaDetailHeaderActions for managing header actions.
- Created ProformaDetailPreviewCard for displaying the PDF viewer.
- Added ProformaDetailSidebar to encapsulate billing and date information.
- Implemented ProformaDetailSummaryCard to summarize billing, dates, and notes.
- Enhanced ProformaDetailInspectorCard for consistent card layout across different sections.
- Updated formatting functions for date and money to improve code reuse.
- Removed redundant code and improved overall structure for better clarity.
2026-08-01 18:59:22 +02:00
67ef358866 . 2026-07-30 14:49:10 +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
a264f43b95 feat: enhance proforma listing and archiving functionality
- Updated proforma listing behavior to utilize `Criteria filters[]` for managing archived and active proformas.
- Removed `archived` query parameter from backend; frontend now manages `archiveView` state.
- Implemented new filters for `archived_at` and `status` in the proforma listing API.
- Adjusted proforma creation and deletion contracts to reflect changes in archiving logic.
- Introduced new utility functions for building proforma listing criteria based on UI state.
- Updated frontend components to support new filtering options and maintain state in the URL.
- Added SQL index for improved performance on proforma queries.
- Created new TypeScript types for managing proforma list filters and criteria.
2026-07-29 22:24:53 +02:00
cb7a60e593 v0.9.4 2026-07-15 18:52:45 +02:00
ff8de3bfe7 v0.9.3 2026-07-15 18:09:41 +02:00
d31325fb4d v0.9.2 2026-07-15 17:10:03 +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
86bf1870ef . 2026-07-06 13:55:06 +02:00
3e5791afdb Login + selección de empresas 2026-07-06 12:57:33 +02:00
faf7b2251c Identity -> pantalla de login 2026-07-05 13:43:13 +02:00
6187a77dd9 v.0.8.1 2026-07-02 17:48:39 +02:00
7a161717c2 Módulo Identity 2026-07-01 09:51:22 +02:00
4ebbb3b5c4 v0.7.6 2026-06-29 12:05:46 +02:00
4bbecb223f v0.7.5 2026-06-28 21:18:45 +02:00
329bc6c98c Crear un cliente 2026-06-28 20:04:46 +02:00
1551d65f63 . 2026-06-25 13:49:59 +02:00
6c11dd7027 v0.6.9 2026-06-15 17:16:07 +02:00
879927db45 Traducciones 2026-06-15 11:39:05 +02:00