{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': 'Inventory', 'url': url_for('inventory.list_stock_items')}, {'text': 'Low Stock Alerts'} ] %} {{ page_header( icon_class='fas fa-exclamation-triangle', title_text='Low Stock Alerts', subtitle_text='Items below reorder point', breadcrumbs=breadcrumbs ) }}
{% if low_stock_items %} {% for alert in low_stock_items %} {% endfor %}
{{ _('Warehouse') }} {{ _('Item') }} {{ _('On Hand') }} {{ _('Reorder Point') }} {{ _('Shortfall') }} {{ _('Reorder Qty') }} {{ _('Actions') }}
{{ alert.warehouse.code }} - {{ alert.warehouse.name }} {{ alert.item.name }} ({{ alert.item.sku }}) {{ alert.quantity_on_hand }} {{ alert.reorder_point }} {{ alert.shortfall }} {{ alert.reorder_quantity or '—' }}
{% else %}
{{ _('No low stock alerts. All items are above reorder point.') }}
{% endif %}
{% endblock %}