E R P System V.1.1 - Copy this React, Tailwind Component to your project
Please add the following functionality to the Alertas menu without altering or deleting any existing functionality. Only implement the requested changes: Requested Functionality: 1. In the Alertas menu, display Alertas Principales based on data from other menus, with the following types of alerts: - Productos con bajo stock: List products with less than 40 units in stock. - Productos inactivos: List products that have not been sold in more than 15 days. 2. For each alert, add the following Opciones de Resolución as buttons next to the product: - Mover a Inactivos: Moves the product to the "Productos Inactivos" section. - Eliminar Producto: Removes the product from the inventory. Example Alert Format: - Producto: Nombre del Producto - Categoría: Categoría del Producto - Stock: Unidades disponibles - Última Venta: Fecha de última venta - Opciones de Resolución: - Button: Mover a Inactivos - Button: Eliminar Producto ### Additional Notes: - Ensure that the "Mover a Inactivos" button dynamically moves the product to the "Productos Inactivos" section in the application. - Ensure that the "Eliminar Producto" button dynamically removes the product from the inventory. - The new functionality must seamlessly integrate with the existing system without affecting any current features or menus.
