Commit Graph

794 Commits

Author SHA1 Message Date
f79e3d520a feat: actualizar prefijo de query para listado de clientes y agregar pruebas de sincronización de caché 2026-09-10 17:34:42 +02:00
322df28591 feat(e2e): agregar pruebas E2E para la creación y actualización de clientes, y mejorar la navegación 2026-09-10 17:32:09 +02:00
04babcc14b FRX de Sual de factura 2026-09-10 17:26:10 +02:00
0d408b3607 . 2026-09-10 17:25:44 +02:00
8bc0852bea . 2026-09-10 17:25:36 +02:00
d8333b28cf . 2026-09-10 17:21:36 +02:00
99a3f70226 feat(e2e): agregar convenciones y pruebas E2E para el módulo de identidad 2026-09-10 17:15:53 +02:00
94b6515a03 Entorno para test E2E 2026-09-10 14:04:03 +02:00
42b197c16d feat(sql): agregar script para completar nombres de snapshots fiscales en proforma_items 2026-09-10 13:38:20 +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
7a278cb247 . 2026-09-10 13:21:54 +02:00
0a2e7795f1 feat: Refactor tax handling in proforma and recurring proforma modules
- Introduced ProformaItemTax value object to encapsulate tax properties (code, name, percentage).
- Updated ProformaTaxResolver to utilize ProformaItemTax instead of Tax.
- Modified recurring proforma materializer to handle new tax structure.
- Adjusted proforma aggregate and item entities to accommodate ProformaItemTax.
- Enhanced Sequelize mappers to map to and from the new ProformaItemTax structure.
- Updated tests to reflect changes in tax handling and ensure correctness.
2026-09-10 13:21:49 +02:00
e94b1dd7bd Refactor code structure for improved readability and maintainability 2026-09-10 13:06:47 +02:00
77851f5dba feat(docs): actualizar documentación de configuración fiscal de Proforma y agregar notas sobre obsolescencia 2026-09-10 11:49:52 +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
396feb4fa4 feat(report): add IVA, rec, and retention fields to proforma report item snapshot 2026-09-09 14:37:39 +02:00
4bb5f8dd82 feat(report): update proforma report snapshots to include additional fields and improve data handling 2026-09-09 13:01:57 +02:00
dd6d33366e feat(onboarding): implement initial onboarding process and validation
- Add tests for initial company input validation.
- Create hooks for managing initial onboarding status and provisioning.
- Implement orchestration for completing onboarding and restoring session.
- Develop UI for the initial onboarding page with form handling.
- Enhance routing to include onboarding navigation resolution.
- Introduce error handling for unprovisioned onboarding scenarios.
- Establish API endpoints for onboarding status and completion.
- Validate onboarding request payloads with appropriate schemas.
- Update onboarding module composition to include provisioning services.
2026-09-09 11:19:41 +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
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
dac22372b9 feat(docs): archive legacy DTO design and naming guidelines, introduce HTTP request flow, module boundaries, and testing guidelines
- Archived historical documents for DTO design and naming conventions.
- Added normative documentation for HTTP request flow and module boundaries.
- Introduced testing guidelines for backend layers.
- Updated onboarding module documentation and clarified onboarding requirements.
- Deprecated backend prompt base and prompt auth documents.
- Adjusted paths in testing documentation for consistency.
2026-09-08 23:40:49 +02:00
0cbb6fc175 feat: Add initial company creator and onboarding repository
- Implemented InitialCompanyCreator service for creating new companies with necessary details and validations.
- Added IInitialOnboardingRepository interface for onboarding data persistence.
- Created SequelizeInitialOnboardingRepository for managing onboarding data with Sequelize ORM.
- Enhanced InitialOnboarding aggregate to include createdAt and updatedAt timestamps.
- Updated tests for initial company creation and onboarding provisioning to ensure proper functionality and error handling.
- Introduced new tests for the Sequelize repository to validate data retrieval and persistence logic.
2026-09-07 18:55:41 +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
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
1065311deb refactor: eliminar tipos genéricos innecesarios en IAggregateRootRepository y métodos de clase 2026-09-07 13:39:30 +02:00
a4398e163f refactor: update country references to use CountryCode in supplier and company modules
- Changed references from Country to CountryCode in supplier input mappers, audit services, and snapshot builders.
- Updated tests to reflect the changes in country handling.
- Refactored postal address to utilize CountryCode instead of Country.
- Added new company address mappers and tests to accommodate the updated structure.
- Ensured all related schemas and DTOs are aligned with the new country code implementation.
2026-09-07 12:22:04 +02:00
275fc0aca8 feat: agregar manejo de porcentaje de impuesto por defecto al duplicar y agregar elementos en el controlador de proformas 2026-09-07 11:12:32 +02:00
394d3465e3 feat: añadir documento de diseño para la evolución de Company con dirección empresarial 2026-09-05 20:30:37 +02:00
12c496e93a feat: mejorar la interfaz de usuario en la configuración de términos de pago y optimizar acciones de fila 2026-09-05 11:57:12 +02:00
81da489ca8 feat: mejorar la interfaz de usuario en las secciones de configuración de verifactu y detalles de la empresa 2026-09-05 11:52:53 +02:00
bbca943c87 feat: refactor acciones de fila y estado vacío en la configuración de regímenes fiscales 2026-09-05 11:43:48 +02:00
66f24468ab feat: actualizar patrones de UI para uso uniforme de RdxRowActions en listados 2026-09-05 11:28:13 +02:00
3bf08fccec feat: implementar acciones de fila para proformas y refactorizar la lógica de acciones en columnas 2026-09-05 11:22:43 +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
5ad446be00 feat: restructure frontend documentation and introduce new architectural guidelines
- Removed outdated documents on screen design and editor layout audit.
- Added comprehensive documentation on frontend architecture, UI patterns, and UI system.
- Established clear guidelines for component usage, routing, and layout structures.
- Enhanced accessibility and responsiveness standards across UI components.
- Defined testing protocols and anti-patterns to maintain code quality and consistency.
2026-09-04 18:52:45 +02:00
3aa3f4018b refactor: reemplazar RdxEditorPageLayout con RdxPageContainer y RdxEditorLayout en múltiples componentes 2026-09-04 13:48:16 +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
85d2f11bde refactor: reorganizar importaciones y eliminar componentes obsoletos en las páginas de proformas y facturas 2026-09-04 11:53:59 +02:00
3eb7c37a7b Refactor proforma-related components and layouts
- Simplified the AppFullscreenLayout documentation.
- Removed ProformaLayout and refactored routes to use Outlet directly.
- Updated ProformaCreateCustomerField styles for better visibility.
- Adjusted ProformaCreateHeader to hide keyboard shortcuts button on small screens.
- Replaced FormSectionCard and FormSectionGrid with RdxPanel and RdxFormGrid in ProformaCreateInitialInfoCard.
- Refactored ProformaCreatePage to use RdxPageFrame for better layout control.
- Enhanced ProformaDetailContent and ProformaDetailPage for improved responsiveness.
- Updated ScopedListProformasPageView to use RdxPageFrame for consistent layout.
- Added new RdxEditorLayout and RdxPageFrame components for better structure in editor pages.
- Adjusted tests to accommodate new layout components and ensure proper rendering.
2026-09-04 11:41:37 +02:00
3d2ce8b981 feat: add page layouts documentation and visual system design for Rdx UI components
- Introduced `page-layouts.md` to outline approved page patterns for progressive adoption.
- Created `visual-system-design.md` to consolidate visual, architectural, and adoption decisions for a uniform UI/UX system in the ERP frontend.
- Added `RdxEditorActionBar` component for managing action bars in editor screens.
- Implemented `RdxPanel` component for grouping related content with optional headers and actions.
2026-09-04 11:07:59 +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
e670ff4b33 Agregar acciones y metadatos a la página de detalle de proformas recurrentes, incluyendo pruebas y utilidades de formato de fecha 2026-09-02 13:05:05 +02:00
5775378ca6 Agregar columna de acciones en el listado de proformas recurrentes y mejorar la gestión de acciones 2026-09-02 12:25:08 +02:00
3d49fca2d2 Agregar mensaje de operación en progreso en el archivo de traducción 2026-09-02 12:14:11 +02:00
85a9f7d295 . 2026-09-02 12:13:04 +02:00
727543f14f Completar columnas en listado de proformas recurrentes 2026-09-02 12:04:33 +02:00
f6002d7367 . 2026-09-01 19:29:03 +02:00
1b45a4ec75 . 2026-09-01 19:27:59 +02:00
1780e9fef4 . 2026-09-01 19:27:59 +02:00