Commit Graph

60 Commits

Author SHA1 Message Date
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
85d2f11bde refactor: reorganizar importaciones y eliminar componentes obsoletos en las páginas de proformas y facturas 2026-09-04 11:53: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
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
38eaa10cb4 Error al duplicar las proformas 2026-08-26 13:19:15 +02:00
71b79cc4b1 feat(audit): integrate audit functionality for payment terms management 2026-08-25 00:47:29 +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
0eed8453cc feat: update package versions to 0.10.5 across all modules 2026-08-21 16:18:20 +02:00
f1f329fa0d Refactor payment methods: Remove system_key and related logic
- Removed `system_key` from payment method model and related files.
- Updated payment method repository and services to eliminate references to `system_key`.
- Deleted the BootstrapSystemPaymentMethodsService and its use case, as they are no longer needed.
- Adjusted tests to reflect the removal of system payment methods and their associated logic.
- Added SQL script to drop the `system_key` column and its unique index from the database.
2026-08-20 19:37:39 +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
a4f82decc6 feat(companies): implement update current company use case and associated controllers
- Add UpdateCurrentCompanyUseCase to handle company updates.
- Create update-current-company.controller.ts to manage update requests.
- Implement validation and mapping for update requests using Zod.
- Add tests for the update use case and controller to ensure functionality.
- Introduce error handling and feedback state management for company details settings.
- Create utility functions for error normalization and feedback state resolution.
- Implement tests for error handling and feedback state utilities.
- Ensure nullable fields are handled correctly in DTOs and forms.
2026-08-17 15:49:11 +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
eba766e7eb feat(payment-terms): add payment terms management components and utilities
- Implemented PaymentTermRowActions component for editing, toggling, and deleting payment terms.
- Created PaymentTermSegmentedBar for visual representation of payment term segments.
- Added PaymentTermsEmptyState and PaymentTermsNoResultsState for handling empty and no results scenarios.
- Developed PaymentTermsSettingsSkeleton for loading state representation.
- Introduced utility functions for building payment term forms and parameters.
- Added criteria building functions for payment terms list filtering.
- Implemented error handling view model for payment terms settings page.
- Created tests for payment terms list criteria and due rules utilities.
- Added shell script to check development environment setup.
2026-08-16 17:12:07 +02:00
97174e580d feat(payment-terms): enforce percentage validation and enhance deletion logic
- Added validation to ensure payment term percentage is greater than 0 and does not exceed 100.
- Introduced `PaymentTermUsageChecker` to check for references before deletion.
- Updated `PaymentTerm` aggregate to track if due rules were updated.
- Enhanced repository methods to handle due rules correctly during updates and deletions.
- Added tests for payment term services and aggregate to ensure correct behavior.
- Implemented unique constraint on due days in the database model.
2026-08-16 00:36:31 +02:00
7f305c930e feat(tax-regimes): implement tax regime management features
- Add entities for tax regime forms and error view models.
- Create schemas for tax regime forms using Zod for validation.
- Implement UI components for creating, deleting, and managing tax regimes.
- Develop hooks for CRUD operations on tax regimes, including create, update, delete, and enable/disable functionalities.
- Add error handling and loading states for better user experience.
- Create utility functions for building form data and handling API responses.
- Implement skeleton and empty state components for improved UI feedback.
2026-08-14 10:51:36 +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
5dfbdd2a1c feat(payment-methods): add payment method management functionality
- Implemented `usePaymentMethodUpdateMutation` for updating payment methods with validation.
- Created settings controllers and hooks for managing payment methods.
- Added UI components for creating, editing, deleting, and displaying payment methods.
- Introduced error handling and feedback mechanisms for payment method operations.
- Developed form schemas and utility functions for handling payment method data.
- Established a new settings page for managing payment methods with appropriate loading and error states.
2026-08-13 01:04:56 +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
1db1339bff v0.10.0 2026-08-03 10:57: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
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
3e5791afdb Login + selección de empresas 2026-07-06 12:57:33 +02:00
55b8bb8473 . 2026-07-04 13:28:28 +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
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
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