{% extends "base.html" %} {% block content %}

QUOTATION DETAILS

{{ boq.quotation_number }} - {{ boq.enquiry.enquiry_number }}

{{ boq.quotation_number }}
{{ boq.status }}
Customer

{{ boq.enquiry.customer.company_name }}

Enquiry

{{ boq.enquiry.enquiry_number }}

Currency

{{ boq.currency }}

Date

{{ boq.created_at.strftime('%d %b %Y') }}

BOQ Items
{% for item in boq.items %} {% endfor %}
# Description Qty Unit Rate Amount
{{ item.line_number }} {{ item.description }} {{ item.qty }} {{ item.unit or "-" }} {{ "%.2f"|format(item.rate) }} {{ "%.2f"|format(item.amount) }}
Engineer Justification

{{ boq.engineer_comments or "No justification provided." }}

Cost Summary
Materials {{ "%.2f"|format(boq.materials_total) }}
Labour {{ "%.2f"|format(boq.labour_total) }}
Consumables {{ "%.2f"|format(boq.consumables_total) }}
Equipment {{ "%.2f"|format(boq.equipment_total) }}
Other {{ "%.2f"|format(boq.other_total) }}
Subtotal {{ "%.2f"|format(boq.subtotal) }}
VAT ({{ boq.vat_percent }}%) {{ "%.2f"|format(boq.subtotal * boq.vat_percent / 100) }}
Grand Total {{ "%.2f"|format(boq.grand_total) }}
Update Status
{% if current_user.role == "Admin" %}
Reassign Quotation
Current: {{ boq.enquiry.assigned_to or "Unassigned" }}
{% endif %}
{% endblock %}