{% extends "base.html" %} {% block content %}
{{ project.work_order_ref or "-" }}| Assigned To | {% if project.assigned_to %} {{ project.assigned_to }} {% else %} Unassigned {% endif %} |
|---|---|
| Assigned By | {{ project.assigned_by or "-" }} |
| Quotation Reference |
{% if project.boq_id %}
{{ project.boq.quotation_number }}
{% else %}
-
{% endif %}
|
| Enquiry Reference |
{% if project.enquiry_id %}
{{ project.enquiry.enquiry_number }}
{% else %}
-
{% endif %}
|
| Quantities Ordered | {% if project.boq and project.boq.items %} {{ project.boq.items|sum(attribute='qty')|round(2) }} {% else %} 0 {% endif %} |
{{ project.remarks }}
No remarks yet.
{% endif %}| Start Date | {{ project.start_date.strftime('%d %b %Y') if project.start_date else "Not set" }} |
|---|---|
| Expected End | {{ project.expected_end_date.strftime('%d %b %Y') if project.expected_end_date else "Not set" }} |
| Days Planned | {{ timeline.days_planned|default(0) }} days |
| Days Elapsed | {{ timeline.days_elapsed|default(0) }} days |
| Days Remaining | {{ timeline.days_remaining|default(0) }} days |
| Status | {{ timeline.status }} |
| Material | Qty | Unit | Total |
|---|---|---|---|
| {{ item.description|truncate(30) }} | {{ item.quantity }} | {{ item.unit }} | {{ "%.2f"|format(item.total) }} |
| Total Materials Cost | {{ "%.2f"|format(materials.total_materials_cost) }} | ||
| Total Quantity | {{ materials.total_quantity|round(2) }} | ||
No materials linked to this project
{% endif %}| Budget | {{ "%.2f"|format(financials.budget|default(0)) }} |
|---|---|
| BOQ Total | {{ "%.2f"|format(financials.boq_total|default(0)) }} |
| Actual Cost | {{ "%.2f"|format(financials.actual_cost|default(0)) }} |
| Variance | {{ "%.2f"|format(financials.variance|default(0)) }} |
| Variance % | {{ financials.variance_percentage|default(0)|round(1) }}% |
| Status | {{ financials.status }} |