{% extends 'base.html' %}{% block content %}
← Quotations
QUOTATION #{{ q.id }} · VERSION {{ q.version }}

{{ rfq.company_name }}

{{ q.service|title }} · {{ q.description }} · {{ q.status }}

Export PDF ↓{% if user.role in ['admin','sales'] and q.status not in ['Approved','Superseded'] %}Create Revision ↗{% endif %}

Commercial calculation

{% for item in items %}{% endfor %}
Approved productQuantityUnitAmount
{{ item.description }}{{ item.quantity }}{{ item.unit_price|currency }}{{ item.line_total|currency }}
Product value · {{ q.quantity }} × {{ q.unit_price|currency }}{{ q.product_value|currency }}
Commission {{ q.commission_rate }}%{{ q.commission_amount|currency }}
{% for name,val in [('Market visit fee',q.visit_fee),('Branding setup',q.branding_setup_fee),('Branding per-piece subtotal',q.branding_per_unit_fee * q.quantity),('Checking / handling',q.handling_fee),('Packing',q.packing_fee),('Freight',q.freight_fee),('Tax',q.tax_fee),('Other',q.other_fee)] %}
{{ name }}{{ val|currency }}
{% endfor %}
GRAND TOTAL{{ q.currency }} {{ q.total|currency }}

Approved quote revisions do not change earlier versions, which remain retrievable.

Buyer approval

Current status: {{ q.status }}

{% if q.status=='Draft' and user.role in ['admin','sales'] %}
{% elif q.status=='Sent' %}

Buyer may review and approve this exact version in their authorized company portal. Automatic email delivery is not configured.

{% elif q.status=='Approved' %}

Approved on {{ q.approved_at }}. Any commercial change requires a new quote version.

{% endif %}

Payment instructions

{% if q.service=='market' %}

First 50%: {{ (q.product_value|float * 0.5)|currency }} {{ q.currency }}, before sourcing.

Second 50% due at warehouse receipt. Outstanding service charges must be cleared before dispatch.

{% else %}

First milestone: {{ q.first_milestone|currency }} {{ q.currency }}

{{ q.payment_terms }}

{% endif %}

{{ q.terms }}

{% endblock %}