{% extends "epic/base_layout.html" %} {% load crispy_forms_tags %} {% load humanize %} {% load static %} {% block extrahead %} {{ block.super }} {% endblock extrahead %} {% block buttons %} Up {% endblock buttons %} {% block content %} {{ block.super }}
{% csrf_token %}
 

{{ title }}

{% for item in stock %} {% empty %} {% endfor %}
IdxQtyPart #Manufacturer Part # CostAmount
{{ forloop.counter }} {{ item.total_qty|intcomma }} {% for part, qty in item.part_list %} {% if forloop.first %}{% else %}
{% endif %} {{ part.html_link|safe }}{% if item.part_list|length > 1 %}×{{ qty|intcomma }}{% endif %} {% endfor %}
{% for part, qty in item.part_list %} {% if forloop.first %}{% else %}
{% endif %} {{ part.mfg }} {{ part.mfg_pn }} {% endfor %}
$ {{ item.price|floatformat:6|intcomma }} $ {{ item.amount|floatformat:2|intcomma }}
—None—
Total $ {{ stock_total|floatformat:2|intcomma }}
{% endblock content %}