Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Body:
This update brings significant improvements to the service assignment feature in the application, aimed at providing a clearer separation between active and inactive service assignments. By splitting service assignments into active and inactive lists, users can now navigate and manage these lists with greater efficiency. This change is implemented across the middleware, routes, and the UI layer for a consistent experience.
Additionally, new functionalities for activating, deactivating, and deleting service assignments have been introduced, allowing for more dynamic management of these entities. The UI has been updated to accommodate these changes, with enhanced tables and a new modal for creating service assignments, improving overall usability.
In the UI, adjustments to the Tailwind CSS classes enhance the visual distinction between active and inactive assignments and refine the layout for better readability and interaction.
This comprehensive update streamlines the process of managing service assignments, making it more intuitive and efficient for users.
This change is