Commit Graph

577 Commits

Author SHA1 Message Date
92b17ba307 refactor: eliminar mapeadores, repositorios y servicios heredados de proformas
* Se eliminaron `SequelizeProformaTaxesDomainMapper` y los archivos relacionados.
* Se eliminaron `SequelizeInvoiceRecipientSummaryMapper` y `SequelizeProformaSummaryMapper`.
* Se eliminó `ProformaRepository` y sus métodos asociados.
* Se limpiaron los servicios sin uso, incluido `SequelizeProformaNumberGenerator`.
* Se actualizaron las importaciones y exportaciones de los módulos relacionados para reflejar la eliminación del código heredado.
* Se ajustaron las plantillas para eliminar las referencias a `is_proforma`.
* Se modificó el DTO de la solicitud para excluir el campo `is_proforma`.
2026-08-04 12:09:19 +02:00
ee040b8335 Característica: Mejora de los modelos de facturas proforma y emitidas con atributos de serie de documentos
- Se han añadido `document_series_id`, `invoice_series_code` e `invoice_reference` a los modelos y instantáneas de facturas emitidas.
- Se han introducido `proforma_series_code` y `proforma_number`, y se han actualizado las referencias en los modelos y instantáneas de las facturas proforma.
- Se han actualizado los esquemas de la base de datos y los scripts SQL para dar cabida a los nuevos campos y garantizar la integridad de los datos.
- Se ha elaborado la documentación correspondiente a las nuevas series de documentos «contrato de instantánea» y «contrato de serie de facturas emitidas».
- Se han implementado scripts SQL de rellenado para completar los registros existentes con los nuevos campos.
2026-08-04 11:05:02 +02:00
1f5bd18665 . 2026-08-03 18:38:06 +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
1506a78582 feat: add proforma detail page and related components
- Exported detail components in proformas index.
- Enhanced proforma grid with view action.
- Implemented navigation to proforma detail page.
- Created proforma detail controller for data fetching and actions.
- Developed proforma detail page with various inspector cards for displaying information.
- Added reusable ProformaPageHeader component for consistent header layout.
- Introduced FieldValueList component for displaying key-value pairs.
- Implemented PDFViewer component for previewing proforma PDFs.
2026-07-30 21:04:26 +02:00
451a1013d0 feat: add verifactu status management and enhance issued invoices UI components 2026-07-30 19:20:00 +02:00
19452c3187 . 2026-07-30 19:04:52 +02:00
c0ed1ca92c feat: enhance proforma status management and UI components
- Added new StatusBadge and StatusOptionCard components for better status representation.
- Integrated status selection and change functionality in ChangeProformaStatusDialog.
- Improved ProformasGrid to support metadata and selection actions.
- Implemented bulk actions for proforma selection, including status change and deletion.
- Updated DataTable components to support custom selection actions.
- Enhanced ProformaStatusBadge to include specific styles for each status.
2026-07-30 17:36:29 +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
c46769e71e Duplicado de proforma 2026-07-30 12:45:33 +02:00
fed29a71fd feat: add ProformaStatusSegmentedFilter component and integrate into list-proformas-page 2026-07-30 11:19:16 +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
69bfbbb615 . 2026-07-29 11:50:31 +02:00
647528b128 . 2026-07-29 11:32:25 +02:00
eeb285f8b2 Configuración fiscal para proformas 2026-07-29 11:00:37 +02:00
659df116a2 . 2026-07-29 10:16:34 +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
65015c8c4f Refactor VerifactuRecordModel associations and update proforma reference field name 2026-07-16 12:31:44 +02:00
e7a6fb0242 Enhance proforma creation and update processes by verifying saved data integrity 2026-07-15 18:53:09 +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
a43dbe4952 . 2026-07-15 14:13:13 +02:00
a810312f01 v0.9.1 2026-07-15 13:10:26 +02:00
0129c5963c . 2026-07-14 20:39:31 +02:00
47dffacf03 . 2026-07-10 14:01:01 +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
1c0235de75 feat: Enhance proforma issuance with tax regime support
- Added tax regime to ProformaIssueReadModel and related services.
- Implemented tax regime resolution in ProformaToIssuedInvoiceConverter.
- Updated IssuedInvoiceFullSnapshotBuilder to include tax regime details.
- Enhanced ProformaIssueReadModelAssembler to handle tax regime fetching.
- Introduced IssueProformaResponseSnapshotBuilder for response mapping.
- Updated routes and controllers to accommodate new proforma issuance logic.
- Refactored request and response DTOs to include tax regime information.
- Added command structure for issuing proformas.
2026-07-09 13:07:48 +02:00
9d7e18d73d Descarga de proformas en PDF 2026-07-08 19:53:56 +02:00
00c647fe20 Add cell alignment and styling adjustments to actions column in proformas grid 2026-07-08 19:33:18 +02:00
4d1735e3d5 Mostrar "invoiceNumber" como campo de solo lectura 2026-07-08 19:27:43 +02:00
69040d289e Cambiar de posición la columna "Serie" 2026-07-08 19:25:33 +02:00
32888fa7a4 Al crear una proforma, devolver la proforma recuperandola completa del repositorio. 2026-07-08 19:22:44 +02:00
b286edd5c0 Hacer obligatorio el campo "Serie" 2026-07-08 19:22:13 +02:00
a464f9b14e . 2026-07-08 11:58:58 +02:00
05f4b1337b feat(series-de-facturas): implementar la funcionalidad de gestión de series de facturas
- Se han añadido las dependencias de las series de facturas y los servicios internos.
- Se han creado un buscador de series de facturas y generadores de instantáneas para mostrar una lista de series de facturas.
- Se ha implementado un caso de uso para mostrar una lista de series de facturas activas por empresa.
- Se ha desarrollado la gestión de errores de la API para los errores relacionados con las series de facturas.
- Se han introducido nuevas clases de error para gestionar la validación de las series de facturas y los problemas de concurrencia.
- Se han añadido rutas y controladores de Express para la gestión de series de facturas.
- Se han definido DTO de respuesta para mostrar una lista de series de facturas.
- Se han actualizado los DTO comunes para incluir esquemas relacionados con las series de facturas.
2026-07-07 22:52:14 +02:00
db4fa55cc0 Series en proformas / issued invoices 2026-07-07 22:21:50 +02:00
588e9dd733 Proformas preview 2026-07-07 15:29:30 +02:00
cc14cdacf1 Docs 2026-07-06 17:47:05 +02:00
0b07382919 Selector de empresas 2026-07-06 17:33:45 +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
494c675483 Identity (backend) 2026-07-05 11:44:10 +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
7a161717c2 Módulo Identity 2026-07-01 09:51:22 +02:00
cc90f64cb4 Limpieza 2026-06-29 12:47:03 +02:00
4ebbb3b5c4 v0.7.6 2026-06-29 12:05:46 +02:00
3c5fd7c57a Crear una proforma 2026-06-29 11:13:10 +02:00
95fe0127a3 Poder hacer una proforma con un cliente sin TIN 2026-06-28 21:43:25 +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
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
b52ca83496 . 2026-06-14 21:40:57 +02:00
789fd4ec3e . 2026-06-14 21:15:57 +02:00
e5fbad0915 . 2026-06-14 21:04:24 +02:00
3a0262cbf7 . 2026-06-14 14:11:17 +02:00
5bc9920538 . 2026-06-13 14:58:09 +02:00
dc6382dd41 . 2026-06-05 16:49:35 +02:00
cea1ab2766 Catálogo de régimen de IVA 2026-06-04 18:37:58 +02:00
6e83958e30 Editor de proformas 2026-06-04 11:09:24 +02:00
834d90f60c Confirmar cambios al refrescar el navegador 2026-06-03 15:50:57 +02:00
66623cbe78 Pantalla update fullscreen 2026-06-02 18:40:23 +02:00
823e5cebe1 . 2026-06-01 20:48:12 +02:00
0e193ee9ce . 2026-05-28 12:55:50 +02:00
66783e1383 Formas de pago y vencimientos 2026-05-26 13:55:26 +02:00
475ab9fec3 . 2026-05-22 21:20:47 +02:00
f23ee948f4 . 2026-05-22 20:24:59 +02:00
567c9d9730 Catalogos 2026-05-22 20:24:50 +02:00
2a1d49d1c4 Métodos de pago 2026-05-22 10:06:47 +02:00
d2a314edc0 Métodos de pago 2026-05-22 10:06:24 +02:00
77fec8fc77 . 2026-05-22 10:01:15 +02:00
911fdbb1c3 . 2026-05-21 12:55:44 +02:00
0a465de2a8 Reorganización 2026-05-21 12:52:54 +02:00
32dbd7d31f Formas de pago 2026-05-21 11:37:50 +02:00
cd4b8975c3 Métodos de pago 2026-05-20 19:53:23 +02:00
996cf4ceb4 . 2026-05-20 19:02:31 +02:00
00627096ed Proformas: Ordenación y guardar preferencias 2026-05-19 17:23:10 +02:00
b4d82b7b39 v0.6.7 2026-05-18 18:39:33 +02:00
6e53e5bd58 Guardar preferencias y returnTo en grid de listados
Co-authored-by: Copilot <copilot@github.com>
2026-05-14 19:36:25 +02:00
09905fc2d3 Bug en Criteria 2026-05-13 16:58:12 +02:00
4f331ceb14 v0.6.6
Co-authored-by: Copilot <copilot@github.com>
2026-05-13 13:16:09 +02:00