14 Commits

Author SHA1 Message Date
edgar.mendez
47cc7cdb8e feat(units): add permission checks for unit management actions in Units component 2026-03-21 20:49:01 -06:00
edgar.mendez
1189b7b02e feat(auth): enhance authentication service with error handling and session management
- Added methods to normalize permissions and roles from API responses.
- Implemented a centralized error handling method for authentication errors.
- Updated API endpoints for login, registration, and user profile management.
- Introduced session refresh functionality to retrieve user roles and permissions.

feat(catalog): improve companies and units management with permissions and filters

- Integrated permission checks for creating, updating, and deleting companies.
- Added user role and permission checks to the Companies component.
- Enhanced the Units component with search and status filters.
- Refactored unit creation and update logic to handle validation errors.

fix(catalog): update unit measure services and mapping logic

- Improved API service methods for fetching, creating, and updating units of measure.
- Added mapping functions to convert API responses to internal data structures.
- Enhanced error handling in unit measure services.

chore(auth): refactor authentication storage utilities

- Created utility functions for managing authentication tokens and user data in local storage.
- Updated API interceptor to use new storage utility functions for session management.

style: clean up code formatting and improve readability across components and services
2026-03-21 20:04:40 -06:00
edgar.mendez
93a2527e60 feat: update company management components and services
- Upgrade vue-tsc to version 3.2.6 in package.json.
- Refactor Companies.vue to replace address column with domains_count and update company service references.
- Modify CompaniesForm.vue to include new fields for email, primary domain, and certificate files, and adjust validation logic.
- Revamp companies.service.ts to implement new API endpoints for tenant management and improve error handling.
- Introduce companies.mapper.ts for payload transformation between form data and API requirements.
- Update companies.types.ts to reflect changes in data structure and types for better type safety.
2026-03-21 18:04:08 -06:00
ecc053c138 feat: add Companies management module with CRUD functionality and routing 2026-03-10 11:36:27 -06:00
0071b7f4dc feat: add commercial classifications management and integrate SAT code products in product form 2026-02-26 17:24:39 -06:00
7bd247f0c5 feat: implement units of measure management with CRUD operations and SAT unit integration 2026-02-25 17:39:44 -06:00
522235d441 Refactor supplier and unit of measure components and services
- Updated SupplierModal.vue to include new fields for supplier information and improved form validation.
- Enhanced Suppliers.vue to handle loading states and improved supplier data fetching logic.
- Removed old supplierServices and unitOfMeasureService files, replacing them with updated service files that align with new interfaces.
- Created new interfaces for suppliers and unit of measure to standardize data handling across the application.
- Adjusted the store files to reference the new service files and interfaces.
- Improved error handling and logging in service methods for better debugging.
2026-02-24 09:08:44 -06:00
df0b707064 CTL-51: feat(catalog): implement model document service and store
- Added model-document.services.ts for handling API interactions related to model documents.
- Created modelDocumentStore.ts using Pinia for state management of model documents, including actions for fetching, creating, updating, and deleting documents.
- Defined model document types in modelDocument.interface.ts for better type safety and clarity.
- Removed obsolete index.html file from warehouse components.
- Updated router to include a new route for model documents.
2026-02-16 14:34:18 -06:00
d1c203cd0e feat(warehouse): add inventory management features
- Implemented getWarehouseById method in warehouseService to fetch warehouse details by ID.
- Added new types for warehouse inventory management in warehouse.d.ts and warehouse.inventory.d.ts.
- Created WarehouseAddInventory.vue component for handling inventory entries with serial number management.
- Developed inventoryWarehouseServices for adding inventory through API.
- Updated router to include the new inventory management component.
- Added Docker configuration files for production deployment.
- Created Nginx configuration for serving the application.
- Added .dockerignore and .env.production for environment-specific settings.
2026-02-13 13:49:41 -06:00
71454dda61 feat(purchases): add purchase details, form, and listing components
- Implemented PurchaseDetails.vue for displaying detailed purchase information.
- Created PurchaseForm.vue for submitting new purchase requests with supplier and item management.
- Developed Purchases.vue for listing all purchase orders with actions for approval, rejection, and conversion.
- Added purchaseServices.ts for API interactions related to purchases.
- Defined types for purchase forms and purchases in respective TypeScript files.
- Integrated PrimeVue components for UI consistency and functionality.
2026-02-10 02:02:58 -06:00
4a624f490c feat: add supplier management module with CRUD operations and UI components 2026-02-04 15:15:45 -06:00
Edgar Mendez Mendoza
f98c2ba580 feat: Add is_active field and classifications management to product and commercial classification components 2025-11-10 17:11:11 -06:00
Edgar Mendez Mendoza
498a15efd4 feat: add commercial classification management with CRUD operations and routing 2025-11-08 11:23:17 -06:00
Edgar Mendez Mendoza
aeea112abd feat: add unit of measure management with CRUD operations and routing 2025-11-08 09:39:19 -06:00