{% extends "portal/_layout.html" %} {% block title %}{{ r.number }}{% endblock %} {% block content %} {{ t('Requests for Quotation') }}

{{ r.number }} {% if r.sealed %}{{ icon('lock') }}{{ t('Sealed') }}{% endif %}

{% if result == 'awarded' %}
{{ icon('check') }}{{ t('This request was awarded to you. The purchase order will follow.') }}
{% elif result == 'not_awarded' %}
{{ icon('alert') }}{{ t('Thank you for your quotation. This request was awarded to another supplier.') }}
{% elif closed %}
{{ icon('clock') }}{{ t('This request is closed; quotations can no longer be changed.') }}
{% endif %} {% if r.sealed and open %}
{{ icon('lock') }}{{ t('Sealed bids: nobody — including our buyers — can see your prices before the closing time. Other suppliers never see them.') }}
{% endif %}
{{ t('Closes') }}
{{ r.closing_at.replace('T', ' ') if r.closing_at else '—' }}
{{ t('Quotation validity') }}
{{ (r.validity_days ~ ' ' ~ t('days')) if r.validity_days else '—' }}
{{ t('Payment terms') }}
{{ r.payment_terms or '—' }}
{{ t('Incoterms') }}
{{ r.incoterms or '—' }} {{ r.delivery_place or '' }}
{{ icon('file') }}PDF {% for f in files %}{{ icon('clip') }}{{ f.filename }}{% endfor %}

{{ t('Your quotation') }}{% if rv.received_at %} · {{ t('last sent') }} {{ rv.received_at[:16].replace('T', ' ') }}{% endif %}

{% for ln in lines %}{% set m = mine.get(ln.id) %} {% endfor %}
{{ t('Item') }}{{ t('Qty') }}{{ t('Unit price excl. VAT') }}{{ t('VAT') }}{{ t('Brand / model offered') }}{{ t('Alternative') }}
{{ ln.item_code or '' }} {{ ln.description or '' }}{% if ln.specification %}
{{ ln.specification }}{% endif %}{% if ln.manufacturer or ln.part_number %}
{{ ln.manufacturer or '' }} {{ ln.part_number or '' }}{% endif %}{% if ln.required_date %}
{{ t('Required by') }} {{ ln.required_date }}{% endif %}
{{ '%g' % ln.quantity }} {{ ln.uom or '' }} {% if ln.allow_alternative %}{% else %}—{% endif %}
{% if open %}
{% endif %}
{% if r.terms %}

{{ t('Terms & Conditions') }}

{{ r.terms }}
{% endif %} {% endblock %}