{% extends 'base.html' %} {% block content %}

Inventory Report

Total Purchased

{{ total_purchased_kg|kg }}

Total Sold

{{ total_sold_kg|kg }}

Total Waste

{{ total_waste_kg|kg }}

Available Inventory

{{ inventory_kg|kg }}

Inventory Calculation

Available Inventory = Total Purchased - Total Sold - Total Waste

{{ total_purchased_kg|kg }} - {{ total_sold_kg|kg }} - {{ total_waste_kg|kg }} = {{ inventory_kg|kg }}

{% endblock %}