{% extends "epic/base_layout.html" %} {% load humanize %} {% block buttons %} Up {% endblock buttons %} {% block content %} {{ block.super }}
PO # | {{ order.id }} |
Vendor | {{ order.vendor.html_link|safe }} |
Idx | Qty | Part # | {% if order.src.is_vendor %}Vendor Part # | {% endif %}Manufacturer Part # | {% if order.src.is_vendor %}Price | Amount | {% endif %}
---|---|---|---|---|---|---|
{{ forloop.counter }} | {{ item.qty|intcomma }} | {{ item.part.html_link|safe }} | {% if order.src.is_vendor %}{{ item.vendor_part.html_link|safe }} | {% endif %}{{ item.part.mfg }} {{ item.part.mfg_pn }} | {% if order.src.is_vendor %}$ {{ item.vendor_part.price|floatformat:6|intcomma }} | $ {{ item.amount|floatformat:2|intcomma }} | {% endif %}
Date | Transaction | Assemblies on order | ||
---|---|---|---|---|
{{ entry.order.expected_arrival_date|date:"Y‑m‑d" }} | {% if entry.order.assembly_line_items %}Assembly Order {{ entry.order.html_link|safe }} |
{% for item in entry.items %}
{% if item.part.assembly_items %}
{{ item.qty_remaining_to_ship }}×
{{ item.part.html_link|safe }}
{% endif %}
{% endfor %}
|
{% for item in entry.items %}
{% if item.part.assembly_items %}
{{ item.part.mfg }} {{ item.part.mfg_pn }}
{% endif %}
{% endfor %}
|
{% else %}
Parts Order {{ entry.order.html_link|safe }} from {{ entry.order.vendor.name }} for ${{ entry.order.total_cost|floatformat:2|intcomma }} | {% endif %}
Part # | {% for name in warehouse_names %}{{ name }} | {% endfor %} {% for sts in comp_status %} |
---|---|---|
{{ sts.part.html_link|safe }} ({{ sts.part.overage|floatformat:1 }}% overage) | {% for w_sts in sts.warehouses %}{{ w_sts.qty_remaining|intcomma }} | {% for p in w_sts.qty_breakdown %} {% if forloop.first %}= {% else %}+ {% endif %} {{ p.qty|intcomma }}×{{ p.part.html_link|safe }} {% endfor %} | {% endfor %}