{% extends 'base.html' %}{% block content %}
← All RFQs
RFQ-{{ '%05d'|format(rfq.id) }}

{{ rfq.company_name }}

{{ rfq.service|title }} · {{ rfq.division }} · {{ rfq.status }}

{% if user.role in ['admin','sales'] %}Create Quotation ↗{% endif %}

Buyer specifications

Contact
{{ rfq.contact_name }} · {{ rfq.email }}
Country / destination
{{ rfq.country }} → {{ rfq.destination }}
Product
{{ rfq.product }}
Quantity
{{ rfq.quantity }} pieces
Specifications
{{ rfq.specifications or 'Not supplied' }}
Branding enquiry
{{ rfq.branding or 'None' }}
Target budget
{{ rfq.budget or 'Not provided' }}
Bangladesh market visit
{{ rfq.visit_window or 'Not provided' }}
Notes
{{ rfq.notes or 'None' }}

Workflow status

{% if user.role in ['admin','sales'] %}
{% else %}

{{ rfq.status }}

{% endif %}

Uploaded files

{% for doc in docs %}

{{ doc.filename }} ({{ doc.visibility }})

{% else %}

No attachments.

{% endfor %}
{% if rfq.service=='market' %}

Bangladesh market visit

{% if visit %}

Status: {{ visit.status }}
Visit: {{ visit.proposed_date }} · {{ visit.market_location }}
Actual-cost fee: {{ visit.currency }} {{ visit.fee_amount|currency }}

Basis: {{ visit.fee_basis }}

{% if visit.status=='Buyer Approved' and user.role in ['admin','sourcing'] %}
{% endif %}{% elif user.role in ['admin','sales','sourcing'] %}
{% else %}

No visit proposed.

{% endif %}

Buyer-selected market items

{% for it in selections %}

{{ it.product }} · {{ it.quantity }} × {{ it.currency }} {{ it.unit_price|currency }}
Supplier reference: {{ it.supplier_ref }}

{% else %}

No market selections recorded.

{% endfor %}{% if visit and visit.status=='Completed' and not quotes and user.role in ['admin','sourcing'] %}
{% endif %}
{% endif %}

Quotation history

{% for q in quotes %}

Quote #{{ q.id }} · v{{ q.version }} — {{ q.status }}

{% else %}

No quotations yet.

{% endfor %}
{% endblock %}