{% extends 'base.html' %} {% load static %} {% block content %}
Project Name | Component | Part No | Brand | Company | Quantity | Link | Date | Price | Currency | Photo | Actions |
---|---|---|---|---|---|---|---|---|---|---|---|
{{ p.project_name }} | {% if p.component %} {{ p.component.title }} {% else %} – {% endif %} | {{ p.part_no }} | {{ p.brand }} | {{ p.company.name|default:"–" }} | {% 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 %}
|
{% if p.order_status == 'request' %}
Offer
Order
Edit
{% elif p.order_status == 'offer' %}
Order
Quote Canceled
Edit
{% elif p.order_status == 'purchased_request' %}
Purchase
Cancel Request
Edit
{% elif p.order_status == 'order' %}
Edit
Purchase Canceled
{% elif p.order_status == 'purchased' %}
Purchased Canceled
Edit
{% endif %}
|