{% extends 'base.html' %} {% load kunj_filters %} {% block body %}
{% include 'navbar.html' %}
{% include 'header.html' %}

Stock Ledger — {{item.item_name}}

Current Quantity: {{item.current_quantity}} {{item.unit}} (Reorder level: {{item.reorder_level}})
{% for row in rows %} {% empty %} {% endfor %}
Date Type Quantity Vendor / Issued To Project Notes Balance
{{row.transaction.date|ddmmyyyy}} {% if row.transaction.transaction_type == 'In' %} In {% else %} Out {% endif %} {{row.transaction.quantity}} {{item.unit}} {% if row.transaction.vendor %}{{row.transaction.vendor.name}}{% elif row.transaction.issued_to %}{{row.transaction.issued_to.name}}{% else %}—{% endif %} {% if row.transaction.project %}{{row.transaction.project.project}}{% else %}—{% endif %} {{row.transaction.notes|default:"—"}} {{row.balance}} {{item.unit}}
No transactions recorded for this item yet.
{% for message in messages %} {% endfor %} {% endblock %}