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

Inventory Management

{{ inventory|selectattr('status', 'equalto', 'sufficient')|list|length }}
Sufficient Items
{{ inventory|selectattr('status', 'equalto', 'low')|list|length }}
Low Stock Items
{{ inventory|selectattr('status', 'equalto', 'out')|list|length }}
Out of Stock
{{ inventory|length }}
Total Items
{% 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 %}
{% for item in inventory %} {% endfor %} {% endblock %} {% block scripts %} {% endblock %}