{% extends 'base.html' %}{% block content %}
← RFQ #{{ rfq.id }}
{{ 'NEW VERSION' if original else 'NEW QUOTATION' }} · {{ rfq.service|upper }}

Build a quotation.

All monetary values are entered in one agreed currency. The system calculates commission and totals.

01 / PRODUCT LINES

Buyer-approved product value

{% if rfq.service=='market' %}{% if not visit or visit.status!='Completed' or not selections %}
Market quotation is blocked until a buyer-approved Bangladesh market visit is completed and buyer-selected supplier items are recorded. Record the visit and selection first →
{% else %}
Locked buyer-selected items:{% for it in selections %}
{{ it.product }} · {{ it.quantity }} × {{ it.unit_price|currency }} {{ it.currency }} ({{ it.supplier_ref }}){% endfor %}
Purchase value is derived from these saved selections. Changes require an explicit amendment, not a free-text quote change.
{% endif %}{% endif %}
{% if rfq.service=='manufacturing' %}{% else %}{% endif %}

For market sourcing, prices must reflect the exact buyer-selected and approved supplier/item list. This simplified builder supports one aggregated product line per quotation; use individual RFQs for separate items until multi-line expansion is approved.

02 / COMMERCIAL CHARGES

Itemised agreed costs

{% if rfq.service=='market' %}{% else %}{% endif %}{% for key,label in [('visit_fee','Market visit fee'),('branding_setup_fee','Branding setup fee'),('branding_per_unit_fee','Branding per-piece rate'),('handling_fee','Checking / handling'),('packing_fee','Packing'),('freight_fee','Freight'),('tax_fee','Applicable taxes'),('other_fee','Other agreed charges')] %}{% endfor %}
03 / APPROVAL & PAYMENT

Terms and milestones

{% if rfq.service=='manufacturing' %}{% else %}

Market sourcing: First 50% of approved product purchase value before procurement; remaining 50% due when goods reach the warehouse, paid in person. All separate charges cleared before shipment.

{% endif %}
{% endblock %}