{% extends 'base.html' %} {% block title %}HRMS - Inventory Management{% endblock %} {% block styles %} {% endblock %} {% block content %}

Inventory Management

{% if available_restaurants|length > 0 %} {% if available_restaurants|length > 1 %}
{% if current_restaurant %}{{ current_restaurant.name }}{% else %}Select Restaurant{% endif %}
{% if current_restaurant %}
{{ current_restaurant.address }}, {{ current_restaurant.city }} | {{ current_restaurant.phone }}
{% endif %}
{% elif current_restaurant %}
{{ current_restaurant.name }}
{{ current_restaurant.address }}, {{ current_restaurant.city }} | {{ current_restaurant.phone }}
{% endif %}
{{ inventory|selectattr('status', 'equalto', 'sufficient')|list|length }}
Sufficient
{{ inventory|selectattr('status', 'equalto', 'low')|list|length }}
Low Stock
{{ inventory|selectattr('status', 'equalto', 'out')|list|length }}
Out of Stock
{{ inventory|length }}
Total Items
{% if current_restaurant %} {% endif %}
{% if request.args %} Clear Filters {% endif %}
{% for item in inventory %} {% endfor %}
Item Name Category Quantity Status Actions
{{ item.name }} {{ item.category }} {{ item.quantity }} {{ item.status }}
{% if not inventory %}
No inventory items found
{% endif %} {% else %}
You don't have access to any restaurant inventory. Please contact an administrator.
{% endif %}
{% for item in inventory %} {% endfor %} {% endblock %} {% block scripts %} {% endblock %}