Commit Graph

58 Commits

Author SHA1 Message Date
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
3d49fca2d2 Agregar mensaje de operación en progreso en el archivo de traducción 2026-09-02 12:14:11 +02:00
727543f14f Completar columnas en listado de proformas recurrentes 2026-09-02 12:04:33 +02:00
00777b3ba2 feat: add create recurring proforma dialog and related functionality
- Implemented CreateRecurringProformaFromProformaDialog component for creating recurring proformas from existing proformas.
- Added unit tests for the new dialog and its integration within the proforma detail page.
- Created API functions for handling the creation of recurring proformas.
- Developed hooks to manage the creation process and invalidate relevant queries upon success.
- Enhanced recurring proforma detail page to display relevant information and actions.
- Added utility functions for formatting recurring proforma schedules.
- Introduced layout components for better organization of recurring proforma UI.
2026-09-01 11:36:20 +02:00
a746bb97ec Proformas recurrentes 2026-08-31 20:51:27 +02:00
538c081d58 Repaso de Verifactu 2026-08-20 10:12:09 +02:00
9c1f98df0c feat: enhance issued invoice detail sections with new components and data structures
- Updated GetIssuedInvoiceByIdResult to include verifactu as nullable.
- Introduced new fiscal classification and verifactu policy interfaces in issued-invoice.entity.ts.
- Added new UI components for displaying issued invoice details, including sections for document, fiscal, items, payment, recipient, summary, taxes, totals, and verifactu.
- Implemented skeleton loading state for issued invoice detail page.
- Created tests for issued invoice detail page to ensure proper rendering and error handling.
- Updated pnpm workspace configuration to disallow builds for specific packages.
2026-08-19 12:04:31 +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
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
a0bd39c2a5 feat: add issued invoice detail page and related functionality
- Implemented IssuedInvoiceDetailPage component with loading and error states.
- Created utility functions for building issued invoice detail actions and view models.
- Added API adapter for fetching issued invoice details by ID.
- Developed hooks for managing issued invoice queries.
- Introduced new entities and types for issued invoices, including items, taxes, and recipient details.
- Added tests for view models and API adapters to ensure correctness.
- Organized code structure by creating separate files for components, utilities, and hooks.
2026-08-11 17:25:17 +02:00
ec1dd1099f Mejorar el diálogo de cambio de estado de proformas 2026-08-06 14:03:28 +02:00
a7543497b0 Nombres de las columnas para mostrar/ocultar 2026-08-06 13:39:20 +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
9cade597d7 feat: add proforma detail components and utilities
- Introduced ProformaDetailContent, ProformaDetailHeader, ProformaDetailInspector, ProformaDocumentPane, ProformaGeneralPanel components for displaying detailed proforma information.
- Created various sections including ProformaCommercialSection, ProformaContentSection, ProformaCustomerSection, ProformaDatesSection, ProformaFiscalSection, ProformaLinkedInvoiceSection, and ProformaSummarySection to organize proforma details.
- Implemented utility functions to build proforma detail actions and view models, enhancing the management of proforma states and actions.
- Added translations and improved accessibility features across components.
2026-08-05 13:17:55 +02:00
10a5c25fc1 v0.10.1 2026-08-03 15:43:08 +02:00
c46769e71e Duplicado de proforma 2026-07-30 12:45:33 +02:00
1bf85a05ff feat: implement proforma deletion and listing enhancements
- Added endpoint for retrieving deleted proformas with logical deletion.
- Updated proforma listing to support active, archived, and deleted scopes.
- Refactored repository and service layers to accommodate new proforma list scope.
- Enhanced UI to display separate views for active, archived, and deleted proformas.
- Updated localization files to reflect changes in proforma management.
- Improved query handling to filter proformas based on their status and scope.
2026-07-29 22:40:38 +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
1e0aadbfc6 Implement archive and unarchive functionality for proformas, including UI dialogs and logic for handling draft proformas. 2026-07-29 18:23:57 +02:00
eb8cbd97f2 Archivado de proformas 2026-07-29 14:40:59 +02:00
718e8b13d9 Borrado de proformas draft 2026-07-29 12:43:54 +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
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
00627096ed Proformas: Ordenación y guardar preferencias 2026-05-19 17:23:10 +02:00
2eab047e90 PROFORMAS UDPATE 2026-04-10 10:05:45 +02:00
cd0940cb20 PROFORMAS CAMBIO DE ESTADO 2026-04-05 22:30:01 +02:00
b2dee4ae8b PROFORMAS ISSUE 2026-04-05 22:17:11 +02:00
132408ac23 . 2026-03-23 12:13:33 +01:00
220cc4c3a4 Facturas de cliente 2025-11-24 14:05:10 +01:00
1e7f1863b0 Facturas de cliente 2025-11-22 18:24:35 +01:00
323860b5b8 Facturas de cliente 2025-11-22 17:09:37 +01:00
169de55b0a Facturas de cliente 2025-11-21 19:42:17 +01:00
4c4afe2b3a Verifactu 2025-11-17 19:12:52 +01:00
89e22de2bd Facturas de cliente 2025-11-17 18:20:18 +01:00
99f8b5fb8e Facturas de cliente 2025-11-16 22:11:46 +01:00
f19ab6022b Proformas 2025-11-16 20:30:11 +01:00
99c161cb31 . 2025-11-13 12:49:36 +01:00
54e23899c4 Facturas de cliente - Arreglado recálculo de líneas y cabecera 2025-11-11 12:22:20 +01:00
c69a7cd142 Clientes y Facturas de cliente 2025-10-20 12:26:29 +02:00
94be2d066f Facturas de cliente 2025-10-19 00:31:30 +02:00
8b3008f6d8 Facturas de cliente 2025-10-18 21:57:52 +02:00
d539e5b5f1 Facturas de cliente 2025-10-16 13:18:55 +02:00
acada25dfd Facturas de cliente 2025-10-14 19:57:02 +02:00
606601026a Facturas de cliente 2025-10-14 15:46:57 +02:00
78cc422d9a Facturas de cliente 2025-10-12 12:43:06 +02:00
50dd4103b2 Facturas de cliente y Veri*Factu 2025-10-08 18:41:42 +02:00
04edf3df68 Facturas de cliente 2025-10-08 15:11:26 +02:00
f35b7b098a Facturas de cliente 2025-10-07 10:17:35 +02:00