{% extends "bids/base.html" %}{% block title %}{{ rfq.title }}{% endblock %} {% block content %}
    {% for name, done in steps %}
  1. {{ name }}
  2. {% endfor %}

Line items

{% if user.is_staff %}Edit RFQ settings{% endif %}
{% for i in items %} {% empty %}{% endfor %}
#DescriptionQtyUoMTargetLast paid
{{ i.line_no }}{{ i.description }}
{{ i.spec }}
{{ i.quantity|floatformat:"-2g" }}{{ i.uom }}{{ i.target_price|default_if_none:"-"|floatformat:"-2g" }}{{ i.last_price|default_if_none:"-"|floatformat:"-2g" }} {% if user.is_staff and not rfq.bids.exists %}
{% csrf_token %}
{% endif %}
No items yet.
{% if user.is_staff %}
{% csrf_token %}
{{ item_form.as_p }}
{% endif %}

Evaluation criteria

{% for c in criteria %} {% endfor %}
CriterionTypeWeightAssigned evaluators
{{ c.name }}{% if c.metric %}
{{ c.get_metric_display }}, {% if c.higher_is_better %}higher{% else %}lower{% endif %} is better
{% endif %}
{{ c.get_type_display }}{% if c.is_scored %}{{ c.weight|floatformat:"-1" }}%{% else %}gate{% endif %}{% for e in c.evaluators.all %}{{ e.username }}{% if not forloop.last %}, {% endif %}{% empty %}-{% endfor %} {% if user.is_staff %}
{% csrf_token %}
{% endif %}
Total scored weight{{ weight_total|floatformat:"-1" }}%must equal 100%
{% if user.is_staff %}
{% csrf_token %}
{{ crit_form.as_p }}
{% endif %}
{% if user.is_staff %}
{% if rfq.status == 'draft' %}
{% csrf_token %}
{% endif %} {% if rfq.status == 'published' %}
{% csrf_token %}
{% endif %} {% if rfq.status == 'closed' %}
{% csrf_token %}
{% endif %} Committee: {% for m in rfq.committee.all %}{{ m.username }}{% if not forloop.last %}, {% endif %}{% empty %}none{% endfor %} · Price method: {{ rfq.get_price_method_display }} · Cost of capital {{ rfq.cost_of_capital_pct }}% · Horizon {{ rfq.horizon_years }}y
{% endif %} {% endblock %}