{% extends 'base.html' %} {% load static %} {% block content %}
{% for p in products %} {% endfor %}
Project Name Component Part No Brand Quantity Link Date Price Currency Photo Actions
{{ p.project_name }} {% if p.component %} {{ p.component.title }} {% else %} – {% endif %} {{ p.part_no }} {{ p.brand }} {% if p.order_status != 'request' %} {{ p.product_quantity }} {% else %} – {% endif %} {{ p.product_link }} {{ p.product_date }} {% if p.order_status != 'request' %} {{ p.product_price|default:"–" }} {% else %} – {% endif %} {% if p.order_status != 'request' %} {{ p.get_currency_display|default:"–" }} {% else %} – {% endif %} {% if p.product_photo %} Photo {% else %} – {% endif %}
{% if p.order_status == 'request' %} Offer Order {% elif p.order_status == 'offer' %} Order {% elif p.order_status == 'order' %} {% endif %} {% if p.order_status == 'request' %} Edit {% elif p.order_status == 'offer' %} Edit Quote Canceled {% elif p.order_status == 'order' %} Purchase Canceled {% endif %}
{% include 'partials/_messages.html' %}
{% endblock %}