{% extends "pos/base.html" %} {% load static %} {% block heading %}Compute Avg vs Business Worth — Item Comparison{% endblock heading %} {% block content %}
{% if is_master %}
{% endif %}
Note: Compute Avg Investment column FIFO remaining layers (sub_products_list) se aata hai — yeh hamesha current snapshot hai, is liye "As-of" date sirf Business Worth Investment column ko affect karti hai.
Total Compute Avg Investment
{{ totals.avg_investment }}
Total Business Worth Investment
{{ totals.worth_investment }}
Total Difference
{{ totals.difference }}
{% for r in rows %} {% endfor %}
Prod ID Code Name Company Category Compute Avg Investment Business Worth Investment Difference % Diff
{{ r.prod_id }} {{ r.product_code }} {{ r.name }} {{ r.prod_company }} {{ r.prod_category }} {{ r.avg_investment }} {{ r.worth_investment }} {{ r.difference }} {% if r.pct_diff is not None %}{{ r.pct_diff }}%{% else %}—{% endif %}
{% endblock %}