{% extends "base.html" %} {% load static %} {% block title %}Inventory Dashboard - {{ block.super }}{% endblock %} {% block content %}

Inventory Dashboard

{{ total_items }}

Total Items

{{ total_locations }}

Locations

{{ total_suppliers }}

Suppliers

ê{{ total_inventory_value|floatformat:'2g' }}

Total Value

Recent Purchase Orders

View All {# #} {# #} {# #}
{% if recent_orders %}
{% for order in recent_orders %} {% endfor %}
Order # Supplier Status Amount Date
{{ order.po_number }} {{ order.supplier.name }} {{ order.get_status_display }} ê{{ order.total_amount|floatformat:'2g' }} {{ order.order_date|date:" Y M d" }}
{% else %}
No recent orders

Create your first purchase order

Create Order
{% endif %}

Low Stock Alerts

View All {# #} {# #} {# #}
{% if low_stock_alerts %} {% for alert in low_stock_alerts %}
{{ alert.item.item_name }}
{{ alert.location.location_name }}
{{ alert.quantity }}
Min: {{ alert.minimum_stock_level }}
{% endfor %} {% else %}
All stock levels are good

No low stock alerts at this time

{% endif %}

Recent Stock Movements

{% if recent_stock_movements %}
{% for stock in recent_stock_movements %} {% endfor %}
Item Location Quantity Updated
{{ stock.inventory_item.item_name }} {{ stock.location.name }} {{ stock.quantity_available }} {{ stock.updated_at|date:"M d, H:i" }}
{% else %}
No recent movements

Stock movements will appear here

{% endif %}

Inventory by Category

{# #} {# #} {# #}

Stock Status Overview

{# #} {# #} {# #}
{% endblock %}