Commit Graph

6 Commits

Author SHA1 Message Date
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
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
6b9d131c14 feat(audit): implement supplier status activation and deactivation functionality with audit logging 2026-08-25 12:07:18 +02:00
2fba3b1108 feat: integrate audit functionality for supplier creation and updates
- Added @repo/rdx-audit as a dependency to the suppliers module.
- Implemented audit recording in SupplierCreator and SupplierUpdater services.
- Created supplier-audit module to handle audit actions and state transformations.
- Updated supplier aggregate to reflect changes in update method return type.
- Added integration tests for supplier audit functionality, ensuring correct audit records are created on supplier creation and updates.
- Refactored dependency injection to include audit service in supplier-related use cases.
2026-08-25 11:16:47 +02:00
01d0ff67f8 Audit 2026-08-24 23:43:00 +02:00
34520a18ba Proveedores 2026-08-24 16:24:58 +02:00