Inventory management in Rendón Burgers is handled directly from the kitchen dashboard, without a separate admin panel. Kitchen staff can mark any of the 26 menu items as available or out of stock in real time, and the customer-facing menu updates automatically to reflect those changes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/EduCabrera-k/Menu_Hamburguesas/llms.txt
Use this file to discover all available pages before exploring further.
Where to find inventory controls
Scroll to the bottom of/cocina to find the CONTROL DE INVENTARIO section. It appears below the order ticket grid, inside a dark panel with a red border.
Each menu item has its own toggle button displaying the item’s name and its current stock status.
Understanding the toggle buttons
HAY — item available
The button is styled in green (outline-success). The item is visible and orderable on the customer menu.
NO HAY — out of stock
The button is styled in red (btn-danger). The item is shown with 50% opacity, an “Agotado” badge, and the “Agregar” button is hidden so customers cannot add it to their order.
Toggling an item’s availability
Click any button in the inventory panel to flip that item’s stock state.Find the item in the panel
Scroll to the CONTROL DE INVENTARIO section at the bottom of
/cocina and locate the item you want to update.Click the toggle button
Clicking the button sends a
POST request to /toggle_disponibilidad with the item’s ID in the request body.Server inverts the state
The server looks up the item in the
inventario_stock collection and sets disponible to the opposite of its current value.toggle logic
If no record exists in
inventario_stock for a given item — for example, the first time it is ever toggled — the server defaults to False (out of stock) rather than True. The item will appear unavailable after the first click. A second click will set it back to available.How changes appear on the customer menu
When an item is marked unavailable:- The item card is shown at 50% opacity.
- An Agotado badge appears on the item.
- The Agregar button is hidden so the item cannot be added to a cart.
Best practices
Inventory state is stored in MongoDB Atlas in the
inventario_stock collection. Changes persist across server restarts — you do not need to re-toggle items each time the application restarts.