{% extends "epic/base_layout.html" %} {% load humanize %} {% block buttons %} Up {% endblock buttons %} {% block content %} {{ block.super }}
Warehouse | {{ inventory.warehouse.name }} |
Inventory Date | {{ inventory.ts|date:"Y‑m‑d h:i A" }} |
{% if has_relative_deltas %}
Part # | Manufacturer Part # | New Qty | Old Qty | Qty Change | Value Change | {% for item in inventory_items %}
---|---|---|---|---|---|
{{ item.part.html_link|safe }} | {{ item.part.mfg }} {{ item.part.mfg_pn }} |
{% for qty_new in item.qty_new_list %}
{{ qty_new.0|intcomma }}
{% if item.qty_new_list|length > 1 or qty_new.1 != item.part %}
×{{ qty_new.1.html_link|safe }} {% endif %} {% endfor %} |
{% for qty_old in item.qty_old_list %}
{{ qty_old.0|intcomma }}
{% if item.qty_old_list|length > 1 or qty_old.1 != item.part %}
×{{ qty_old.1.html_link|safe }} {% endif %} {% endfor %} |
{% for qty_dif in item.qty_dif_list %}
{{ qty_dif.0|intcomma }}
{% if item.qty_dif_list|length > 1 or qty_dif.1 != item.part %}
×{{ qty_dif.1.html_link|safe }} {% endif %} {% endfor %} |
$ {{ item.value_diff|floatformat:2|intcomma }} |
Total Inventory Value Change | $ {{ total_value_change|floatformat:2|intcomma }} |