Commit Graph

43 Commits

Author SHA1 Message Date
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
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
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
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