- Deleted the index.html file from the RH components.
- Created new DepartmentForm.vue and Departments.vue components for managing departments.
- Updated the router to reflect the new path for Departments component.
- Added DepartmentsService for API interactions related to departments.
- Introduced types for departments in departments.interface.ts.
- Updated WarehouseAddInventory.vue to change background color classes.
- Configured TypeScript paths in tsconfig.app.json for easier imports.
- Enhanced Vite configuration to support aliasing for src directory.
- Added Requisitions.vue component for managing requisitions, including search, filter, and pagination functionalities.
- Created requisitionStore.ts for state management using Pinia, including actions for fetching, creating, updating, and canceling requisitions.
- Defined requisition interfaces in requisition.interfaces.ts to structure requisition data.
- Integrated PrimeVue components for UI elements such as DataTable, Dropdown, and Dialogs.
- Implemented cancelation logic with user confirmation and validation for cancelation reasons.
- 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.
- 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.